OpenClaw
10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
☆ 0查看技能
XRPL Token Minting
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install harleyscodes/xrpl-token-mint打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
npm install xrpl
{
TransactionType: 'TrustSet',
Account: 'rUserAddress',
LimitAmount: {
currency: 'USD',
issuer: 'rIssuerAddress',
value: '1000000'
}
}
{
TransactionType: 'Payment',
Account: 'rIssuerAddress',
Destination: 'rUserAddress',
Amount: {
currency: 'USD',
issuer: 'rIssuerAddress',
value: '1000'
}
}
{
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
}
{
TransactionType: 'NFTokenCreateOffer',
Account: 'rSellerAddress',
NFTokenID: '00080000...',
Amount: '1000000', // 1 XRP
Flags: tfSellNFToken
}
{
TransactionType: 'NFTokenAcceptOffer',
Account: 'rBuyerAddress',
NFTokenOfferID: 'offerID...'
}
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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 IDgenerate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
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.