Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC).

MITAuto-check passed

Install Fomo3d

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill fomo3d -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills fomo3d --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openclaw-fomo3d .claude/skills/fomo3d && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fomo3d
GitHub stars
2.2k
Token cost
~6.2k tokens
SKILL.md length
2,513 words
Files
59
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC).

  • Works in 3 steps: Fomo3D Main Game — Buy shares with… → Slot Machine — Bet tokens for a… → Prediction Market — Bet on the outcome…
  • The user wants to interact with Fomo3D
  • SKILL.md covers Installation and Config…, How to run (CLI), Important Concepts and Commands Reference
  • Runs TypeScript scripts from its folder; calls npm; needs FOMO3D_FLAP_TOKEN and FOMO3D_PRIVATE_KEY

What it does

Fomo3d is an agent skill from LeoYeAI/openclaw-master-skills. Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC). Fomo3D is a blockchain game where players buy shares using tokens — the last buyer before the countdown ends wins the grand prize. Includes a Slot Machine mini-game with VRF-powered random spins and a Prediction Market for betting on outcomes (sports, crypto prices, events). This skill provides a CLI to check game status, purchase shares, claim dividends, spin the slot machine, create/bet on prediction markets, and more. Use this skill whenever…

Its SKILL.md is about 6.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 61 other files (for example `_meta.json`, `bin/fomo3d.ts` and `package.json`).

It works with BNB Chain. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • The user wants to interact with Fomo3D
  • Buy/sell FOMO tokens
  • Check game status
  • Spin the slot machine

Example prompts

  • “/fomo3d”

