Install
openclaw skills install linkdrop-agent-cliCreate and redeem Linkdrop claim links from the command line with strict JSON output on Base, Polygon, Arbitrum, Optimism, and Avalanche.
openclaw skills install linkdrop-agent-cliWhen to use
Files in this skill
linkdrop-agent.js is the strict JSON CLI entrypoint.agentdrop-core.js contains the Linkdrop and chain logic used by the CLI..env.example shows the supported runtime configuration.Setup
npm install..env:
PRIVATE_KEY, LINKDROP_API_KEYRPC_URL_BASERPC_URLSupported chains
base defaultpolygonarbitrumoptimismavalancheSend a claimable transfer
node linkdrop-agent.js send --amount 0.01 --token native --chain basenode linkdrop-agent.js send --amount 5 --token 0xTokenAddress --chain polygonclaimUrltransferIddepositTxClaim a transfer
node linkdrop-agent.js claim --url "https://..." --to 0xRecipient --chain baseredeemTx from stdout.JSON contract
{ ok: true, ... }.{ ok: false, error: { code, name, message, details? } }.Troubleshooting
Missing PRIVATE_KEY: set a 32-byte hex private key with 0x prefix.Missing LINKDROP_API_KEY: set a valid Linkdrop API key with the zpka_ prefix.No RPC URL available: set RPC_URL_BASE for Base or the matching RPC_URL_<CHAIN>.Unsupported chain: use one of the supported chain names above.