/install linkdrop-agent-cli
When to use
- You need to create a funded Linkdrop claim link from a local wallet.
- You need to redeem a Linkdrop claim link to a destination address.
- You need stdout to be exactly one JSON object for automation.
Files in this skill
linkdrop-agent.jsis the strict JSON CLI entrypoint.agentdrop-core.jscontains the Linkdrop and chain logic used by the CLI..env.exampleshows the supported runtime configuration.
Setup
- Run
npm install. - Set secrets in your shell or
.env:- Required:
PRIVATE_KEY,LINKDROP_API_KEY - Recommended for Base:
RPC_URL_BASE - Optional fallback:
RPC_URL
- Required:
- Keep secrets out of git history.
Supported chains
basedefaultpolygonarbitrumoptimismavalanche
Send a claimable transfer
- Native token on Base:
node linkdrop-agent.js send --amount 0.01 --token native --chain base
- ERC20 on Polygon:
node linkdrop-agent.js send --amount 5 --token 0xTokenAddress --chain polygon
- Read these JSON fields from stdout:
claimUrltransferIddepositTx
Claim a transfer
- Run:
node linkdrop-agent.js claim --url "https://..." --to 0xRecipient --chain base
- Read
redeemTxfrom stdout.
JSON contract
- Success returns
{ ok: true, ... }. - Failure returns
{ ok: false, error: { code, name, message, details? } }. - The CLI writes one JSON object to stdout per invocation.
Troubleshooting
Missing PRIVATE_KEY: set a 32-byte hex private key with0xprefix.Missing LINKDROP_API_KEY: set a valid Linkdrop API key with thezpka_prefix.No RPC URL available: setRPC_URL_BASEfor Base or the matchingRPC_URL_\x3CCHAIN>.Unsupported chain: use one of the supported chain names above.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install linkdrop-agent-cli - After installation, invoke the skill by name or use
/linkdrop-agent-cli - Provide required inputs per the skill's parameter spec and get structured output
What is Linkdrop Agent CLI?
Create and redeem Linkdrop claim links from the command line with strict JSON output on Base, Polygon, Arbitrum, Optimism, and Avalanche. It is an AI Agent Skill for Claude Code / OpenClaw, with 138 downloads so far.
How do I install Linkdrop Agent CLI?
Run "/install linkdrop-agent-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Linkdrop Agent CLI free?
Yes, Linkdrop Agent CLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Linkdrop Agent CLI support?
Linkdrop Agent CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Linkdrop Agent CLI?
It is built and maintained by seichris (@seichris); the current version is v1.0.0.