3.1.0 • Published 3 years ago
ton-contracts v3.1.0
TON contracts
Collection of tested smart contracts for TON blockchain that is compatible with ton js library.
Available contracts
- 🚀 Whitelisted Wallet - wallet that by default could send value only to specific address and master key that can send value anywhere.
Install
yarn add ton-contracts
Usage
const client = new TonClient({ endpoint: 'https://testnet.toncenter.com/api/v2/jsonRPC' });
const wallet = await client.openWalletFromCustomContract(WhitelistedWalletSource.create({
masterKey: masterKey.publicKey,
restrictedKey: restrictedKey.publicKey,
whitelistedAddress: whitelistedWallet.wallet.address,
workchain: 0
}));
// Use wallet as normal wallet
License
MIT
3.1.0
3 years ago
3.0.0
3 years ago
2.3.0
3 years ago
2.2.0
4 years ago
2.3.2
3 years ago
2.3.1
3 years ago
2.1.0
4 years ago
2.0.1
4 years ago
1.13.2
4 years ago
1.13.1
4 years ago
1.13.0
4 years ago
1.12.0
4 years ago
2.0.0
4 years ago
1.11.4
4 years ago
1.11.3
4 years ago
1.11.2
4 years ago
1.11.1
4 years ago
1.9.0
4 years ago
1.8.0
4 years ago
1.7.0
4 years ago
1.11.0
4 years ago
1.10.0
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago