We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no this versions of wallet
The text was updated successfully, but these errors were encountered:
Many
Sorry, something went wrong.
Money 💰
You can find the codes for the wallets here.
import { internal, SendMode, TonClient, WalletContractV3R2, WalletContractV4, WalletContractV5R1, OpenedContract } from '@ton/ton'; // v4r2 wallet async function walletV4R2(keyPair: KeyPair) { const workchain = 0; // Usually you need a workchain 0 // Create wallet contract const wallet = WalletContractV4.create({ workchain, publicKey: keyPair.publicKey }); const contract = client.open(wallet); return contract; } // v5r1 wallet async function walletV5R1(keyPair: KeyPair) { // Create wallet contract const wallet = WalletContractV5R1.create({ publicKey: keyPair.publicKey }); return client.open(wallet); }
No branches or pull requests
There is no this versions of wallet
The text was updated successfully, but these errors were encountered: