Overview
- Skill Key
- harleyscodes/xrpl-token-mint
- Author
- harleyscodes
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/harleyscodes/xrpl-token-mint
- Latest Commit SHA
- 9ddae0a776ab78a2c8920e9583e31ce11e3b4a83
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Xrpl Token Mint 技能。 若已安装,则直接安装 Xrpl Token Mint 技能。
# XRPL Token Minting
## Setup
```bash
npm install xrpl
```
## ISSUED CURRENCY (Fungible Token)
### Step 1: Create Trust Line (User)
```typescript
{
TransactionType: 'TrustSet',
Account: 'rUserAddress',
LimitAmount: {
currency: 'USD',
issuer: 'rIssuerAddress',
value: '1000000'
}
}
```
### Step 2: Issue Token (Issuer)
```typescript
{
TransactionType: 'Payment',
Account: 'rIssuerAddress',
Destination: 'rUserAddress',
Amount: {
currency: 'USD',
issuer: 'rIssuerAddress',
value: '1000'
}
}
```
## NFT (Non-Fungible Token)
### Mint NFT
```typescript
{
TransactionType: 'NFTokenMint',
Account: 'rCreatorAddress',
NFTokenTaxon: 0, // Collection ID
Issuer: 'rCreatorAddress', // or different issuer
TransferFee: 2500, // 2.5% royalty on secondary sales
Flags: {
tfBurnable: true,
tfOnlyXRP: false,
tfTrustLine: false
},
URI: 'ipfs://Qm...' // Metadata URL
}
```
### Create Offer (Sell)
```typescript
{
TransactionType: 'NFTokenCreateOffer',
Account: 'rSellerAddress',
NFTokenID: '00080000...',
Amount: '1000000', // 1 XRP
Flags: tfSellNFToken
}
```
### Accept Offer (Buy)
```typescript
{
TransactionType: 'NFTokenAcceptOffer',
Account: 'rBuyerAddress',
NFTokenOfferID: 'offerID...'
}
```
## Flags
- **tfBurnable**: Issuer can burn tokens
- **tfOnlyXRP**: Token cannot be transferred for IOUs
- **tfTransferable**: Token can be transferred
- **tfSellNFToken**: Create offer is a sell offer
## Key Points
- Token name: 3-character code (e.g., "USD") or full 40-char hex
- Precision: Up to 16 decimal places
- TransferFee: 0-50000 (0-50%)
- NFT Taxon: User-defined collection ID
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.