Requirements

  • Node.js
  • A credential in FOMO3D_PRIVATE_KEY
  • A credential in FOMO3D_FLAP_TOKEN

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Fomo3D Main Game — Buy shares with tokens. Each purchase resets a countdown timer. The last buyer when the timer hits zero wins the grand…
  2. Slot Machine — Bet tokens for a VRF-powered random spin. Matching symbols win multiplied payouts (up to 100x). Depositors earn dividend…
  3. Prediction Market — Bet on the outcome of events (Yes/No/Draw). Markets use either Oracle (Chainlink price feeds) or Optimistic (human…

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • bnbchain.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FOMO3D_FLAP_TOKEN
    • FOMO3D_PRIVATE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fomo3d loads about 6.2k tokens when it runs. Until then it costs about 190 tokens; SKILL.md has 2,513 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~190
When it runs · the whole SKILL.md, loaded when a task matches
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 2,513 words, ~6,231 tokens.

Download SKILL.mdSave it as .claude/skills/fomo3d/SKILL.md (or your agent's skills folder). This skill also uses 58 other files; get the full folder from GitHub.
name
fomo3d
description
Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC). Fomo3D is a blockchain game where players buy shares using tokens — the last buyer before the countdown ends wins the grand prize. Includes a Slot Machine mini-game with VRF-powered random spins and a Prediction Market for betting on outcomes (sports, crypto prices, events). This skill provides a CLI to check game status, purchase shares, claim dividends, spin the slot machine, create/bet on prediction markets, and more. Use this skill whenever the user wants to interact with Fomo3D, buy/sell FOMO tokens, check game status, spin the slot machine, trade on FLAP Portal or PancakeSwap, create prediction markets, place bets, settle markets, or manage their BNB Chain gaming wallet.
version
1.3.0
license
MIT

Fomo3D — BNB Chain Blockchain Game

Fomo3D is a decentralized game on BNB Chain (BSC) with three game modes:

  1. Fomo3D Main Game — Buy shares with tokens. Each purchase resets a countdown timer. The last buyer when the timer hits zero wins the grand prize pool. All shareholders earn dividends from each purchase.

  2. Slot Machine — Bet tokens for a VRF-powered random spin. Matching symbols win multiplied payouts (up to 100x). Depositors earn dividend shares from every spin.

  3. Prediction Market — Bet on the outcome of events (Yes/No/Draw). Markets use either Oracle (Chainlink price feeds) or Optimistic (human proposal + challenge) settlement. Bettors earn dividends from other bets on the same market, and winners share the prize pool.

Installation and Config (required)

Ensure dependencies are installed at repo root (npm install).

A private key is required. If the user has not configured the skill yet, run fomo3d setup from the repo root. This runs an interactive CLI that prompts for:

  • BSC private key (for signing transactions)
  • Network (testnet or mainnet)
  • Optional custom RPC URL

Alternatively, set environment variables (no setup needed):

  • FOMO3D_PRIVATE_KEY — BSC wallet private key (hex, with or without 0x prefix)
  • FOMO3D_NETWORK — testnet or mainnet (default: testnet)
  • FOMO3D_RPC_URL — custom RPC endpoint (optional)
  • FOMO3D_FLAP_TOKEN — override FLAP token address for buy/sell commands (optional, for testing)

Important: The wallet must be an EOA (externally owned account), not a smart contract wallet. The game contracts require msg.sender == tx.origin.

How to run (CLI)

Run from the repo root (where package.json lives). For machine-readable output, always append --json. The CLI prints JSON to stdout in --json mode.

bash
fomo3d <command> [options] --json

On error the CLI prints {"success":false,"error":"message"} to stdout and exits with code 1. On success the CLI prints {"success":true,"data":{...}}.

Important Concepts

Token Amounts

All token amounts in CLI arguments and JSON output are in wei (18 decimals). For example:

  • 1 token = 1000000000000000000 (1e18)
  • 0.5 tokens = 500000000000000000 (5e17)

When displaying amounts to users, divide by 1e18 for human-readable values.

Share Amounts

Share amounts for purchase --shares are integers (not wei). 1 share = 1 share.

Auto-Approve

The CLI automatically checks ERC20 token allowance and approves if needed before purchase, buy, sell, slot spin, slot deposit, pred bet, pred propose, and pred dispute. No manual approval step required.

FOMO Token Trading

The FOMO token is launched on the FLAP platform (BNB Chain bonding curve). Trading uses BNB as the quote token:

  • 内盘 (Portal): Directly calls FLAP Portal's swapExactInput with native BNB
  • 外盘 (PancakeSwap V2): After the token graduates to DEX, uses PancakeSwap V2 Router

The CLI auto-detects the current phase via getTokenV6 and routes accordingly. Buy/sell commands work on both testnet and mainnet.

VRF (Verifiable Random Function)

Slot machine spins use Binance Oracle VRF for provably fair randomness. Each spin requires a small BNB fee (~0.00015 BNB) sent as msg.value. The spin result is determined by a VRF callback (1-3 blocks later) — the CLI returns the spin request transaction, not the result. Check the result with fomo3d slot status or fomo3d player afterward.

Commands Reference

Setup
bash
fomo3d setup --json

Interactive configuration. Prompts for private key, network, and optional RPC URL. Saves to config.json.

Wallet — Check Balances
bash
fomo3d wallet --json

Returns BNB balance and game token balance for the configured wallet.

Output fields: address, bnbBalance (wei), tokenBalance (wei), tokenSymbol, tokenDecimals

Status — Game Round Info
bash
fomo3d status --json

Returns current round status including countdown, prize pools, share price, and last buyers.

Output fields: currentRound, roundStatus (NotStarted/Active/Ended), paused, countdownRemaining (seconds), grandPrizePool (wei), dividendPool (wei), sharePrice (wei), totalShares, lastBuyers (address[]), pools

Strategy tip: When countdownRemaining is low, buying shares has higher expected value because you may win the grand prize. Each purchase resets the countdown by a fixed increment.

Player — Player Info
bash
fomo3d player --json
fomo3d player --address 0x1234... --json

Returns player's shares, earnings, and pending withdrawals. Without --address, uses the configured wallet.

Output fields: address, shares, totalEarnings (wei), pendingEarnings (wei), pendingWithdrawal (wei), hasExited, currentRound

Decision guide:

  • If pendingWithdrawal > 0: Must run fomo3d settle before purchasing more shares
  • If pendingEarnings > 0 and round is active: Can exit to lock in earnings, or hold for more dividends
  • If hasExited == true: Already exited this round, wait for round to end or settle
Purchase — Buy Shares
bash
fomo3d purchase --shares <integer> --json

Buy shares in the current round. The --shares value is an integer count (not wei). Token cost = shares × sharePrice (auto-calculated).

Pre-checks performed automatically:

  • Game must not be paused
  • No pending withdrawal (must settle first)
  • Token approval (auto-approved if needed)

Output fields: txHash, blockNumber, status, sharesAmount, tokensCost (wei)

Exit — Exit Game
bash
fomo3d exit --json

Exit the current round and lock in your dividend earnings.

Output fields: txHash, blockNumber, status

Settle — Claim Dividends & Prize
bash
fomo3d settle --json

Settle dividends and claim any grand prize after a round ends. Must be called if pendingEarnings > 0 or pendingWithdrawal > 0.

Output fields: txHash, blockNumber, status, pendingEarnings (wei), pendingWithdrawal (wei)

End Round — End Expired Round
bash
fomo3d end-round --json

End a round whose countdown has reached zero. Anyone can call this. The grand prize is distributed to the last buyer.

Output fields: txHash, blockNumber, status

Faucet — Claim Test Tokens (testnet only)
bash
fomo3d faucet --json

Claim 10000 test FOMO game tokens on BSC Testnet. Rate limited to 1 claim per address per hour.

Output fields: txHash, amount, token, account

Buy — Buy FOMO with BNB
bash
fomo3d buy --amount <bnb_amount_in_wei> --json

Buy FOMO tokens using BNB via the FLAP platform. Auto-detects market phase: Portal (内盘) or PancakeSwap V2 (外盘).

Example: Buy with 0.01 BNB:

bash
fomo3d buy --amount 10000000000000000 --json

Output fields: txHash, blockNumber, status, bnbSpent (wei), token, market

Note: Buy and sell commands use minOutputAmount=0 (no slippage protection). For large trades, consider splitting into smaller amounts.

Sell — Sell FOMO for BNB
bash
# 按数量卖出
fomo3d sell --amount <token_amount_in_wei> --json

# 按持仓比例卖出
fomo3d sell --percent <bps> --json

Sell FOMO tokens for BNB. Two modes:

  • --amount: Sell exact token amount (in wei, 18 decimals)
  • --percent: Sell by percentage of holdings in basis points (10000=100%, 5000=50%, 1000=10%)

Cannot use both flags simultaneously. Token allowance is auto-approved for Portal/PancakeSwap.

Example: Sell 50% of holdings:

bash
fomo3d sell --percent 5000 --json

Output fields: txHash, blockNumber, status, tokensSold (wei), market, method

Token Info — Token Status & Balances
bash
fomo3d token-info --json
fomo3d token-info --address 0x1234... --json

Query FOMO token status on the FLAP platform and balances. Works without private key (shows token status only). Supports --address flag to check another wallet.

Output fields: token, network, portal, status (Invalid/Tradable/InDuel/Killed/DEX/Staged), phase (内盘/外盘), quoteToken, price (wei), reserve (wei), circulatingSupply (wei), taxRate, progress (wei), fomoBalance (wei), bnbBalance (wei), account

Decision guide:

  • status == Tradable: Token is on 内盘 (bonding curve), buy/sell via Portal
  • status == DEX: Token has graduated to 外盘 (PancakeSwap), buy/sell via DEX
  • progress: How close to graduation (higher = closer to DEX)
Slot Status — Slot Machine Info
bash
fomo3d slot status --json

Returns slot machine configuration, prize pool, and statistics.

Output fields: paused, token, minBet (wei), maxBet (wei), prizePool (wei), totalShares, vrfFee (wei), stats { totalSpins, totalBetAmount, totalWinAmount, totalDividendsDistributed }

Note: maxBet = prizePool / 100 (dynamic). If prize pool is low, max bet is low.

Slot Spin — Spin the Slot Machine
bash
fomo3d slot spin --bet <amount_in_wei> --json

Spin the slot machine. Requires token balance for the bet AND BNB for VRF fee (~0.00015 BNB).

Constraints:

  • minBet <= bet <= maxBet
  • Wallet must have enough BNB for VRF fee
  • Cannot spin while a previous spin is pending

Payout table:

SymbolsMultiplier
💎💎💎100x
🍒🍒🍒50x
🔔🔔🔔50x
🍋🍋🍋20x

Output fields: txHash, blockNumber, status, betAmount (wei), vrfFee (wei), note

Important: The spin result is NOT in this response. The VRF callback determines the outcome 1-3 blocks later. Check fomo3d player --json or fomo3d slot status --json afterward.

Slot Cancel — Cancel Timed-Out Spin
bash
fomo3d slot cancel --json

Cancel a spin that timed out waiting for VRF callback. Only needed if VRF fails to respond.

Output fields: txHash, blockNumber, status

Slot Deposit — Deposit to Prize Pool
bash
fomo3d slot deposit --amount <amount_in_wei> --json

Deposit tokens into the slot machine prize pool. WARNING: Deposited tokens are permanently locked. You receive dividend shares in return — each spin distributes 5% of the bet amount to all depositors proportionally.

Output fields: txHash, blockNumber, status, amount (wei)

Slot Claim — Claim Slot Dividends
bash
fomo3d slot claim --json

Claim accumulated dividends from slot machine deposits.

Output fields: txHash, blockNumber, status, dividends (wei)

Pred Config — Prediction Market Config
bash
fomo3d pred config --json

Returns global prediction market configuration.

Output fields: network, diamond, token, minBet (wei), devFeeBps, creatorFeeBps, dividendBps, nextMarketId, totalMarkets, paused, minDuration (seconds)

Pred Market — Market Details
bash
fomo3d pred market --id <marketId> --json

Returns detailed info for a specific prediction market.

Output fields: marketId, title, creator, status (Active/Closed/Resolved), outcome (Yes/No/Draw, only when Resolved), settlementType (Oracle/Optimistic), drawEnabled, endTime, timeRemaining (seconds), prizePool (wei), totalYesShares (wei), totalNoShares (wei), totalDrawShares (wei), totalShares (wei), totalBets, totalBetAmount (wei), totalDividendsDistributed (wei), metadataURI

Decision guide:

  • status == Active: Market is open for betting
  • status == Closed: Market ended, waiting for settlement
  • status == Resolved: Settlement complete, winners can pred claim
  • timeRemaining == 0: Market has ended, needs settlement
Pred Position — Player Position
bash
fomo3d pred position --id <marketId> --json
fomo3d pred position --id <marketId> --address 0x1234... --json

Returns player's position in a specific market. Without --address, uses the configured wallet.

Output fields: marketId, player, yesShares (wei), noShares (wei), drawShares (wei), pendingYesDividends (wei), pendingNoDividends (wei), pendingDrawDividends (wei), estimatedPrizeIfYes (wei), estimatedPrizeIfNo (wei), estimatedPrizeIfDraw (wei), exited, settled

Decision guide:

  • pendingXxxDividends > 0: Accumulated dividends, claim via pred exit or pred claim
  • estimatedPrizeIfXxx: How much you'd win if that side wins (before fees)
  • exited == true: Already exited all sides
  • settled == true: Already claimed settlement
Pred Bet — Place a Bet
bash
fomo3d pred bet --id <marketId> --side <yes|no|draw> --amount <wei> --json

Place a bet on a prediction market. The --side value is yes, no, or draw. Amount is in wei. A portion (dividendBps%) of each bet goes to existing holders as dividends; the rest goes to the prize pool.

Pre-checks performed automatically:

  • Market must be Active (not paused)
  • Amount must be >= minBet
  • Token approval (auto-approved if needed)

Output fields: txHash, blockNumber, status, marketId, side, amount (wei)

Show full SKILL.md (1,012 more words)Show less
Pred Exit — Exit a Side
bash
fomo3d pred exit --id <marketId> --side <yes|no|draw> --json

Exit one direction and claim accumulated dividends for that side. Can be called even when the contract is paused (user safety). Dev fee + creator fee are deducted from dividends.

Output fields: txHash, blockNumber, status, marketId, side

Pred Claim — Claim Settlement
bash
fomo3d pred claim --id <marketId> --json

After a market is Resolved, claim your winnings. Winners receive: accumulated dividends + prize pool share. Losers receive: accumulated dividends only. Dev fee + creator fee are deducted.

Output fields: txHash, blockNumber, status, marketId

Pred Create — Create Optimistic Market
bash
fomo3d pred create --title <string> --end-time <unix_timestamp> --bond <amount_in_wei> --challenge-period <seconds> [--draw] --json

Create a new prediction market using optimistic oracle settlement. Anyone can create a market.

Parameters:

  • --title: Market question (max 200 bytes)
  • --end-time: Unix timestamp when betting closes
  • --bond: Bond amount required for proposing/disputing outcome (in wei, min 0.01 FOMO)
  • --challenge-period: Time window for disputes in seconds (min 600s = 10min, max 604800s = 7 days)
  • --draw: Include this flag to enable Draw as a third option

Output fields: txHash, blockNumber, status, marketId, title, endTime, bondAmount (wei), challengePeriod (seconds), drawEnabled

Pred Oracle — Oracle Market Info
bash
fomo3d pred oracle --id <marketId> --json

View Chainlink oracle configuration for an Oracle-type market. Shows price feed, strike price, condition, and current price.

Output fields: marketId, feedAddress, feedDescription, feedDecimals, strikePrice, strikePriceFormatted, isAbove, condition, currentPrice, currentPriceFormatted, settlementPrice, settlementPriceFormatted

Pred Optimistic — Optimistic Settlement Status
bash
fomo3d pred optimistic --id <marketId> --json

View optimistic oracle status for an Optimistic-type market. Shows proposal state, challenge deadline, and available actions.

Output fields: marketId, bondAmount (wei), challengePeriod (seconds), hasProposal, proposer, proposedOutcome, proposalTime, disputed, disputer, challengeDeadline, challengeRemaining (seconds), canFinalize, canDispute

Decision guide:

  • hasProposal == false: Market needs someone to pred propose an outcome
  • canDispute == true: Proposal is open for challenge via pred dispute
  • canFinalize == true: Challenge period passed, call pred finalize
  • disputed == true: Needs arbiter to pred resolve
Pred Settle Oracle — Settle with Oracle
bash
fomo3d pred settle-oracle --id <marketId> --json

Settle an Oracle-type market using Chainlink price feed. Permissionless — anyone can call this after market ends.

Output fields: txHash, blockNumber, status, marketId

Pred Propose — Propose Outcome
bash
fomo3d pred propose --id <marketId> --outcome <yes|no|draw> --json

Propose the outcome for an Optimistic-type market. Requires bond (auto-approved from token balance). Bond is returned if proposal is not disputed and is finalized.

Output fields: txHash, blockNumber, status, marketId, outcome, bondAmount (wei)

Pred Dispute — Dispute Proposal
bash
fomo3d pred dispute --id <marketId> --json

Challenge a proposed outcome within the challenge period. Requires same bond amount (auto-approved). If you win the dispute, you get your bond back + 50% of proposer's bond.

Output fields: txHash, blockNumber, status, marketId, bondAmount (wei)

Pred Finalize — Finalize Outcome
bash
fomo3d pred finalize --id <marketId> --json

Finalize a proposed outcome after the challenge period expires without dispute. Returns the proposer's bond and resolves the market.

Output fields: txHash, blockNumber, status, marketId

Pred Resolve — Arbiter Resolve Dispute
bash
fomo3d pred resolve --id <marketId> --outcome <yes|no|draw> [--proposer-wins] --json

Resolve a disputed market. Only the contract owner or designated arbiters can call this. The winner gets their bond back + 50% of loser's bond. The other 50% goes to devAddress.

Parameters:

  • --outcome: The correct outcome
  • --proposer-wins: Include this flag if the proposer was correct (default: disputer wins)

Output fields: txHash, blockNumber, status, marketId, outcome, winnerIsProposer

First-Time Setup
  1. fomo3d setup — configure wallet and network
  2. fomo3d wallet --json — verify BNB and token balances
  3. fomo3d status --json — check game state
Testing on Testnet

Before using real funds on mainnet, test all features on BSC Testnet. You need:

  • tBNB: Get from BNB Chain Faucet (for gas + token trading)
  • Test FOMO tokens: Use the built-in faucet command (for game actions)
bash
# 1. Setup with testnet
fomo3d setup    # select "testnet", enter your private key

# 2. Claim test game tokens (10000 FOMO per call, 1h cooldown)
fomo3d faucet --json

# 3. Check balances
fomo3d wallet --json

# 4. Test game: purchase → player → exit → settle
fomo3d purchase --shares 1 --json
fomo3d player --json
fomo3d exit --json

# 5. Test slot machine
fomo3d slot status --json
fomo3d slot spin --bet 1000000000000000000 --json  # 1 FOMO

Note: Testnet has two separate FOMO tokens:

  • Game token (0x57e3...5d46): Used by purchase, slot spin, slot deposit. Get via faucet.
  • FLAP token (0x32bf...8888): Used by buy/sell on FLAP Portal. Buy with tBNB.
Testing Token Trading — 内盘 (Portal)

The default FOMO token on testnet (0x32bf...8888) is in 内盘 (Portal bonding curve) phase. Test buy/sell with tBNB:

bash
# Check token status — should show "phase": "内盘 (Portal)"
fomo3d token-info --json

# Buy with 0.001 tBNB
fomo3d buy --amount 1000000000000000 --json

# Sell 50% of holdings
fomo3d sell --percent 5000 --json
Testing Token Trading — 外盘 (PancakeSwap)

To test the PancakeSwap DEX path, use FOMO3D_FLAP_TOKEN env var to override the token address with a PancakeSwap-listed testnet token:

bash
# Use a testnet token with PancakeSwap V2 liquidity
export FOMO3D_FLAP_TOKEN=0xFa60D973F7642B748046464e165A65B7323b0DEE

# Check token info (should fallback to PancakeSwap)
fomo3d token-info --json

# Buy with 0.001 tBNB via PancakeSwap
fomo3d buy --amount 1000000000000000 --json

# Sell 100% via PancakeSwap
fomo3d sell --percent 10000 --json

# Unset to return to default FOMO token
unset FOMO3D_FLAP_TOKEN

How it works: The CLI auto-detects the market phase via FLAP Portal getTokenV6. If the token is not on FLAP (query fails) or has status DEX (4), it routes to PancakeSwap V2 Router. If status is Tradable (1), it routes to Portal.

Buying FOMO Tokens
  1. fomo3d token-info --json — check token status and your BNB balance
  2. fomo3d buy --amount 10000000000000000 --json — buy with 0.01 BNB
  3. fomo3d token-info --json — verify FOMO balance
Selling FOMO Tokens
  1. fomo3d token-info --json — check FOMO balance
  2. fomo3d sell --percent 5000 --json — sell 50% of holdings
  3. Or: fomo3d sell --amount 1000000000000000000 --json — sell exactly 1 FOMO
Playing Fomo3D
  1. fomo3d status --json — check round status and countdown
  2. fomo3d purchase --shares 1 --json — buy shares (start small)
  3. fomo3d player --json — check your earnings
  4. When ready to claim: fomo3d exit --json then fomo3d settle --json
  5. If countdown reaches 0 and you're the last buyer: fomo3d end-round --json then fomo3d settle --json
Playing Slot Machine
  1. fomo3d slot status --json — check min/max bet and prize pool
  2. fomo3d slot spin --bet <amount> --json — spin
  3. Wait 5-10 seconds for VRF callback
  4. fomo3d player --json — check if you won
Earning Passive Income (Slot Dividends)
  1. fomo3d slot deposit --amount <amount> --json — deposit tokens (permanent)
  2. Periodically check: fomo3d slot claim --json — claim dividends
Playing Prediction Market
  1. fomo3d pred config --json — check prediction market config and minBet
  2. fomo3d pred market --id 1 --json — view a specific market
  3. fomo3d pred bet --id 1 --side yes --amount 1000000000000000000000 --json — bet 1000 FOMO on Yes
  4. fomo3d pred position --id 1 --json — check your position and dividends
  5. After market resolves: fomo3d pred claim --id 1 --json — claim winnings
  6. Or exit early: fomo3d pred exit --id 1 --side yes --json — exit and claim dividends
Creating a Prediction Market
bash
# Calculate end time: now + 24 hours
END_TIME=$(($(date +%s) + 86400))

# Create market with 10 FOMO bond, 1 hour challenge period
fomo3d pred create \
  --title "Will BTC reach $100k by end of March?" \
  --end-time $END_TIME \
  --bond 10000000000000000000 \
  --challenge-period 3600 \
  --json
Settling an Optimistic Market
bash
# 1. Check market status — should be "Closed" (endTime passed)
fomo3d pred market --id 1 --json

# 2. Propose the outcome
fomo3d pred propose --id 1 --outcome yes --json

# 3. Check optimistic status — see challenge deadline
fomo3d pred optimistic --id 1 --json

# 4a. If no dispute — finalize after challenge period
fomo3d pred finalize --id 1 --json

# 4b. If disputed — arbiter resolves
fomo3d pred resolve --id 1 --outcome yes --proposer-wins --json

# 5. Winners claim
fomo3d pred claim --id 1 --json

Global Flags

FlagDescription
--jsonJSON output (always use for programmatic access)
--network testnet|mainnetOverride network
--helpShow help
--versionShow version

Network Info

NetworkChain IDFomo3D DiamondSlot DiamondPrediction DiamondGame TokenFLAP Token (buy/sell)
BSC Testnet970x22E309...23a60x007813...F6780x7617A5...ca010x57e3a4...5d460x32bfe5...8888
BSC Mainnet560x062AfaB...948b0x6eB59f...156E0xc64083...8d450x13f266...77770x13f266...7777

Note: Prediction Market uses the same game token as Fomo3D and Slot Machine.

Trading Contracts

ContractTestnetMainnetPurpose
FLAP Portal0x5bEacaF7ABCbB3aB280e80D007FD31fcE26510e90xe2cE6ab80874Fa9Fa2aAE65D277Dd6B8e65C9De0内盘交易 + 状态查询
PancakeSwap V2 Router0xD99D1c33F9fC3444f8101754aBC46c52416550D10x10ED43C718714eb63d5aA57B78B54704E256024E外盘交易
Quote TokenBNB (native)BNB (native)支付媒介

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 58 other files in skills/openclaw-fomo3d of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • _meta.json
  • bin/fomo3d.ts
  • package.json
  • src/abi/ExitFacet.json
  • src/abi/LifecycleFacet.json
  • src/abi/PredAdminFacet.json
  • src/abi/PredOptimisticSettleFacet.json
  • src/abi/PredOracleSettleFacet.json
  • src/abi/PredPredictionFacet.json
  • src/abi/PredSettleFacet.json
  • src/abi/PredViewFacet.json
  • src/abi/PurchaseFacet.json
  • src/abi/SlotDepositFacet.json
  • src/abi/SlotMachineFacet.json
  • src/abi/SlotViewFacet.json
  • src/abi/ViewFacet.json
  • src/commands
  • … and 41 more

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Fomo3d next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fomo3d compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fomo3d this skillLeoYeAI/openclaw-master-skills2.2k—~6.2kAutomated safety check: PassMIT
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT
BNB Chain MCP Serverinternet-court/internet-court-skill6.5k1 repos~1.7kAutomated safety check: PassMIT
Notebook To Strategytradingstrategy-ai/trade-executor160—~1.1kAutomated safety check: PassCustom licence
Wallet MCPbase/skills121—~3.7kAutomated safety check: PassMIT
Payram Crypto PaymentsPayRam/payram-mcp158—~2kAutomated safety check: NotesNone

Similar skills

  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • BNB Chain MCP Server

    internet-court/internet-court-skill

    Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

    6.5k GitHub starsUsed in 1 repo~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Notebook To Strategy

    tradingstrategy-ai/trade-executor

    Transfer code from a backtesting Jupyter notebook to a Trade Executor strategy module

    160 GitHub stars~1.1k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Wallet MCP

    base/skills

    Wallet MCP — gives your AI assistant access to a Coinbase Wallet Account via the Wallet MCP server (wallet-mcp.coinbase.com).

    121 GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Payram Crypto Payments

    PayRam/payram-mcp

    Self-hosted crypto and stablecoin payment gateway. An agent skill from PayRam/payram-mcp.

    158 GitHub stars~2k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Symbiosis

    BankrBot/skills

    Cross-chain token swaps across 54+ blockchains via Symbiosis protocol.

    1.2k GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,235 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Fomo3d

What does Fomo3d do?

Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC). Fomo3d is an agent skill from LeoYeAI/openclaw-master-skills. Play Fomo3D, Slot Machine, and Prediction Market on BNB Chain (BSC).

