Loading...
Loading...
Apply opinionated rules and security patterns to JavaScript and TypeScript code that uses the xrpl.js client library to interact with the XRP Ledger. Use when users want to write a new XRPL integration with xrpl.js, review or refactor existing xrpl.js code, sign or submit a transaction, construct or credit a payment, work with issued currencies, AMM, NFToken, escrow, or payment channels, query account or ledger state, or audit an XRPL integration for security issues like partial-payment inflation, missing LastLedgerSequence, missing DestinationTag, or unsafe key management.
npx skill4agent add peersyst/xrplskills xrplrules/xrpl-standardssecurity-partial-paymentdelivered_amountAmountsecurity-validate-metatesSUCCESSsecurity-lastledgersequenceLastLedgerSequencesecurity-validate-destination-tagrequireDestTag| User's task or phrase | Read these rules |
|---|---|
| "Credit an incoming payment", "deposit handler", "watch for payments" | |
| "Sign and submit", "send a transaction", "send XRP" | |
| "Set up an exchange deposit address", "custodial account" | |
| "Generate a wallet", "key management" | |
| "Connect to rippled", "websocket", "reconnect" | |
| "Balance math", "convert XRP / drops", "IOU value" | |
| "Retry a failed tx", "tec error" | |
| "List trust lines / NFTs / offers", "account_lines", "account_objects" | |
| "Audit our XRPL integration" | Read all |
CRITICALHIGHMEDIUMsecurity-partial-paymentCRITICALdelivered_amountAmountsecurity-validate-metaCRITICALvalidated: truesecurity-lastledgersequenceCRITICALLastLedgerSequencesecurity-validate-destination-tagCRITICALrequireDestTagamountsCRITICALBigIntbignumber.jsnumberclientHIGHClientwss://https://wallet-secure-entropyCRITICALWallet.generate()wallet-prefer-ed25519MEDIUMwallet-regular-key-for-hot-walletsHIGHSetRegularKeytx-autofill-before-signHIGHclient.autofill(tx)tx-submitandwaitHIGHsubmitAndWaitsubmittx-handle-tec-codesHIGHtec*tem*tef*ter*tx-idempotent-retryHIGHSequenceTicketread-pagination-markerMEDIUMmarker| Task | Sample |
|---|---|
| Construct and send an XRP payment | |
| Add a memo to a payment | |
| Handle a partial payment safely | |
| Watch an account for incoming payments | |
| Submit a transaction with finality and retries | |
Pre-flight a destination's | |
Walk paginated | |
| Configure regular keys / disable master | |
| Sign offline / multisign | |
Use | |
| Issued currencies / IOUs | |
| AMM | |
| NFToken | |
| MPT (Multi-Purpose Tokens) | |
| Escrow, Checks, Payment Channels | |
| Credentials, DID | |
| Getting started from zero | |
Read <skill-dir>/rules/<rule-name>.md<skill-dir>~/.claude/skills/xrpl/.claude/skills/xrpl//mnt/skills/user/xrpl/titleimpacttagsxrpl_js_sourceupstream_docscode_samplexrpl-standardsxrpl-standards