Interact with xrp blockchain with flutter

Features

  • get xrp address from mnemonic
  • get xrp address balance
  • validate xrp address

Getting started

flutter pub add xrp

Usage

const mnemonic =
        'express crane road good warm suggest genre organ cradle tuition strike manual';
Map xrpDetails = XRP.fromMnemonic(mnemonic);
final xrpAddress = xrpDetails['address'];
final xrpPrivateKey = xrpDetails['privateKey'];


bool isValidXRPAddress =
        XRP.isValidAddress('rQfZM9WRQJmTJeGroRC9pSyEC3jYeXKfuL');

int getDrops =
        await XRP.getBalance('rQfZM9WRQJmTJeGroRC9pSyEC3jYeXKfuL');

Additional information

You could find more information Davyking

Libraries

xrp