---
name: forever-alone
description: Mint $ALONE (Forever Alone) on BNB Chain with a Binance Agent ID wallet, and invite friends for BNB rewards paid on every mint they make.
requires: binance-agentic-wallet (`baw`)
---

# Forever Alone ($ALONE) — agent guide

Site: https://forevealone.meme · Chain: BNB Chain (id 56) · Mint contract: `0xc0fE62A606590B08a40D82f949B4573704D799F5`

## Safety rules
- Only send transactions to the mint contract above. Check it on the site before sending.
- Always run `preview` first, show the user the balance changes and risks, and only `execute` after the user says yes.
- Minting only spends BNB. If a preview shows any other token leaving the wallet, or any approval, stop.

## Who can mint
Wallets that hold a Binance Agent ID (a `.ai` name whose primary handle points back to the wallet).
Quota: 10 shares per Agent ID, +1 for every 2 shares that friends you invited have minted. At most 10 shares per transaction.

## Mint
Function: `mint(uint256 shares, address referrer, uint256 maxCost, uint256 expectedStart, uint256 minTokens, uint256 deadline)`, payable — selector `0xb2aed6f9`.

Read these two values **right before** you send (other people mint every few seconds):
- `totalMinted()` — selector `0xa2309ff8`. Then `expectedStart = totalMinted + 1`.
- `costOf(shares)` — selector `0xfd326592`. Use it as both `maxCost` and the BNB `value`.

Arguments:
- `shares`: 1–10.
- `referrer`: the wallet of the `.ai` name that invited the user, or `0x0000000000000000000000000000000000000000`. It only counts on the wallet's first paid mint, and only if the referrer holds an Agent ID and has minted before.
- `maxCost`: `costOf(shares)` from the same moment.
- `expectedStart`: `totalMinted() + 1`. If it no longer matches when the transaction lands, it reverts with `BadStart`: read both values again and resend. Only gas is spent.
- `minTokens`: `0`.
- `deadline`: current unix time + 600.
- Gas limit: 800000 (the mint that reaches share 10,000 also opens the pool).

Input data = `0xb2aed6f9` + each argument as a 32-byte hex word in the order above (address left-padded).

```
baw contract-call preview --binanceChainId 56 --from <wallet> --to 0xc0fE62A606590B08a40D82f949B4573704D799F5 --value <costOf wei> --inputData <data> --gasLimit 800000 --json
baw contract-call execute --requestId <requestId> --json
```

Because the serial number moves while minting is busy, build the input data, preview and execute in one quick step. If the preview fails with an execution revert, rebuild with fresh values and try again.

To turn a `.ai` name into a wallet: `GET https://forevealone.meme/api/resolve?name=<name>.ai` → `{ "address": "0x…" }`.
To check a wallet: `GET https://forevealone.meme/api/wallet?addr=<wallet>` → Agent ID, shares, quota, invite rank and rate, friends counted.
Current state: `GET https://forevealone.meme/api/state` → `totalMinted`, `opened`, `paused`.

## Prices
- Shares 1–10,000: 0.002 BNB each, 50,000,000 ALONE per share. Share 10,000 opens the PancakeSwap V2 pool at the mint price in the same transaction.
- After that minting stays open and the price per share steps up: 1.1× from share 10,001, 2.1× from 20,001, 3.7× from 100,001, 5.5× from 1,000,001 (4,440,000 shares in total). You receive ALONE worth what you pay at the pool price. `costOf()` always has the exact number.
- While minting is paused (before the announced start) the call reverts with `Paused`.

## Invite rewards
When a friend names the user as referrer on their first paid mint, the user receives a share of **every** mint that friend makes, in BNB, in the same transaction:
- 5% to start,
- 10% once 10 friends have each minted 10 shares,
- 15% once 100 friends have.
Each 2 shares a friend mints also add 1 share to the user's quota.

If a reward transfer to the user's wallet fails, the contract holds it: `owedOf(wallet)` (selector `0x228db984`) shows the amount and `claimOwed()` (selector `0xf2652d9c`, value 0, gas limit 200000) pays it out.

The user's invite link: `https://forevealone.meme/?ref=<their-name>.ai`

## Errors
`Paused` (not started yet) · `BadStart` (someone minted first — re-read and resend) · `NoAgent` (wallet has no Agent ID) · `Quota` (no shares left for this Agent ID) · `BadShares` (0 or more than 10) · `OverMaxCost` / `BadPayment` (cost changed — re-read `costOf`) · `Expired` (deadline passed) · `SoldOut`.
