xrpl-go
Installation
SKILL.md
xrpl-go
Each rule under rules/ is self-contained: a short prose summary of the failure mode and the idiomatic fix, with links to the relevant package source under Peersyst/xrpl-go and a runnable example under examples/. Use the index below to jump to the rule that fits the task.
This skill is not an API reference. For exhaustive type signatures, see pkg.go.dev/github.com/Peersyst/xrpl-go. For XLS protocol specs, use the companion xrpl-standards skill — when work touches AMM, MPT, NFToken, Credentials, Batch, etc., load both skills.
Read first: Security
These four rules are non-negotiable. Funds have been lost over every one of them.
security-partial-payment— always creditmeta.DeliveredAmount, never the transactionAmounton incoming payments. Partial-payment inflation is the canonical XRPL exchange exploit.security-validate-meta— a preliminarytesSUCCESSfromSubmitTxBlobdoes not mean the tx was applied. Wait forValidated == trueon theTxResponse.security-lastledgersequence— never skipclient.Autofill(&flatTx)before signing. Autofill is what setsLastLedgerSequence,Sequence,Fee, andNetworkID.security-validate-destination-tag— check the destination'sLsfRequireDestTagflag before sending; xrpl-go does not.
What to read when
Map the user's task to the rules to consult before writing code.