Search

PythonReactSEOPDF
OpenClaw

Xrpl Token Mint

XRPL Token Minting

harleyscodes0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install harleyscodes/xrpl-token-mint

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

XRPL Token Minting

Setup

npm install xrpl

ISSUED CURRENCY (Fungible Token)

Step 1: Create Trust Line (User)
{
  TransactionType: 'TrustSet',
  Account: 'rUserAddress',
  LimitAmount: {
    currency: 'USD',
    issuer: 'rIssuerAddress',
    value: '1000000'
  }
}
Step 2: Issue Token (Issuer)
{
  TransactionType: 'Payment',
  Account: 'rIssuerAddress',
  Destination: 'rUserAddress',
  Amount: {
    currency: 'USD',
    issuer: 'rIssuerAddress',
    value: '1000'
  }
}

NFT (Non-Fungible Token)

Mint NFT
{
  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)
{
  TransactionType: 'NFTokenCreateOffer',
  Account: 'rSellerAddress',
  NFTokenID: '00080000...',
  Amount: '1000000', // 1 XRP
  Flags: tfSellNFToken
}
Accept Offer (Buy)
{
  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

Source information

Source
github
Repository
openclaw/skills
Path
skills/harleyscodes/xrpl-token-mint
Version
—
Commit
9ddae0a776ab78a2c8920e9583e31ce11e3b4a83
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.