From 88ba4f6bd54aca2413974039f75123be4a190961 Mon Sep 17 00:00:00 2001 From: siandreev Date: Mon, 20 Nov 2023 13:53:48 +0100 Subject: [PATCH] chore: build script --- scripts/printWalletCode.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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();