01 — Whisp docs

Contract addresses

The program, its accounts and the mints it pays in.

Program

  • Whisp: one upgradeable program. solana program show <id> prints its upgrade authority.
    4KGHtis2EvijQcamm22FD8t5z9XCsEPDvCJQrrjqKVbP

Accounts

  • Config ["config"]: every knob, the keys, the mints and the round log's address.
    6Ei7N5QdrWzvXn5sSDiauo4ibQbPoWSMNWAhoNjRa1EC
  • Board ["board"]: the live round, every balance, stats, the seed commitment and the last 8 refunds that had a stake.
    BhmLVpWrQBSb4ovSEtfQdNbqgFFouPQaj1fmXr43mYLr
  • Vault ["vault"]: all SOL; authority of both token vaults.
    Dz4Mnv8Rfe1q4yov5n2MxWsEVKMQahD32zE9DK65LdyJ
  • ZEC vault ["zec_vault"]: the ZEC token account.
    FDV6rTix9Rn3WtvHd9Qe5PXVEHzwbgq9cavpchjVtnwR
  • WHISP vault: the vault's associated token account for the WHISP mint, created when the mint is set.
  • Stake vault: staked WHISP. The associated token account of the ["stake_vault"] PDA for the WHISP mint, created when the mint is set. Only unstake moves it.
  • Miner ["miner", authority]: one per ghost wallet. Game balance, sealed bet and bond, opened bet, owed ZEC and WHISP.
  • Stake ["stake", authority]: one per staking wallet. WHISP staked and ZEC earned.
  • Round log: a ring of 8,192 rounds, 524,296 bytes, too large for a PDA. See round_log in Config.

Keys

The admin, the crank and the ops wallet: see admin, crank and ops_wallet in Config.

Mints

  • ZEC: OmniBridge ZEC, 8 decimals, no freeze authority. Set once at initialize and enforced by the crank: check zec_mint in Config.
    A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS
  • WHISP: the pump.fun mint (Token-2022, mint authority revoked). In the game's Config as token_mint since November 12: staking is on; buying WHISP for winners waits for graduation.
    CKiyhmUhwhL8VBoZKbmKdLygGBcVAVJWnhLKq5PZpump
  • WHISP creator (dev wallet): takes WHISP's creator fees: half go into the jackpot, half buy WHISP, which it holds. No role in the game.
    96RtVGMaPvH9fxVFWzqHYyedSJ92zjkZQG5pFtToMWzL

Explain this page withClaudeChatGPTGrok