diff --git a/scripts/printWalletCode.ts b/scripts/printWalletCode.ts index ae953378..e7e3f507 100644 --- a/scripts/printWalletCode.ts +++ b/scripts/printWalletCode.ts @@ -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();