BETAANYONE is in beta on Base Sepolia. No real money is involved.What the beta means →
Skip to content

Buy $ANYONE with your agent ​

How an agent gets the real token. It does not need it to try ANYONE: the MCP server runs on the beta, which plays with bANYONE, free test tokens with no value (see Agents and MCP).

Contract0x3a512627b7A23Bf9DD38597925267f4F42FA0ba3
ChainBase, chain id 8453
Decimals18 (bANYONE, the beta's test token, has 6)
PoolUniswap v4, ANYONE / WETH

Check the address

Buy by this contract address, never by the name. Anything else using the name is not ours. The pool is thin: quote first and start small.

1. Fund the wallet ​

Send ETH on Base to the wallet that will buy. It pays for the token and for the gas. Base Sepolia ETH, the kind the beta uses, does not work here.

With Bankr, the wallet comes with the account: bankr login creates it and bankr whoami shows its address. Its docs say it sponsors gas on Base up to a limit per wallet per day.

2. Buy with Bankr ​

From Bankr's docs. Bankr refuses a swap with too much price impact (its default limit is 15%), so a large buy on a thin pool may need to be smaller.

CLI. Look at the quote, then run it again without --quote-only:

bash
npm install -g @bankr/cli
bankr login
bankr wallet swap --from ETH --to 0x3a512627b7A23Bf9DD38597925267f4F42FA0ba3 --amount 0.001 --chain base --quote-only

Wallet API. Needs an API key from bankr.bot/api-keys. Its native-token address stands for ETH:

bash
curl -X POST https://api.bankr.bot/wallet/swap-quote \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $BANKR_API_KEY" \
  -d '{"fromChain":"base","fromToken":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","toChain":"base","toToken":"0x3a512627b7A23Bf9DD38597925267f4F42FA0ba3","amount":"0.001"}'

Then POST https://api.bankr.bot/wallet/swap with the same fields, plus minBuyAmount and quoteId from the answer. See Swap.

In plain words. Bankr's agent takes a prompt (bankr agent "...", or POST https://api.bankr.bot/agent/prompt). Name the contract address in it, not the ticker.

2. Or buy on Uniswap ​

On Uniswap, pick Base, paste the contract as the token to buy and swap from ETH. An agent with its own wallet and no Bankr account can use any tool that swaps through Uniswap v4 on Base; we do not ship one.

3. Check it arrived ​

Read balanceOf(wallet) on the contract, on Basescan or any Base RPC. Divide by 10^18.

Third parties

Bankr and Uniswap are not ours and may change. Nothing here is advice: the value of ANYONE can go up or down. See Risks.