Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all imports and variables #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/deployLibrary.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
6 changes: 3 additions & 3 deletions scripts/deployWalletV5.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions scripts/deployWalletV5WithoutLibrary.ts
Original file line number Diff line number Diff line change
@@ -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) {
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion scripts/printWalletCode.ts
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down