xrp-app-lib

A small javascript library for creating XRP-based wallets

Usage no npm install needed!

<script type="module">
  import xrpAppLib from 'https://cdn.skypack.dev/xrp-app-lib';
</script>

README

XRP App Lib

A small javascript library for creating XRP-based wallets

CircleCI

Installation

npm install --save xrp-app-lib

Usage

Wallet createWallet()

Wallet importWalletFromSecret(PrivateKey)

Account importAccountFromAddress(PublicKey)

Promise<Decimal> updateBalance(Account)
Promise<Decimal> updateBalance(Wallet)

Promise<Payment> sendPayment({
  to: Account,
  from: Wallet,
  amount: Decimal
})