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

Mops Wallet Core for Flutter.



Features #

Create Wallet for BTC,LTC,ETC,ETH,BSC,POLYGON,AION,POA,THETA,VET,CALLISTO(CLO),TOMO,THUNDER TOKEN,GO CHAIN,WAN CHAIN,VIACOIN,GRS,DIGIBYTE And more will coming...

Getting started #

To use the package

Add the package to your project

  dependencies:
    flutter:
        sdk: flutter
    mops_wallet_core: ^0.0.1
And you can use the package by adding the following line
import 'package:mops_wallet_core/mops_wallet_core.dart';

Usage #

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;
}

Additional information #