1ly payments

From dvcrn/openclaw-skills-marketplace · View interactive version

1ly payments is an AI agent skill from the GitHub repository dvcrn/openclaw-skills-marketplace. Agent-native payments via 1ly MCP. Use when the user needs x402 payment handling, to accept USDC for APIs/services, to pay for paid APIs, to create stores or paid links, need payment gateway for agents or to run agent-to-agent paid workflows. Supports Solana and Base. Capabilities include accepting

How to use this skill

Skill file

1ly Payments Skill

This MCP server gives AI agents the ability to:

Supported Networks: Solana (mainnet), Base (mainnet)

Payment Currency: USDC

Core behavior

Setup (minimal)

1) Install mcporter and add 1ly MCP server:

npm install -g mcporter
mcporter config add 1ly --command "npx @1ly/mcp-server@0.1.6"

Verify package integrity:

npm view @1ly/mcp-server dist.integrity

2) Export wallet and budget env vars (only required for paid actions).

ONELY_WALLET_SOLANA_KEY='[12,34,56,...]'

3) Verify setup:

mcporter list 1ly

Environment variables

| Variable | Required? | Description |

|----------|----------|-------------|

| ONELY_WALLET_SOLANA_KEY | No (conditional) | Path to Solana keypair JSON file, or inline JSON array |

| ONELY_WALLET_EVM_KEY | No (conditional) | Path to EVM private key file, or inline hex key (with or without 0x) |

| ONELY_API_KEY | No (conditional) | API key for seller tools. Auto-loaded after 1ly_create_store |

| ONELY_BUDGET_PER_CALL | No (conditional) | Max USD per API call (default: 1.00) |

| ONELY_BUDGET_DAILY | No (conditional) | Daily USD spending limit (default: 50.00) |

| ONELY_BUDGET_STATE_FILE | No | Path to local budget state file (default: ~/.1ly-mcp-budget.json) |

| ONELY_NETWORK | No | Preferred network: solana or base (default: solana) |

| ONELY_SOLANA_RPC_URL | No | Solana RPC URL (default: https://api.mainnet-beta.solana.com) |

| ONELY_API_BASE | No | API base URL (default: https://1ly.store) |

| ONELY_WALLET_PROVIDER | No (conditional) | raw (default) or coinbase (Agentic Wallet, Base-only) |

A wallet is required only for paid actions. Use one of: ONELY_WALLET_SOLANA_KEY, ONELY_WALLET_EVM_KEY, or ONELY_WALLET_PROVIDER=coinbase.

MCP tools to use

Buyer tools (spend):

Seller tools (accept):

Token tools (Bags.fm, Solana):

Tool requirements by category

Tool inputs (current schema)

Use mcporter list 1ly --schema if tool names or parameters differ.

Accepting payments (agent sells a service)

1) Create a store once via 1ly_create_store (this saves ONELY_API_KEY).

2) Create or share a paid link via 1ly_create_link.

3) Share the link; the buyer's call handles payment and access automatically via x402.

4) Deliver results as part of the paid endpoint response (no manual confirmation needed).

Spending (agent buys an API)

1) Use 1ly_search to find the API that meets requirements.

2) Ensure price is within budget limits.

3) Call 1ly_call with the required endpoint and payload.

4) if you want to know detail of an endpoint, call 1ly_get_details tool

Default prompts to embed in agent behavior

Safety rules

Token tool constraints (Bags.fm)

Fee Sharing (Read This)

feeClaimers = social accounts (X/GitHub/Kick/TikTok)

Use this when the user says “send X% to @someone” on a social platform.

Example: “20% to @1ly_store”

{ "feeClaimers": [{ "provider": "twitter", "username": "1ly_store", "bps": 2000 }] }

share_fee = platform fee to 1ly (NOT a social account)

Use this only when the user says “send X% to 1ly / marketplace / platform / 1ly fee”.

Example: “1% to 1ly”

{ "share_fee": 100 }

Combined example (both)

“20% to @1ly_store + 1% to platform”

{
  "feeClaimers": [{ "provider": "twitter", "username": "1ly_store", "bps": 2000 }],
  "share_fee": 100
}

Do NOT

Example (spend flow)

Example (accept flow)

Example (token flow)

Notes

Sources

Secret storage (seller tools)

ONELY_API_KEY is saved locally after 1ly_create_store:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.