node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

xrp-app-lib

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