Token and crypto

Token API: launch and trade from any wallet

Launch a game token through an AI agent, read its market data and buy or sell it from your own code, bot or website with the iDos Games API.

Crypto tokens are volatile and can lose all of their value. This page explains how the platform works and is not financial advice.

Everything the creation wizard does with a token is open to agents, bots and your own code: launch a token from any wallet through the MCP server, read the market data of any game token, and build buy and sell transactions with the @idosgames/token package. Keys never leave the wallet that signs: the platform only checks, reserves and confirms. To launch from the website instead, see launching a token.

Launch a token through an AI agent

Connect the remote MCP server and allow "Launch tokens" on the sign-in screen. get_launch_options lists networks, tax rates and pair currencies; prepare_token_launch creates the game (or adds a token to your game) and reserves the token address. Then pick one of three ways:

WayWho signsHow
LinkYou, in your own walletOpen SignUrl from the answer: the dashboard wizard continues this launch at the signing step
Ready transactionAny wallet the agent controlsbuild_token_launch_tx with wallet, sign and send, then submit_launch_tx with the hash
Local keyThe local MCP server on your computersend_launch_tx signs with the key from its settings, then submit_launch_tx

The wallet that signs becomes the token creator and receives the creator income. get_launch_status shows the state: waiting for a signature, submitted, finalized.

  • "Make a Solana game token called Moon Coin for my game and give me the link to sign it."

Market data API

GET https://site.idosgames.com/api/v2/chaindata/market?title={TitleID} returns what the platform keeps fresh in its database: price or market cap, pool and curve progress, the pair currency rate in USD and trading fees, plus the network, token address and registry version. Trade history, holders and candles are not part of this API. The same data is the MCP tool get_token_market.

Trade from code, a bot or an agent

The @idosgames/token package builds unsigned transactions: buildV4CoreTrade on EVM networks and buildSolanaTradeTransaction on Solana, with addresses taken only from the platform's network registry. Your wallet signs and sends them. On Solana the referral address gets the referral share of the trading fee.

Terminal
npm i @idosgames/token

The local MCP server (npx -y @idosgames/mcp) wraps the same package for agents: quote_token_trade, build_token_trade and send_token_trade. Without a local key the agent gives the user a link from prepare_token_trade: the app page opens with the trade panel filled in.

Trade button for your website and game

A website adds a button that opens the trade panel in a small window on idosgames.com, where the visitor signs with their own wallet:

html
<script async src="https://idosgames.com/sdk/trade-button.js"
        data-game="TITLEID" data-side="buy" data-ref="YOUR_REF"></script>

A game built with the SDK calls ctx.host.openTrade({ titleID, side: "buy", amount }): on its app page the site's trade panel opens, elsewhere the app page opens in a new tab. The game never holds a wallet. Any link works too: idosgames.com/app/{id}?trade=buy&amount=0.05. Players can also deposit the token into the game from its page.

Frequently asked questions

Does the platform ever hold my keys?

No. The platform checks the launch, reserves the token address and finishes it after the network confirms. Every transaction is signed by your wallet - in the browser, by your bot or by the local MCP server on your computer.

Which tokens can be traded through the API?

Tokens launched on the current stack - EVM networks with pool trading and Solana. Older EVM tokens answer STACK_NOT_SUPPORTED and keep trading on their app page.

Is there a limit on amounts?

No. You decide how much to spend; the platform earns its share from the trading fee of every trade.

See also

Make your own game

Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.