axentro 0.0.2
axentro: ^0.0.2 copied to clipboard

Axentro flutter crypto package

Axentro Crypto for Flutter #

A Flutter plugin for iOS and Android providing the base crypto functions for the Axentro blockchain platform.

Features #

  • generateKeyPair
  • generateNewWallet
  • generateWif
  • generateAddress
  • getWalletFromWif
  • getFullWalletFromWif
  • encryptWallet
  • decryptWallet

Hd Wallets

  • generateNewHdWallet
  • generateNewEncyrptedHdWallet
  • encryptHdWallet
  • decryptHdWallet
  • recoverHdWalletFromMnemonic

Installation #

Add the dependency to your pubspec.yaml

dependencies:
  axentro: ^0.0.1

Example #

import 'package:axentro/network.dart';
import 'package:axentro/wallet_factory.dart';

 var hdWallet = await walletFactory.generateNewHdWallet(Network.testnet);