跳到正文
TakoAPI
返回技能列表

xrpl-tx-builder

由 harleyscodes 提供

Health & Fitness
428下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Build and sign XRP Ledger transactions.

描述

该技能的功能

Builds and signs XRP Ledger transactions using the xrpl JavaScript library. Supports payments, NFT minting and burning, and account configuration. Integrates with Xaman wallet for transaction signing before submission.

Provides ready-to-use TypeScript transaction templates for all major XRPL transaction types, avoiding the need to manually read through the full XRPL protocol docs.

何时使用

  • Send XRP payments with destination tags
  • Mint NFTs on the XRP Ledger with royalty fees
  • Burn or transfer existing NFTokens
  • Set account metadata like domain or email hash
  • Submit Xaman-signed transaction blobs to XRPL

示例工作流

输入

User asks: mint an NFT with a 5% royalty on XRPL

智能体
  1. 1

    Connect to XRPL via wss://xrplcluster.com

  2. 2

    Build an NFTokenMint transaction with NFTokenTaxon, TransferFee set to 5000, and the IPFS URI

  3. 3

    Pass the transaction to Xaman for user signing

  4. 4

    Receive the signed transaction blob from Xaman

  5. 5

    Submit the blob using client.submit()

输出

Transaction result with XRPL ledger confirmation

前置要求

  • Xaman wallet account for transaction signing

安装

clawhub install harleyscodes/xrpl-tx-builder

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接