Xrpl Tx Builder
Skill by harleyscodes
Why use this skill?
Efficiently build, sign, and submit XRPL transactions with this OpenClaw skill. Supports XRP payments, NFT minting, and account settings.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/harleyscodes/xrpl-tx-builderWhat This Skill Does
The XRPL Tx Builder skill, developed by harleyscodes, is a specialized OpenClaw agent capability designed to facilitate the programmatic construction, signing, and submission of transactions on the XRP Ledger (XRPL). It abstracts the complexities of the xrpl.js library, allowing users to generate transaction objects for various ledger interactions including standard payments, NFT minting, and account setting modifications. The skill provides a structured interface to define transaction parameters like source accounts, destinations, amounts in drops, and specific flags, ensuring that the generated objects adhere to the technical specifications required by the XRPL protocol. By integrating this skill, your OpenClaw agent gains the capability to act as a bridge between high-level user intent and the low-level binary data required by ledger nodes, effectively managing the full lifecycle of a transaction from initialization to submission.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface as follows:
clawhub install openclaw/skills/skills/harleyscodes/xrpl-tx-builder
Ensure your local environment has the necessary Node.js dependencies installed by running npm install xrpl in your project folder. This ensures the underlying library is ready to handle the heavy lifting of signing and network communication.
Use Cases
- Automating routine XRP payments between accounts for micro-transactions or batch processing.
- Minting NFT assets on the XRP Ledger, including configuring royalties via TransferFee and burnability via Flags.
- Updating account-level properties such as Domain metadata or EmailHashes for identity verification.
- Building custom workflows that require multi-step transaction preparation before hand-off to mobile wallets like Xaman for secure offline signing.
Example Prompts
- "Build a payment transaction object for me: send 5 XRP from my address rLh... to rDestinationAddress, including a destination tag of 888."
- "Construct an NFTokenMint transaction for an asset with URI ipfs://Qm... that is burnable and has a 2% royalty fee."
- "Help me draft a SetAccountRoot transaction to set my domain to my-ledger-identity.com for the account address rAccountAddress."
Tips & Limitations
When working with the XRPL, remember that amounts are denominated in 'drops', where 1 XRP equals 1,000,000 drops; failing to account for this will result in extremely small transfers. Always verify your transaction blob before submission. Note that this skill requires an external signing step—typically via the Xaman wallet—to maintain high security for private keys, as the agent itself should not handle raw private keys. Use reliable public RPC endpoints like wss://xrplcluster.com or wss://s1.ripple.com to ensure high uptime for your transaction submissions. Monitor the transaction result (meta fields) closely after submission to confirm the ledger successfully processed your request.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-harleyscodes-xrpl-tx-builder": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api