Back to skills
SkillHub ClubShip Full StackFull Stack
xrpl-token-snipe
Imported from https://github.com/openclaw/skills.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Stars
3,072
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
F32.4
Install command
npx @skill-hub/cli install openclaw-skills-xrpl-token-snipe
Repository
openclaw/skills
Skill path: skills/harleyscodes/xrpl-token-snipe
Imported from https://github.com/openclaw/skills.
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install xrpl-token-snipe into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding xrpl-token-snipe to shared team environments
- Use xrpl-token-snipe for development workflows
Works across
Claude CodeCodex CLIGemini CLIOpenCode
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: firstledger-snipe
description: Snipe new token launches on XRPL via FirstLedger. Use for: (1) Detecting new token issuances, (2) Monitoring mempool for fresh offers, (3) Front-running token buys, (4) Managing XRP reserves.
---
# FirstLedger Sniping
## Overview
Monitor XRPL for new token launches and execute fast purchases before others.
## FirstLedger Endpoints
- **WebSocket**: `wss://xlrps-1.xrpl.link/`
- **REST**: `https://xlrps-1.xrpl.link/api/v1/`
## Detect New Tokens
### Subscribe to Transactions
```typescript
const ws = new WebSocket('wss://xlrps-1.xrpl.link/');
ws.send(JSON.stringify({
command: 'subscribe',
transactions: true
}));
// Watch for Payment transactions with new tokens
ws.onmessage = (msg) => {
const tx = JSON.parse(msg.data);
if (tx.TransactionType === 'Payment' && tx.Amount?.currency) {
console.log('New token:', tx.Amount);
}
};
```
### Check Issuer Flags
```typescript
// Key flags to audit before buying:
const flags = {
lsfDisableMaster: 0x00080000, // CANNOT mint more - SAFE
lsfRipple: 0x00020000, // Default ripple
lsfDefaultRipple: 0x00040000, // Trustline default
lsfRequireAuth: 0x00010000 // Must be authorized
};
// SKIP if:
- lsfDisableMaster is NOT set (issuer can rug)
- No requireAuth (anyone can hold)
```
## Execute Buy
```typescript
const { Client, Wallet } = require('xrpl');
const client = new Client('wss://xrplcluster.com');
const tx = {
TransactionType: 'Payment',
Account: wallet.address,
Destination: issuerAddress,
Amount: {
currency: tokenCode, // e.g., 'SYM123'
issuer: issuerAddress,
value: '100' // Amount to buy
},
DestinationTag: 1 // For tracking
};
const result = await client.submit(tx, { wallet });
```
## Safety Checks
✅ **MUST VERIFY**:
1. `lsfDisableMaster` flag set (no more minting)
2. Contract ownership renounced
3. Liquidity added (check trustlines)
4. Not a honeypot (can sell after buying)
❌ **SKIP IF**:
- No audit
- No liquidity
- Non-renounced contract
## Risk Profile
- **High risk** - Only trade what you can lose
- Always audit token flags before buying
- Keep XRP reserve for fees (~10 XRP)
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### _meta.json
```json
{
"owner": "harleyscodes",
"slug": "xrpl-token-snipe",
"displayName": "XRPL Token Sniping",
"latest": {
"version": "1.0.0",
"publishedAt": 1771102403428,
"commit": "https://github.com/openclaw/skills/commit/2be3038d4b0c0245fee32530f917ef3c47e558ba"
},
"history": []
}
```