When should I use Fomo3d?

Fomo3d fits situations like: the user wants to interact with Fomo3D; buy/sell FOMO tokens; check game status; spin the slot machine.

How do I install Fomo3d in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill fomo3d -a claude-code`. Or copy the skill folder (skills/openclaw-fomo3d in LeoYeAI/openclaw-master-skills) into .claude/skills/fomo3d in your project. Claude Code loads it when a task matches its description.

How do I install Fomo3d in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill fomo3d -a codex`. Or copy the skill folder (skills/openclaw-fomo3d in LeoYeAI/openclaw-master-skills) into .agents/skills/fomo3d in your project. Codex loads it when a task matches its description.

Can I use Fomo3d in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill fomo3d -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fomo3d, .gemini/skills/fomo3d, .github/skills/fomo3d and .opencode/skills/fomo3d in your project.

What does Fomo3d need to run?

Going by SKILL.md and its folder, Fomo3d needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npm) and credentials named FOMO3D_FLAP_TOKEN and FOMO3D_PRIVATE_KEY. Our summary lists: Node.js; A credential in FOMO3D_PRIVATE_KEY; A credential in FOMO3D_FLAP_TOKEN.

Does Fomo3d access the network?

SKILL.md names 1 domain. As links in the text: bnbchain.org. This is read from the text; nothing was executed.

Is Fomo3d safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fomo3d use?

Fomo3d is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fomo3d use?

About 6.2k tokens (SKILL.md is roughly 25k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fomo3d?

Skills that share tags, products or a category with Fomo3d: Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars), BNB Chain MCP Server (internet-court/internet-court-skill, 6.5k stars), Notebook To Strategy (tradingstrategy-ai/trade-executor, 160 stars) and Wallet MCP (base/skills, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fomo3d?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,160 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.