Skip to content

Commit

Permalink
chore: build script
Browse files Browse the repository at this point in the history
  • Loading branch information
siandreev committed Nov 20, 2023
1 parent b882bf7 commit 88ba4f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/printWalletCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { compile } from '@ton-community/blueprint';
import { LibraryDeployer } from '../wrappers/library-deployer';

export async function run() {
const code = LibraryDeployer.exportLibCode(await compile('wallet_v5'));
const walletCode = await compile('wallet_v5');
const code = LibraryDeployer.exportLibCode(walletCode);

console.log('WALLET CODE HEX', code.toBoc().toString('hex'), '\n');
console.log('WALLET CODE BASE64', code.toBoc().toString('base64'));
console.log('WALLET CODE BASE64', code.toBoc().toString('base64'), '\n');
console.log('WALLET FULL CODE BASE64', walletCode.toBoc().toString('base64'));
}

run();

0 comments on commit 88ba4f6

Please sign in to comment.