mops_wallet_core 0.0.2 copy "mops_wallet_core: ^0.0.2" to clipboard
mops_wallet_core: ^0.0.2 copied to clipboard

Create Wallet for BTC,LTC,Dogecoin,ETC,ETH,BSC,POLYGON And more will coming....

example/example.md

Example Usage for Creating Wallet

createWallet(String name) async {
  final walletManager = WalletManager();
  final walletCreate = WalletCreate();
  String mne = walletManager.generateMnemonic();
  bool success = walletManager.validateMnemonic(mne);
  if (!success) {
    debugPrint('Your Mnemonic is not valid');
  }
  Wallets wallet = await walletCreate.createWallet(name, mne);
  return wallet;
}

Example Usage for Importing Wallet

createWallet(String name,String mne) async {
  final walletManager = WalletManager();
  final walletCreate = WalletCreate();
  bool success = walletManager.validateMnemonic(mne);
  if (!success) {
    debugPrint('Your Mnemonic is not valid');
  }
  Wallets wallet = await walletCreate.createWallet(name, mne);
  return wallet;
}
1
likes
120
pub points
0%
popularity

Publisher

verified publishermopswalletcore.site

Create Wallet for BTC,LTC,Dogecoin,ETC,ETH,BSC,POLYGON And more will coming....

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bip32, bip39, coinslib, dart_bip32_bip44, ed25519_hd_key, eip55, flutter, hex, path, sqflite, web3dart

More

Packages that depend on mops_wallet_core