diff --git a/01-wallet/test/npmton/step7.ts b/01-wallet/test/npmton/step7.ts index 0cd05e4..293f638 100644 --- a/01-wallet/test/npmton/step7.ts +++ b/01-wallet/test/npmton/step7.ts @@ -6,8 +6,11 @@ import { WalletContractV4 } from "@ton/ton"; async function main() { // open wallet v4 (notice the correct wallet version here) - const mnemonic = process.env.MNEMONIC;; // your 24 secret words (replace ... with the rest of the words) + const mnemonic = process.env.MNEMONIC; // your 24 secret words (replace ... with the rest of the words) + console.log('mnemonic is - ', mnemonic); + const key = await mnemonicToWalletKey(mnemonic!.split(" ")); + console.log('key is - ', key); const wallet = WalletContractV4.create({ publicKey: key.publicKey, workchain: 0 }); // print wallet address