From 390fb8e6a10eec4893699a7acb1ca79327a3dec3 Mon Sep 17 00:00:00 2001 From: attikusfinch Date: Fri, 20 Sep 2024 21:34:04 +0500 Subject: [PATCH] Fix all imports and variables --- scripts/deployLibrary.ts | 4 ++-- scripts/deployWalletV5.ts | 6 +++--- scripts/deployWalletV5WithoutLibrary.ts | 5 +++-- scripts/printWalletCode.ts | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/deployLibrary.ts b/scripts/deployLibrary.ts index 171241b..7412a5b 100644 --- a/scripts/deployLibrary.ts +++ b/scripts/deployLibrary.ts @@ -1,5 +1,5 @@ -import { toNano } from 'ton-core'; -import { compile, NetworkProvider } from '@ton-community/blueprint'; +import { toNano } from '@ton/core'; +import { compile, NetworkProvider } from '@ton/blueprint'; import 'dotenv/config'; import { LibraryDeployer } from '../wrappers/library-deployer'; diff --git a/scripts/deployWalletV5.ts b/scripts/deployWalletV5.ts index ce66fbb..1fe124d 100644 --- a/scripts/deployWalletV5.ts +++ b/scripts/deployWalletV5.ts @@ -1,6 +1,6 @@ -import { Dictionary, toNano } from 'ton-core'; +import { Dictionary, toNano } from '@ton/core'; import { WalletId, WalletV5 } from '../wrappers/wallet-v5'; -import { compile, NetworkProvider } from '@ton-community/blueprint'; +import { compile, NetworkProvider } from '@ton/blueprint'; import { LibraryDeployer } from '../wrappers/library-deployer'; import { getSecureRandomBytes, keyPairFromSeed } from 'ton-crypto'; @@ -15,7 +15,7 @@ export async function run(provider: NetworkProvider) { const walletV5 = provider.open( WalletV5.createFromConfig( { - signature_auth_disabled: false, + signatureAllowed: false, seqno: 0, walletId: new WalletId({ networkGlobalId: -3 }).serialized, // testnet publicKey: keypair.publicKey, diff --git a/scripts/deployWalletV5WithoutLibrary.ts b/scripts/deployWalletV5WithoutLibrary.ts index e43e699..0290d37 100644 --- a/scripts/deployWalletV5WithoutLibrary.ts +++ b/scripts/deployWalletV5WithoutLibrary.ts @@ -1,6 +1,6 @@ -import { Dictionary, toNano } from 'ton-core'; +import { Dictionary, toNano } from '@ton/core'; import { WalletId, WalletV5 } from '../wrappers/wallet-v5'; -import { compile, NetworkProvider } from '@ton-community/blueprint'; +import { compile, NetworkProvider } from '@ton/blueprint'; import { getSecureRandomBytes, keyPairFromSeed } from 'ton-crypto'; export async function run(provider: NetworkProvider) { @@ -11,6 +11,7 @@ export async function run(provider: NetworkProvider) { const walletV5 = provider.open( WalletV5.createFromConfig( { + signatureAllowed: false, seqno: 0, walletId: new WalletId({ networkGlobalId: -3 }).serialized, // testnet publicKey: keypair.publicKey, diff --git a/scripts/printWalletCode.ts b/scripts/printWalletCode.ts index e7e3f50..f2fb90b 100644 --- a/scripts/printWalletCode.ts +++ b/scripts/printWalletCode.ts @@ -1,4 +1,4 @@ -import { compile } from '@ton-community/blueprint'; +import { compile } from '@ton/blueprint'; import { LibraryDeployer } from '../wrappers/library-deployer'; export async function run() {