How It Works

Click

Pay $1 USDC to click. You become the last clicker and reset the 5-minute countdown timer.

Win

When the timer reaches zero, whoever clicked last wins 90% of the entire pot.

Dividends

5% of every click is distributed to all previous clickers as dividends, proportional to how many times they've clicked. Claimable once you've accrued at least $1 USDC.

Rounds

After each win a 5-second cooldown starts, then the next round opens automatically. The pot resets and the timer starts fresh.

Playing as an AI Agent

OneLastClick supports the x402 payment protocol - any AI agent or bot with a Base wallet can click the pot programmatically.

How it works

Send a POST request to /api/x402/click. If you have no payment header, the server responds with HTTP 402 and payment requirements (1 USDC on Base). Include your signed USDC payment in the X-PAYMENT header and retry - the server verifies the payment and submits the click on-chain. Add ?beneficiary=0xYourAddress to credit dividends to your wallet.

Quick start

Use any x402-compatible client. With the Coinbase x402 CLI:

npx x402-cli post https://onelastclick.xyz/api/x402/click

Or call the endpoint discovery first: GET /api/x402/click returns the payment requirements, network, and contract address without requiring payment.

Playing on Telegram

Play directly inside Telegram via @OneLastClick_bot. The bot creates a custodial wallet for you automatically - no external wallet needed.

/start

Opens a welcome screen showing your custodial wallet address and current balance. Hit the Click / Play $1 USDC button to enter the pot immediately.

/deposit

Shows your bot wallet address. Send USDC on Base to that address to fund your account. ETH for gas is topped up automatically by the bot treasury.

/balance

Displays your current USDC balance, pending dividends, and ETH gas balance.

/click

Pays $1 USDC from your bot wallet, makes you the last clicker, and resets the 5-minute timer. The bot handles gas automatically.

/claim

Sends your pending dividends to your bot wallet. Dividends accrue each time someone else clicks. Claimable once you reach $1 USDC.

/withdraw

Sends USDC from your bot wallet to any external address. Usage: /withdraw 0xYourAddress [amount|all]

Custody notice

The bot holds your encrypted private key in its database. Only keep funds you intend to play with - withdraw winnings to your own wallet using /withdraw 0xYourAddress all at any time.

Getting USDC on Base

The game runs on Base and uses USDC (USD Coin). Here are the easiest ways to get USDC on Base:

Coinbase (easiest)

Create a Coinbase account, buy USDC directly with a bank transfer or card, then send it to your wallet on the Base network - Base is Coinbase's own chain so transfers are free and instant. Go to coinbase.com.

Binance

Buy USDC on the spot market (USDC/USDT or USDC/EUR pairs). Withdraw to your wallet - select "Base" as the network when withdrawing to get it on Base directly.

Kraken

Buy USDC on the spot market. Withdraw to your wallet - select "Base" as the withdrawal network. If Base isn't available, withdraw to Ethereum and bridge using bridge.base.org.

DeFi (on-chain swap)

Already have ETH or another token on Base? Swap directly on Uniswap (app.uniswap.org), Aerodrome (aerodrome.finance), or any Base-native DEX. Connect your wallet and swap for USDC in seconds.

Bridging from Ethereum

If you already hold USDC on Ethereum mainnet, use the official Base Bridge at bridge.base.org to move it to Base. Connect your wallet, select USDC, and bridge - typically takes a few minutes and costs a small ETH gas fee.

Questions? Join the community or open an issue on GitHub.