mcp
v0.34.0Gives AI agents access to Ripples on Robinhood Chain and Elysium over stdio, signing with keys from your environment.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ripples_launch_agent
Creates an agent on Ripples: its token and market, its NFT collection, and the contract that holds its money. The contract is the launch's creator, so the creatorChargePercent set here, paid on every trade on top of the 1% fee, becomes the agent's working capital. The spending limits and the charge are fixed in this call and nobody, including the creator, can raise them afterwards. This is permanent: there is no pause, and losing the operator key ends the agent for good. Requires acknowledge: "permanent". It spends the runway, in WETH, and the network fee, in ETH, from this server's wallet. On…
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "permanent": creating an agent cannot be undone. Its charter's limits and payees can never change, there is no pause, and losing the operator key ends the agent for good. |
artworkBaseUri * | string | Where the finished artwork lives, with a trailing slash. |
collectionSupply * | integer | How many NFTs the collection holds, at least 1. |
dailySpend * | string | Most it can spend in a day. Buys, mints and payouts share it. Give 0, with perCallSpend 0, for an agent that never spends. |
image * | string | A public link to the token's image, at most 512 bytes. The token carries it on chain. |
mintPrice * | string | Price per NFT, in WETH, the market's pair asset. |
name * | string | The project's name, used for the token and the collection, at most 32 bytes. |
operator * | string | The wallet that runs the agent: the only key that can ever spend from its contract, fixed for the life of the launch. Use a key that holds nothing else and run the agent from a server configured with… |
perCallSpend * | string | Most it can spend in one transaction, at most dailySpend. At least the mint price, or it can never mint. |
runway * | string | What goes into the agent's contract, in WETH. Covers the launch fee and is what the agent works with until its market earns. |
symbol * | string | The ticker, 1 to 10 letters or digits, written in capitals on chain. |
creatorChargePercent | number | An extra charge on every trade in the agent's market, 0 to 10 percent in steps of 0.01, paid in full to its contract on top of the 1% trading fee. Fixed for good at launch. Leave it out for 0. |
dailyMint | integer | NFTs it can mint a day. Leave it out and it can never mint. |
dailySell | string | Most of its own token it can sell in a day. Leave it out and it can never sell. |
description | string | What the project is, at most 2,048 bytes. The token carries it on chain. |
payees | array | The only addresses it will ever be able to pay, at most 8. Leave it out and it can pay nobody. |
previousLaunch | string | The treasury address, or the transaction hash, this server's last launch answered with. Until a call names it, a repeat launch is refused and answers with it. |
website | string | A link to the project's website, at most 256 bytes. The token carries it on chain. |
x | string | A link to the project's X profile, at most 256 bytes. The token carries it on chain. |
ripples_agent_buy
Buys the agent's own token on its own market, into its own contract. It spends the agent's money, inside the daily and per-transaction limits, and the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPLES_MAX_PER_CALL.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much WETH to spend. |
minReceived | string | The fewest tokens to accept. Leave it out for 99% of what the market quotes now. |
ripples_agent_sell
Sells the agent's own token back into its market. It costs the network fee, in ETH, from this server's wallet. An agent launched without dailySell can never sell, and a sell from it, or one above what is left of today's ceiling, is refused before anything is sent. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of its own token to sell. |
minReceived | string | The least WETH to accept. Leave it out for 99% of what the market quotes now. |
ripples_agent_mint
Mints from the agent's own collection. The NFTs stay with the agent, and the mint funds its own market like anyone else's. It spends the agent's money on the NFTs, inside its limits, and the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
quantity * | integer | How many NFTs to mint, 1 to 20, the most the collection mints at once. |
minRouted | string | The least of the mint's payment, in WETH, that must reach the agent's market. Leave it out for 99% of what the mint routes now. |
ripples_agent_pay
Pays one of the addresses the charter published, from the agent's money and inside its limits. Any other address is refused. It costs the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPLES_MAX_PER_CALL.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much WETH to pay. |
to * | string | One of the payees the charter published at launch. Any other address is refused. |
ripples_agent_note
Writes an entry in the agent's public run log, beside the transactions it describes. The text is committed as a hash and the `uri` is published next to it, so an entry with no `uri` is a dated digest nobody can read back. Pass a link to what the entry is about. It costs the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
text * | string | The entry's text, committed on chain as its hash. |
uri | string | A link to what the entry is about, at most 200 bytes. |
ripples_agent_claim
Takes in what the launch has earned: the creator's share of every trade and the collection's share of every mint. The contract pays only the agent, whichever wallet sends the claim. What is owed is read first, and with nothing owed it is refused as nothing_to_claim before anything is sent. It costs the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
ripples_agent_claim_vested
Takes in the token slice the agent's own mints earned it. Separate from the fee claim because it only pays out once the token has graduated, and a claim with nothing vested would otherwise fail the other one. How it claims follows how the launch keyed its vest, which ripples_agent_status says in capabilities.vestKeyedToPieces: when true, give tokenIds, NFTs the treasury holds, and it takes in the slices tied to them; when false, leave tokenIds out. ripples_launch_agent keys an agent's vest to its wallet, so leave tokenIds out for the agents it makes. A claim made the other way is refused befor…
| Parameter | Type | Description |
|---|---|---|
tokenIds | array | Ids of NFTs the treasury holds, to take in their slices when the launch keyed its vest to the NFTs (capabilities.vestKeyedToPieces true). Leave it out when the vest is keyed to the wallet, as it is fo… |
ripples_agent_status
What the agent may do, what is left of today's limits, what its treasury holds (budget.balance to spend, and budget.tokens, the most of its own token a sell can take), what its market and collection owe it now (owed, which ripples_agent_claim takes in), and the addresses of its launch. capabilities.vestKeyedToPieces says how its launch keyed its vest: true, so ripples_agent_claim_vested takes tokenIds; false, so it takes none; null when that cannot be told. capabilities.objectVesting says whether the treasury's contract can claim a vest keyed to NFTs. owed or capabilities is left out when it c…
ripples_agent_activity
Everything the agent has done, newest first, read from its own contract. With RIPPLES_TREASURY set, it needs no key.
| Parameter | Type | Description |
|---|---|---|
fromBlock | integer | The block to read back to, asked for 10,000 blocks a request. Leave it out for the last 50,000 blocks; 0 reads back to the agent's launch, where its history starts. |
limit | integer | The most entries to answer with, 1 to 200. Leave it out for 25. |
ripples_dual_fill_terms
What a Crosscurrent on Solana and one EVM chain would take today: the chains priced (`chains`), what each side is priced in (`quotes`), the contracts it would use on each chain (`contracts`), the deadline range a create accepts (`deadline`), the launch deposit on each chain (`deposits`), each chain's target when openingBuy is given (`targets`), how far apart the two sides' opening prices are (`gaps`), which kinds of Crosscurrent Ripples supports on this network (`offered`), and which of them a new Crosscurrent can be created as today (`creatable`). The Solana side is priced in SOL, or in the a…
| Parameter | Type | Description |
|---|---|---|
agent | boolean | The terms for a Crosscurrent run by an agent, which is priced in SOL on Solana. |
chains | array | The chains this Crosscurrent runs on: solana and one of robinhood (ETH) or arc (USDC). Leave it out for robinhood and solana. |
collection | object | The terms for a Crosscurrent with a collection on both chains, which sets aside part of the token supply as a minter allocation. |
creatorChargePercent | number | The creator's charge on trades, 0 to 10 percent. Leave it out for 0. |
openingBuy | string | The group buy's target on openingBuyChain, in that chain's quote. |
openingBuyChain | string | The EVM chain openingBuy counts in, which has to be the pair's own. Leave it out for the pair's EVM chain. |
solanaQuote | string | What the Solana side is priced in: the mint of an asset the launch program admits as a quote, or its ticker as ripples_dual_fill_terms lists it, such as DKNGx. Leave it out, or give SOL, to price it i… |
ripples_dual_fill_create
Creates a Crosscurrent: one token on Solana and one EVM chain, Robinhood Chain (ETH) or Arc (USDC). `chains` names the pair. In fill-first mode, the default, both markets open once the group buy on each side is full. The Solana side is priced in SOL, or in an asset the launch program admits when solanaQuote names it, such as DKNGx; its holders are then paid in that asset, and its launch deposit stays in SOL. This server's wallets create both sides, and it spends the launch deposit on each chain plus network fees. Each deposit comes back with ripples_dual_fill_take_back_deposit once its side ha…
| Parameter | Type | Description |
|---|---|---|
chains | array | The chains this Crosscurrent runs on: solana and one of robinhood (ETH) or arc (USDC). Leave it out for robinhood and solana. |
collection | object | A collection on both chains, created with the token: some NFTs mint on Robinhood Chain and the rest on Solana. Offered only on Robinhood Chain and Solana, in fill-first mode, where the Solana side ope… |
creatorChargePercent | number | The creator's charge on trades, 0 to 10 percent. Leave it out for 0. |
deadlineMinutes | integer | Minutes until every side must be full, 31 to 1,438. Leave it out for 360. |
description | string | What the token is, 1 to 1,000 characters. Required unless resume is given. |
ifOneSideFills | string | refund-both returns everyone's money; open-full-side opens the full side on its own. Leave it out for refund-both. |
imagePath | string | An image file inside RIPPLES_MEDIA_DIR: PNG, JPEG, GIF, WebP or AVIF, at most 10 MB. Give this or imageUrl. |
imageUrl | string | An https link to an image already published to Ripples. Give this or imagePath. |
mode | string | fill-first opens both markets together once the group buy on each side is full. open-now opens both markets at once, on Robinhood Chain and Solana, each with a dev buy of the same value from this serv… |
name | string | The token's name on every chain, at most 32 bytes. Required unless resume is given. |
openingBuy | string | The group buy's target on openingBuyChain (in open-now mode, the dev buy on each chain), in that chain's quote: ETH on Robinhood Chain, at least 0.001; USDC on Arc, at least 1. The Solana target is th… |
openingBuyChain | string | The EVM chain openingBuy counts in, which has to be the pair's own. Leave it out for the pair's EVM chain. |
resume | object | The receipt a create that stopped part way answered with. Give it on its own: the Crosscurrent is finished from it and the other fields are not used. |
solanaQuote | string | What the Solana side is priced in: the mint of an asset the launch program admits as a quote, or its ticker as ripples_dual_fill_terms lists it, such as DKNGx. Leave it out, or give SOL, to price it i… |
symbol | string | The ticker, 1 to 10 letters or digits, written in capitals on chain. Required unless resume is given. |
telegram | string | A Telegram handle or link, at most 256 bytes. |
website | string | An https link, at most 256 bytes. |
x | string | An X handle or link, at most 256 bytes. |
ripples_dual_fill_join
Adds money to one side's group buy, in what that side is priced in. Until publicUntil a side accepts more than its target, up to a quarter of it per wallet; after that it takes only what it still needs. On Solana each contribution is at least 0.01 SOL, or 10,000,000 base units of the asset the side is priced in, unless it fills the side. It spends the amount plus the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPL…
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to add: ETH on Robinhood Chain, USDC on Arc, and on Solana SOL, or the asset the side is priced in, in that asset's decimal places. |
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side * | string | The chain whose side this acts on: robinhood, arc or solana. |
payWith | string | quote pays the side's own quote, after an approval where that quote is a token. native pays the chain's own coin on a side that wraps it into its quote, as Robinhood Chain's testnet wraps ETH into WET… |
ripples_dual_fill_withdraw
Takes money back from a side that is still filling, before its deadline, in what that side is priced in. Withdrawals stop in the last five minutes before publicUntil. On Solana what stays in must be at least 0.01 SOL, or 10,000,000 base units of the asset the side is priced in, unless all of it comes back. It costs only the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side * | string | The chain whose side this acts on: robinhood, arc or solana. |
amount | string | How much to take back, in ETH on Robinhood Chain, USDC on Arc, and on Solana SOL, or the asset the side is priced in, in that asset's decimal places. Leave it out to take back everything this wallet p… |
ripples_dual_fill_status
Where a Crosscurrent stands, in the words ripples.run shows, with the chains it runs on (`chains`), each side checked against its chain (`verified`) and what this server's wallets hold in it (`you`), each deposit in what its side is priced in. `view.legs.solana.quote` names what the Solana side is priced in.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
ripples_dual_fill_positions
Every Crosscurrent side a wallet has money in, and whether each can be withdrawn, claimed or refunded. Reads this server's wallets, or the addresses given, which need no key.
| Parameter | Type | Description |
|---|---|---|
evm | string | An EVM wallet to read in place of this server's own, on every rail it holds a position on. |
solana | string | A Solana wallet to read in place of this server's own. |
ripples_dual_fill_claim
Claims the tokens a joined wallet is owed on each opened side. Money paid in above a side's target comes back with them, in what that side is priced in. It costs only the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
for | object | Claim or refund for these wallets rather than this server's own. |
side | string | One chain of the Crosscurrent's set, or all of them. Leave it out for all. |
ripples_dual_fill_refund
Sends a joined wallet's money back from each side that did not open, in what that side is priced in. It costs only the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
for | object | Claim or refund for these wallets rather than this server's own. |
side | string | One chain of the Crosscurrent's set, or all of them. Leave it out for all. |
ripples_dual_fill_take_back_deposit
Sends each side's launch deposit back to whoever created that side: the creating wallet, or for an agent's side its treasury. A side pays its deposit back once it has opened or can no longer open, and only to its creator, whichever wallet sends the call. It costs only the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side | string | One chain of the Crosscurrent's set, or all of them. Leave it out for all. |
ripples_dual_fill_cancel
Cancels a Crosscurrent group buy that this server's wallets created, either on each side still taking money before its deadline or only on the chain named by `side`. Everyone in a cancelled side can take their money back straight away with ripples_dual_fill_refund, and the launch deposit comes back with ripples_dual_fill_take_back_deposit. A side cannot be cancelled once it has opened, or once it is full and past its publicUntil (ripples_dual_fill_status shows it), and neither can the sides of a Crosscurrent run by an agent. A cancel cannot be undone. It costs only the network fee. It signs wi…
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side | string | One chain of the Crosscurrent's set, or all of them. Leave it out for all. |
ripples_dual_fill_release_link
Gives up the Solana half of a Meteora Crosscurrent's collection while Ripples has not created it: the SOL kept back from that side's launch deposit for it, up to 0.017 SOL, goes back to the creator, that half of the collection is never made, and the share of the token set aside for its NFTs is burned when the market graduates. The creator can call it from 24 hours after the Solana side opened, and any wallet can once the market has reached the end of Meteora's curve. It cannot be undone. Requires acknowledge: "permanent". It costs only the network fee. It signs with the Solana key (RIPPLES_SOL…
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "permanent": once given up, the Solana half of the collection is never made, and the share of the token set aside for its NFTs is burned when the market graduates. |
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
ripples_dual_fill_agent_remaining
What a Crosscurrent agent can still do on each chain it runs on, read from its contracts, under `remaining`: what is left of its spending limit there, in that chain's quote (`spend`), and whether it has been stopped (`stopped`). On its EVM chain it also says what is left of today's selling limit (`sell`) and how many of its tokens it may sell (`sellableTokens`). A side not created yet is null. On Solana, `spendWindow` gives the state of the agent's rolling 24-hour spending window; in this release it is upgrade_required on both networks, and `spend` there is 0, as the pinned Solana program has…
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
ripples_dual_fill_agent_migrate_spend_window
Adds a rolling 24-hour spending window to the Solana side of a Crosscurrent agent that has none. It costs the network fee and the window account's rent, from this server's Solana wallet, and the agent then waits 24 hours before it spends on Solana again. In this release it is refused as spend_window_upgrade_required on both networks, before anything is signed, as the pinned Solana program has no such window. It signs with the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY), and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
ripples_dual_fill_agent_buy
Buys the agent's own token on one chain with the agent's funds, inside its limits. Refused before the market opens, in its first seconds, and after the agent is stopped. Run it from a server whose keys are the agent's operator keys. In this release a Solana side is refused as spend_window_upgrade_required, before anything is signed. It spends the agent's funds, and the network fee from this server's wallet. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPL…
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of the agent's funds to spend: ETH on Robinhood Chain, USDC on Arc, SOL on Solana. |
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side * | string | The chain whose side this acts on: robinhood, arc or solana. |
minTokensOut | string | The fewest tokens to accept. Leave it out for 99% of what the market quotes now. |
ripples_dual_fill_agent_pay
Pays one of the addresses the agent's charter fixed at creation, from the agent's funds and inside its limits. Run it from a server whose keys are the agent's operator keys. In this release a Solana side is refused as spend_window_upgrade_required, before anything is signed. The network fee comes from this server's wallet. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPLES_MAX_PER_CALL.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to pay: ETH on Robinhood Chain, USDC on Arc, SOL on Solana. |
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side * | string | The chain whose side this acts on: robinhood, arc or solana. |
to * | string | One of the charter's payees on that chain. |
ripples_dual_fill_agent_note
Writes an entry in the agent's public log on one chain: the keccak256 hash of the entry's text, and a link to it. Pass the text and the server hashes its UTF-8 bytes, as ripples_agent_note does, or pass that hash as digest. Run it from a server whose keys are the agent's operator keys. It costs only the network fee. It signs with RIPPLES_PRIVATE_KEY for a Robinhood Chain or Arc side and the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) for a Solana side, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Crosscurrent's id, the last part of its ripples.run/crosscurrent link. |
side * | string | The chain whose side this acts on: robinhood, arc or solana. |
uri * | string | A link to what the entry is about, at most 200 bytes. |
digest | string | The keccak256 hash of the entry's UTF-8 text, 0x and 64 hexadecimal characters. Give this or text. |
text | string | The entry's text. Only its hash is written on chain. Give this or digest. |
ripples_crosscurrent_progress
Where a Crosscurrent launch stands: each market's phase as Ripples last observed it, the token on each chain, and its page. Nothing is signed.
| Parameter | Type | Description |
|---|---|---|
launch * | string | The 0x id at the end of the launch page's address, in lowercase. |
ripples_crosscurrent_resume
Finishes a launch this server's wallet reserved but did not send: it signs for ownership if that is still owed, waits for Ripples to create the bridges, then pays for the launch and records it. Use it after a launch answered launch_interrupted or launch_reverted. If the chain shows the launch already went through, the answer carries its page; follow it with ripples_crosscurrent_progress. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPLES_MAX_PER_CALL.
| Parameter | Type | Description |
|---|---|---|
launch * | string | The 0x id at the end of the launch page's address, in lowercase. |
wait | boolean | Whether to wait for every market to open before answering. Leave it out to wait. |
ripples_crosscurrent_name_solana_payout
Names the Solana wallet a launch's creator share of the Solana market's fees goes to: this server's Solana wallet, which signs one message. It cannot be changed afterwards, so it requires acknowledge: "permanent". Until a wallet is named, the fees wait on the launch. It signs with the Solana key (RIPPLES_SOLANA_KEYPAIR or RIPPLES_SOLANA_SECRET_KEY) and signs in with RIPPLES_PRIVATE_KEY, the wallet that reserved the launch, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "permanent": the creator's share of the Solana market's fees goes to this wallet for good. |
launch * | string | The 0x id at the end of the launch page's address, in lowercase. |
ripples_collect
Claims everything this server's wallet is owed on its network (Robinhood Chain, or Elysium in HYPE), in one pass: the creator fee of each of its launches, per asset; the creator's part of each of its launches that shares the fee with holders; the mint revenue of each collection it created; the token slice its mints vested, whether the vest belongs to the wallet or to the NFTs it holds; its holder reward periods; and on Robinhood Chain a paired launch's stock rewards. Each claim is read first and sent only with something to pay, and every contract pays the wallet whichever address sends the cla…
| Parameter | Type | Description |
|---|---|---|
launches | array | Launch token addresses to claim from instead of this wallet's own launches: a minter names the launches it minted into. Holder reward periods and stock rewards are claimed either way. |
ripples_bind_token
Makes a token this server's wallet holds an agent: registers it as an ERC-8004 agent through the ERC-8217 adapter on Robinhood Chain, so whoever holds the token controls the agent, and control moves with a sale. Answers the agent's number, its 8004scan page and the ripples.run link that launches a market from it, whose creator fees then go to whoever holds the token. A token the wallet does not hold is refused before anything is sent. Each call makes another agent, so bind a token once. It costs the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainn…
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663): the chain the NFT is on, and its markets with it. |
nft * | string | The NFT's collection, an ERC-721 contract. |
tokenId * | string | The NFT's number in its collection, in decimal digits as text, such as "2". |
ripples_pin_wake
Points the creator fees of a launch this server's wallet made at an NFT, so they are paid to whoever holds the NFT and move with it when the NFT is sold. Creates the NFT's payee first where it does not exist yet. This is permanent: nobody, this wallet included, can point the fees anywhere else afterward. Requires acknowledge: "permanent". Refused before anything is sent when this wallet does not receive the launch's creator fee, when the fees already go to an NFT or to holders, or when the NFT has no holder on that chain. It costs the network fee, in ETH, from this server's wallet, for one or…
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "permanent": the launch's creator fees follow the NFT for good. |
chain * | string | Robinhood Chain (4663): the chain the NFT is on, and its markets with it. |
nft * | string | The NFT's collection, an ERC-721 contract. |
token * | string | The launch's token. |
tokenId * | string | The NFT's number in its collection, in decimal digits as text, such as "2". |
ripples_wake
What an NFT's wake holds on Robinhood Chain or Base: the markets launched from it, what is owed now, read from the chain, what has been paid and the last payout, who holds the NFT, and the payee that pays it. Amounts are in each currency's smallest unit, with its symbol and decimals. Answers wake: null when no market pays the NFT directly and the Ripples API lists no split that pays it; read a split you know with ripples_wake_split. Needs no key.
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663) or Base (8453): the chain the NFT is on, and its markets with it. |
nft * | string | The NFT's collection, an ERC-721 contract. |
tokenId * | string | The NFT's number in its collection, in decimal digits as text, such as "2". |
launches | array | Launch tokens to count beside the markets the Ripples API lists for the NFT, each checked on chain. |
ripples_release_wake
Pays everything an NFT's markets owe it to whoever holds the NFT now. A holder share that owes the creator's part to the NFT is brought up to date first, then the NFT's payee pays out each currency it holds. Anyone may send it, and it pays only the holder; nothing owed sends nothing. A step the chain refuses before anything is signed for it, such as a currency the holder cannot take, is answered in skipped and the rest still goes out. It costs the network fee, in ETH, from this server's wallet, once per transaction sent. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_…
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663) or Base (8453): the chain the NFT is on, and its markets with it. |
nft * | string | The NFT's collection, an ERC-721 contract. |
tokenId * | string | The NFT's number in its collection, in decimal digits as text, such as "2". |
launches | array | Launch tokens to count beside the markets the Ripples API lists for the NFT, each checked on chain. |
ripples_wake_split
What a split's wake holds on Robinhood Chain or Base: each NFT with its weight and index, who holds it, what it is owed now, read from the chain, what it has been paid and its last payout, and the markets that pay the split. Amounts are in each currency's smallest unit, with its symbol and decimals. Needs no key.
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663) or Base (8453): the chain the NFT is on, and its markets with it. |
split * | string | The split: the contract that shares a launch's creator fees between its NFTs, as ripples_share_wake answered it. |
launches | array | Launch tokens to count beside the markets the Ripples API lists for the split, each checked on chain. |
ripples_release_split
Pays each NFT in a split its part of the creator fees the split receives, to whoever holds the NFT now. A holder share that owes the split the creator's part is brought up to date first, then the split pays out each currency, at most 64 NFTs a transaction. Anyone may send it, and it pays only the NFTs' holders. Answers each NFT paid and each NFT that could not be paid, whose part stays owed to it. An NFT with no holder, or one the split itself holds, is listed without being sent, and nothing owed sends nothing. It costs the network fee, in ETH, from this server's wallet, once per transaction s…
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663) or Base (8453): the chain the NFT is on, and its markets with it. |
split * | string | The split: the contract that shares a launch's creator fees between its NFTs, as ripples_share_wake answered it. |
indexes | array | The NFTs to pay, by their index in the split as ripples_wake_split lists them. Leave it out to pay every NFT. |
launches | array | Launch tokens to count beside the markets the Ripples API lists for the split, each checked on chain. |
ripples_pass_manifest
Reads an NFT's wallet pass for this server's wallet, which has to hold the NFT: the links that add the pass to Apple Wallet and Google Wallet on a phone, where it shows what the NFT has earned and claims it. The pass issuer asks for proof of holding, so this signs one sign-in message with RIPPLES_PRIVATE_KEY, after checking that the message names the issuer's host, the NFT's chain, the NFT and the action of taking the pass. It sends no transaction, so no mainnet permission is asked for. The links are for this wallet alone: do not keep or log them. An NFT this wallet does not hold is refused as…
| Parameter | Type | Description |
|---|---|---|
chain * | string | Robinhood Chain (4663) or Base (8453): the chain the NFT is on, and its markets with it. |
nft * | string | The NFT's collection, an ERC-721 contract. |
tokenId * | string | The NFT's number in its collection, in decimal digits as text, such as "2". |
ripples_pass_collect
Uses the claim link from an NFT's pass: the pass issuer pays what the NFT has earned to whoever holds it now, from its own relayer, and answers what it paid. The link is read first and refused if it would do anything but claim. Nothing owed is refused as nothing_to_claim, and a link the issuer no longer knows, as after a sale, as pass_refused. Needs no key, and nothing leaves this server's wallet.
| Parameter | Type | Description |
|---|---|---|
link * | string | The claim link from an NFT's pass (the pass's Collect link), as the pass carries it. It is used, and never repeated in the answer. |
ripples_priors_line
An ERC-8004 agent's line on Priors (priors.trade), the USDG credit pool for agents on Robinhood Chain: who backs it, how much it lends and has drawn, what is owed now, its repaid loans, who owns the agent, and the agent's repay-first payee. free is what it can borrow now, and it is 0 while the agent is defaulted or frozen or its owner has a default; lastBorrowAt is when it last borrowed, in unix seconds. USDG amounts are in base units (6 decimals). An agent bound to an NFT through the ERC-8217 adapter cannot borrow on Priors. Needs no key.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | The agent's number on the ERC-8004 identity registry on Robinhood Chain, in decimal digits as text, such as "469". |
ripples_priors_fund
Borrows from an agent's Priors line and swaps the loan to ETH for this server's wallet, at least ethOut of it: the loan is sized at the pinned Uniswap pool's price with 1% to spare, due in 14 days. Three transactions: the loan, the swap's allowance and the swap. The wallet has to be the agent's owner, or a delegate it set on the ERC-8004 identity registry. The loan pays the dev buy only; the wallet pays the launch fee and network fees. Use the ETH for a launch's dev buy, then ripples_priors_repay_from_market so the market repays the loan. That launch needs a creator charge (creatorChargePercen…
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "borrow": this takes a loan in the wallet's name. |
agentId * | string | The agent's number on the ERC-8004 identity registry on Robinhood Chain, in decimal digits as text, such as "469". |
ethOut * | string | The ETH the loan should buy, as a decimal string such as "0.02". |
borrowed | string | The USDG of a loan an earlier call drew and left in this wallet, as that call's refusal named it, such as "22.73". With it, nothing is borrowed. |
secondLoan | boolean | true to borrow again within 15 minutes of the agent's last loan, on purpose. Leave it out otherwise. |
ripples_priors_repay_from_market
Points the creator fees of a launch this server's wallet made at the agent's repay-first payee, so every payout repays the agent's Priors loans before its owner is paid. Creates the payee first where it does not exist yet. This is permanent. Requires acknowledge: "permanent". Refused before anything is sent when this wallet does not own the agent, does not receive the launch's creator fee, or the fees already go elsewhere. It costs the network fee, in ETH, from this server's wallet. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1.
| Parameter | Type | Description |
|---|---|---|
acknowledge * | string | Required, and only "permanent". |
agentId * | string | The agent's number on the ERC-8004 identity registry on Robinhood Chain, in decimal digits as text, such as "469". |
token * | string | The launch's token. |
ripples_priors_collect
Claims what the launch hook owes an agent's repay-first payee and sweeps it with what the payee holds: the agent's Priors loans are repaid first, whole loans only and earliest due first, and the rest goes to whoever owns the agent. Anything short of a whole loan stays in the payee until more arrives, and a sweep that would repay nothing and forward nothing is not sent: it is answered in skipped. Anyone may send it and it pays no one else. currency is the market's; leave it out for ETH and WETH. token names a launch whose creator fees reach the payee through a holder share, and the share's crea…
| Parameter | Type | Description |
|---|---|---|
agentId * | string | The agent's number on the ERC-8004 identity registry on Robinhood Chain, in decimal digits as text, such as "469". |
currency | string | The market's currency: the zero address for ETH, WETH, or another token contract on Robinhood Chain. Leave it out for ETH and WETH. |
token | string | A launch that pays the payee, directly or through a holder share. Leave it out for what the hook owes the payee directly. |
ripples_upwell_create
Makes an Upwell on Robinhood Chain: an NFT collection for a coin already trading on Pons, or for a Virtuals agent token, whose every mint buys that coin for the minter. 80% of each mint's price buys the coin for the minter in the same transaction, the collection's creator keeps 15% and Ripples 5%. This server's wallet is the collection's creator and withdraws its share from the collection. The coin is read on chain first: a token neither Pons nor Virtuals launched is refused, and so is a Virtuals launch still inside its opening minutes. It spends the factory's launch fee, 0.0005 ETH today, plu…
| Parameter | Type | Description |
|---|---|---|
baseURI * | string | Where the NFTs' metadata lives, ending in a slash: NFT #1 reads <baseURI>1. |
coin * | string | The coin every mint buys: a Pons coin or a Virtuals agent token on Robinhood Chain. |
name * | string | The collection's name. |
price * | string | Each NFT's price in ETH, at least 0.001. |
supply * | integer | How many NFTs there are. |
symbol * | string | The collection's ticker. |
perWallet | integer | The most one wallet may mint. No cap when omitted. |
royaltyPercent | number | The creator's royalty on resales, 0 to 10. 5 when omitted. |
ripples_upwell_mint
Mints from an Upwell on Robinhood Chain: the NFTs, and the coin the mint buys for this server's wallet in the same transaction. The buy is quoted from the coin's own market a moment before signing, and the mint names the fewest coins it accepts, slippagePercent under the quote: below that the mint is refused and nothing is spent. It spends the collection's price times quantity, plus the network fee. It signs with RIPPLES_PRIVATE_KEY, and on mainnet it needs RIPPLES_ALLOW_MAINNET=1 and RIPPLES_MAX_PER_CALL.
| Parameter | Type | Description |
|---|---|---|
collection * | string | The Upwell to mint from. |
quantity | integer | How many NFTs to mint, 1 to 20. 1 when omitted. |
slippagePercent | number | How far under the quote the mint still accepts, in percent. 2 when omitted. |
ripples_markets
Lists Ripples markets on one chain, newest first, whoever launched them: each row is a market's token (address), its pool id (pair), creator, trading fee, status (trading, or graduated once its pool is locked), last trade and all-time high, priced in the pair asset the row names in quote. Use it to find markets; ripples_market reads one by address. Page with offset and nextOffset: a page can hold fewer rows than limit, or none, while nextOffset is set, because markets Ripples hides are left out. Needs no key.
| Parameter | Type | Description |
|---|---|---|
chain | string | The chain the markets are on: base, arc or elysium (Elysium, 99901). When omitted, robinhood (Robinhood Chain, 4663), or elysium on a server that runs on Elysium. |
limit | integer | Rows to read, 1 to 200: 20 when omitted. |
offset | integer | Rows to skip from the newest: 0 when omitted, or the nextOffset of the page before. |
ripples_market
Reads one Ripples market by its token address or pool id, whoever launched it: the token's name, ticker and supply, the creator, the trading fee and the creator's share of it, status (trading, or graduated once its pool is locked), the last trade with the pool's reserves, the all-time high, and the token on the chain's explorer. Prices are in the pair asset the market names in quote. Answers market: null where Ripples lists no market at that address on the chain named. Needs no key.
| Parameter | Type | Description |
|---|---|---|
address * | string | The market's token address, or the pool id it trades under, as ripples_markets lists them in address and pair. |
chain | string | The chain the markets are on: base, arc or elysium (Elysium, 99901). When omitted, robinhood (Robinhood Chain, 4663), or elysium on a server that runs on Elysium. |
ripples_stats
The totals ripples.run shows on its stats page: markets launched on each chain, how many graduated and how many came with an NFT collection, mint revenue routed into markets and NFTs minted, $RIPPLES locked as liquidity, Crosscurrents, launches from X and holder reward periods. Figures are held for a few minutes between reads, and asOf says when they were read. Needs no key.
ripples_claimable
Lists what an address can claim on one chain: its unclaimed holder reward periods, per launch, and the creator's part of each launch that shares its fee with holders and pays this address. Amounts are decimals with their symbols, each beside its raw figure. Holders claim whenever they like, from ripples.run, the SDK or ripples_claim_transaction; on Solana, at ripples.run/account. Needs no key.
| Parameter | Type | Description |
|---|---|---|
address | string | The address whose rewards to read: a 0x address on an EVM chain, a base58 address on Solana. This server's own wallet on that chain when omitted. |
chain | string | The chain to read: base, arc, ethereum, elysium (Elysium, 99901) or solana. When omitted, robinhood (Robinhood Chain, 4663), or elysium on a server that runs on Elysium. |
ripples_claim_transaction
Builds the unsigned transaction that claims what an address is owed on one EVM chain: a claim of its unclaimed holder reward periods on each launch, and the creator's part of each holder share that pays it. Several calls go out as one transaction through Multicall3, and each call is also answered on its own. Every distributor is checked on the chain against the holder factories Ripples pins, and each period is checked to be unclaimed, before it is put in. Any wallet can send the transaction, since each call pays the address it names, never the sender. Solana is claimed at ripples.run/account.…
| Parameter | Type | Description |
|---|---|---|
address | string | The address whose rewards to read: a 0x address on an EVM chain, a base58 address on Solana. This server's own wallet on that chain when omitted. |
chain | string | The chain to read: base, arc, ethereum, elysium (Elysium, 99901) or solana. When omitted, robinhood (Robinhood Chain, 4663), or elysium on a server that runs on Elysium. |
creator | boolean | Claim the creator's part of each holder share that pays the address: true when omitted. |
distributors | array | Only these distributors, as ripples_claimable names them. Every one it lists when omitted. |
holder | boolean | Claim the address's holder reward periods: true when omitted. |
ripples_buyback_status
Reads a market's Buyback and lock on Robinhood Chain: a vault that buys the token with the creator's fee, or ETH deposited into it, when it is sold, and locks what it buys with equal ETH for good. Answers whether it is on, the creator's share (how much of their fee goes to buybacks), where the rest and any withdrawal go, its budget, what is set aside to pair tokens already bought, what can be withdrawn, what it has bought and locked, whether the creator fee is paid to it, and whether Ripples or the creator sends its buys. Reads the vault the creator fee pays, or the one owner made; with none,…
| Parameter | Type | Description |
|---|---|---|
token * | string | The market's token address on Robinhood Chain. |
owner | string | Read the vault this wallet made. The vault the market's creator fee pays, or else the payee's own, when omitted. |
ripples_buyback_transaction
Builds the unsigned transactions for a market's Buyback and lock on Robinhood Chain, for the wallet in from to sign, in the order they are sent. create makes the vault with the creator's share, shareBps (how much of their fee goes to buybacks, 0 to 10,000 basis points), then points the creator fee at it, which only the wallet the fee pays can do. on and off switch the buys. share changes the share and where the rest goes. withdraw sends unspent ETH to the vault's withdrawal address, only while it is off and never what is set aside for tokens already bought. handBack points the creator fee away…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to build: create, on, off, share, withdraw, handBack or deposit. |
token * | string | The market's token address on Robinhood Chain. |
amount | string | withdraw and deposit, required there: ETH as a decimal, such as "0.05". For withdraw, "max" takes everything withdrawable. |
forwardTo | string | create and share: where the rest goes. from on create, and the vault's current address on share, when omitted. |
from | string | The wallet that will sign: this server's wallet when omitted. For every action but deposit, the vault is the one this wallet made. |
on | boolean | create: whether the vault starts on, true when omitted. |
owner | string | deposit: the owner of the vault to fund, from when omitted. |
route | boolean | create: point the creator fee at the vault as a second transaction, true when omitted. false makes a vault funded by deposit alone. |
shareBps | integer | create and share, required there: how much of what reaches the vault funds buybacks, in basis points from 0 to 10,000. 5000 is half. |
to | string | handBack: where the creator fee goes instead, from when omitted. |
withdrawTo | string | create: the only address a withdrawal can go to, from when omitted. |