XRPL Check transaction utilities for creating, retrieving, and cashing checks on the XRP Ledger.
A Node.js utility library implementing the XRPL Check payment mechanism — asynchronous, trustless payments similar to traditional checks on the XRP Ledger.
| Function | Description |
|---|---|
createCheck() |
Create a check transaction promising XRP to a recipient |
getChecks() |
Query pending checks for an account via account_objects |
cashCheck() |
Recipient claims/deposits a check by its CheckID |
- Runtime: Node.js
- Library: xrpl.js v2.14
- Network: XRPL Testnet (
wss://testnet.xrpl-labs.com)
cd scripts
npm installEdit lib/checks.js to uncomment the function you want to run, then:
node lib/checks.jsscripts/
lib/
checks.js # Check transaction utilities (create, get, cash)
package.json
MIT License - see LICENSE for details.