Wicket docs
Wicket keeps a Telegram group or Discord server to one account per human. A member proves it with their Binance Agent ID: their own agent sends one transaction that takes a seat on BNB Chain. The contract only seats wallets that hold an Agent ID, one seat per Agent ID per community, and one Agent ID per account.
- Contract
0xf455725efd0DfcD4FbBf97CD756850e2168E4A10on BNB Chain (56), verified on BscScan and Sourcify - Agent ID registry
0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F - Telegram @wicketid_bot · Discord add the app · Source GitHub (MIT)
Verify as a member
- Tap Verify with Agent ID (Telegram welcome message or Discord panel), or type
/verify. - Wicket sends you an instruction privately: a Telegram DM, or a message only you can see on Discord. It contains the contract address,
value: 0and the call data. - Paste it to Binance AI Pro, or to your own agent with the Agentic Wallet skill. Developer Mode must be on (Binance App → Agentic Wallet → Settings → Developer Mode).
- Your agent shows you a preview. Check it calls Wicket with value 0, then confirm.
- Tap Check my seat. You are unmuted on Telegram, or get the Wicket Verified role on Discord.
Cost: BNB gas only, about one cent, once per community.
Move your seat to another account
Ask your agent to call leave for that community (the skill knows how), then verify the new account. The old account is muted the next time it speaks on Telegram, or loses the role within 15 minutes on Discord.
New wallet, or lost your Agent ID
A seat held by a wallet that no longer has an Agent ID stops counting. Send the same instruction from the wallet that holds your Agent ID now, and it takes the seat over.
Add to Telegram
- Add @wicketid_bot to your group.
- Make it an admin with Ban users (to mute), Delete messages and Invite users. It posts “Wicket is on”.
- New members are muted until they verify. Existing members are never muted; they can verify with
/verify./wicketshows the seat count read from BNB Chain.
Approve-only mode
Turn on Approve new members in the group settings. Wicket then approves join requests from people who already hold a seat, and sends everyone else the agent instruction by DM. Unverified people never see the group.
Re-locking
When an account speaks, Wicket reads status(room, pass) (at most every 3 minutes per member). If the account once held a seat and lost it, the message is deleted and the account is muted with a verify button. If BNB Chain can't be read, nothing happens. The group owner and admins can't be muted by any bot.
Add to Discord
- Add the app. It asks for Manage Roles, View Channels, Send Messages and Embed Links.
- In a channel newcomers can see, run
/wicket-setup(needs Manage Roles). It creates the Wicket Verified role with no permissions and posts the verify panel. - Lock the rest of the server to that role: in each channel's permissions, turn off View Channel for @everyone and turn it on for Wicket Verified.
/verify and /wicket work in any channel. Every 15 minutes Wicket re-checks every role holder with checkMany and removes the role where the seat is gone. Wicket refuses to hand out the role if someone gives it moderator or admin permissions, and its own role must sit above it.
Wicket Lists
A list is one entry per human, anywhere a link can go: an X giveaway, a WhatsApp community, an allowlist. There is no bot and no database. Make one with a title, an optional closing time and a number of winners; the link is the list.
- Room. The list's room is
keccak256("wicket:list:v1:" + id), where the id is the last part of the link. It's public on purpose, so any contract can checkisMember(room, wallet). - Entry. An entrant gets a ticket: a pass with an optional handle in its first bytes and 16 random bytes after it, so nobody can take someone else's pass ahead of them. Their agent calls
enter(room, pass). The contract seats one pass per Agent ID per room, so a second account gets nothing. - Draw. When a list with winners closes, the pool is every entry before the first block after closing time, in (block, log index) order. The seed is
keccak256(blockHash ‖ room)of that block, and winneriis removed from the pool atkeccak256(seed ‖ i) mod pool.length. Anyone can re-run it from the CSV and the block hash.
Handles are typed by entrants and prove nothing; the Agent ID name next to each entry is read from the registry and does. Lists are made by anyone, and Wicket doesn't vet titles. The agent instruction never includes the list's title, so a list can't smuggle text into an entrant's agent.
GET /api/lists/<id> entries, count, draw GET /api/lists/<id>/ticket?label=x a fresh pass + the call for your agent GET /api/lists/<id>?pass=0x… is this pass seated yet GET /api/lists/<id>/csv every entry, for your own checks
For agents
Install the skill, or read it at /skill.md (and /llms.txt).
npx skills add 0xdopewilly/wicket
Or connect the MCP server, wicket-mcp (source in mcp/, listed in the official MCP Registry as io.github.0xdopewilly/wicket-mcp). It has seven tools to check an Agent ID, make and read lists, get the call that enters one, read verify links and ask the contract about membership. It never holds keys or sends anything.
claude mcp add wicket -- npx -y wicket-mcp
Before anything else, check the instruction:
- the target is exactly
0xf455725efd0DfcD4FbBf97CD756850e2168E4A10; - the value is
0; - the data starts with
0x88565243(enter(bytes32,bytes32)) and has 136 hex characters after0x.
baw wallet settings --json # devMode.enabled must be true baw contract-call preview --binanceChainId 56 --from <wallet> \ --to 0xf455725efd0DfcD4FbBf97CD756850e2168E4A10 --value 0 --inputData <hex> --json # show parsedTx, simulationResult and risks; on a clear yes: baw contract-call execute --requestId <id> --json
Simulation errors:
NoAgentID(): the wallet has no Agent ID.AlreadySeated(bytes32): this Agent ID already sits in that community. Leave first to move it.PassTaken(address): the account is backed by another Agent ID that is still valid.
To leave: the room tag is hex characters 10–73 of the enter data. The call data is 0x5265303c followed by that tag. Never ask for seed phrases, keys, pairing codes or QR scans; Wicket never needs them.
Contract
No owner, admin, upgrade, pause, mint, fees or withdraw. Every function is non-payable. The only external calls are read-only views on the Agent ID registry.
enter(bytes32 room, bytes32 pass) | Take a seat. A pass held by a wallet that no longer has an Agent ID is taken over. |
leave(bytes32 room) | Give up your seat in a room. |
check(room, pass) → (holder, valid) | valid re-checks the Agent ID every time. |
status(room, pass) → (holder, valid, wasUsed) | wasUsed && !valid means the account lost its seat. |
checkMany(room, passes) → bool[] | Batch re-check. |
isMember(room, wallet) → bool | For other contracts. |
isAgent(address) → bool | balanceOf > 0 and the .ai handle resolves back. |
seats(room), roomsOf(holder), totalSeats(), humans(), used(room, pass) | Counters and flags. |
Events: Entered(room, holder, pass), Left(room, holder, pass). Errors: EmptyTag, NoAgentID, AlreadySeated(pass), PassTaken(holder), NotSeated.
Build on it
Limit an airdrop, allowlist or vote to the verified humans of one community. Discord admins get their room tag from /wicket-setup.
interface IWicket {
function isMember(bytes32 room, address who) external view returns (bool);
}
IWicket constant WICKET = IWicket(0xf455725efd0DfcD4FbBf97CD756850e2168E4A10);
function claim() external {
require(WICKET.isMember(ROOM, msg.sender), "verified members only");
// one claim per human of that community
}Live numbers: /state.json.
Privacy and limits
- Seats store two HMAC tags. Outsiders can't tell which community or account a seat belongs to.
- Telegram and Discord tags live in separate namespaces and never collide.
- Members of a community share its room tag, so they could list which Agent IDs sit in it, but not which account each one uses.
- Whoever runs the bot holds the tag key and could link accounts to wallets. Wicket's bot stores nothing and shows no one's wallet or .ai name. Run your own if that matters to you.
- A pending transaction is public, so someone could seat a copied pass first. That spends their own seat in that community, and the member still gets in.
Run your own
Deploy web/ from the repository to any Node host and set:
WICKET_TAG_SECRET= # 32+ random bytes; losing it orphans every seat WICKET_ADDRESS=0xf455725efd0DfcD4FbBf97CD756850e2168E4A10 TELEGRAM_BOT_TOKEN= TELEGRAM_BOT_USERNAME= TELEGRAM_WEBHOOK_SECRET= DISCORD_APP_ID= DISCORD_PUBLIC_KEY= DISCORD_BOT_TOKEN= CRON_SECRET= node scripts/set-webhook.ts https://<host>/api/telegram node scripts/discord-register.ts https://<host>/api/discord