lj_web3_tron_sdk

Last updated:

0 purchases

lj_web3_tron_sdk Image
lj_web3_tron_sdk Images
Add to Cart

Description:

lj web3 tron sdk

example #
lj_web3_tron_sdk support ETH、BSC、TRX chains
Getting Started #
lj_web3_tron_sdk: ^1.0.1
copied to clipboard
Usage #
引入方式
import 'package:lj_web3_tron_sdk/lj_web3_tron_sdk.dart';
import 'package:lj_web3_tron_sdk/src/models/chain_model.dart';
copied to clipboard
web3_dapp_browser 具体实现
声明
// 钱包
Web3Model token = Web3Model();

// 代币
ChainModel chain = ChainModel();

copied to clipboard
创建助记词

Web3TronSDK.generateMnemonic();

copied to clipboard
创建区块链钱包

Web3TronSDK.getToken(token.mnemonic, type: ChainTypes.eth);

copied to clipboard
获取对应链的对象

await Web3TronSDK.getChainModel(ChainTypes.eth);

copied to clipboard
Additional information #
初始效果







创建效果

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.