lj_web3_tron_sdk 1.0.0 copy "lj_web3_tron_sdk: ^1.0.0" to clipboard
lj_web3_tron_sdk: ^1.0.0 copied to clipboard

SDK can create ETH 、BSC chain and coins.

example #

lj_web3_tron_sdk support dapp load

Getting Started #

lj_web3_tron_sdk: ^1.0.0

Usage #

引入方式

import 'package:lj_web3_tron_sdk/lj_web3_tron_sdk.dart';
import 'package:lj_web3_tron_sdk/src/models/chain_model.dart';

web3_dapp_browser 具体实现

声明

// 钱包
  Web3Model token = Web3Model();

  // 代币
  ChainModel chain = ChainModel();

创建助记词


Web3TronSDK.generateMnemonic();

创建区块链钱包


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

获取对应链的对象


await Web3TronSDK.getChainModel(ChainTypes.eth);

Additional information #

初始效果

创建效果

1
likes
130
points
76
downloads

Publisher

unverified uploader

Weekly Downloads

SDK can create ETH 、BSC chain and coins.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bip32, bip39, cached_network_image, dio, flutter, web3dart, webview_flutter

More

Packages that depend on lj_web3_tron_sdk