Skip to content

Repository files navigation

ACCC

Anti-Cabal Cabal Club on Robinhood Chain.

Mint a membership NFT. Each mint includes an NFT Account that can hold $ACCC and other NFTs. Perks bought for that seat stay with it when it moves.

Identity lives in lib/project.ts.

This is not TwinForge. TwinForge stays the factory.

Screens

  • / landing
  • /collection collection + $ACCC + activity
  • /market secondary listings
  • /mint genesis drop
  • /nft/... NFT + NFT Account + buy/list (showcase catalog)
  • /account?tokenId= live ERC-6551 account (claim / harvest / transfer / withdraw)
  • /arcade?tokenId= arcade (free games + $ACCC wallpaper skins)
  • /portfolio ACCC holdings
  • /plan public pitch and go-to-market
  • /seat one-page Hold / Spend / Move pitch (share this)
  • /tools gated club tools (NFT, $ACCC total, genesis still in the NFT Account)
  • /admin administrator link board (wallet allowlist)

Local

npm install
npm run dev

Open http://localhost:3000.

npm run lint
npm run typecheck
npm run build

npm run build writes a static export to out/ for Cloudflare Pages.

Contracts (Robinhood testnet)

cd contracts
forge install foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts --no-git
forge test
forge script script/DeployDistributor.s.sol:DeployDistributor --rpc-url https://rpc.testnet.chain.robinhood.com --broadcast

Live testnet addresses are baked into lib/project.ts. Override them with .env.local if you redeploy. Get testnet ETH from the faucet.

Environment

Copy .env.example to .env.local for local overrides. Cloudflare Git builds use the baked-in testnet addresses.

Variable Purpose
NEXT_PUBLIC_CHAIN_ID 46630 testnet (default) or 4663 mainnet
NEXT_PUBLIC_RPC_URL Optional Robinhood Chain RPC
NEXT_PUBLIC_WALLETCONNECT_ID Enables WalletConnect in the connect modal
NEXT_PUBLIC_NFT Live AcccNft address
NEXT_PUBLIC_TOKEN Live AcccToken address
NEXT_PUBLIC_DISTRIBUTOR Live AcccDistributor (per-NFT genesis + yield)
NEXT_PUBLIC_ARCADE Live AcccArcade (wallpaper sink)
NEXT_PUBLIC_TBA_IMPLEMENTATION Live ERC6551Account implementation
NEXT_PUBLIC_ADMINS Comma-separated wallets that can open /admin
NEXT_PUBLIC_TELEGRAM Member Telegram URL (makes the Telegram tool live)
NEXT_PUBLIC_DISCORD Member Discord URL
NEXT_PUBLIC_TOKENSMART TokenSmart desktop URL (defaults to https://desktop.tokensmart.co)

Buy/list stay mocked. Mint, claim, harvest, deposit, and withdraw are live when NFT/token/implementation addresses are set.

Cloudflare

Static export (out/). NEXT_PUBLIC_* is baked in at build time, not at request time. Framework preset: None. Build: npm run build. Deploy: npx wrangler deploy (or push main if the Cloudflare project is Git-connected).

After a deploy that includes the live addresses:

  1. Open the Cloudflare URL, go to Mint.
  2. Connect a wallet on Robinhood Chain Testnet (chain ID 46630).
  3. That wallet needs testnet ETH from the faucet (the deployer key is only for contracts; mint from your own wallet).
  4. Mint → Open NFT AccountClaim genesis $ACCC → Harvest / Withdraw.

To rebuild without a code change, set these as Cloudflare build environment variables and retry the deployment:

NEXT_PUBLIC_CHAIN_ID=46630
NEXT_PUBLIC_NFT=0xB740c4bef629d15A4B3058368E6CBC807dbC0357
NEXT_PUBLIC_TOKEN=0x9e73FB99E42C520A305b570159a6f7DD2B227Ac3
NEXT_PUBLIC_DISTRIBUTOR=0x3448096b67f3459EE2458c3618Db57a47ca602cD
NEXT_PUBLIC_ARCADE=0xc5bA7541CFB9d4F4f6e131d95acC8f246b86F77b
NEXT_PUBLIC_TBA_IMPLEMENTATION=0x8A0455E86536F57323866ed13c26febAb8ae3049
NEXT_PUBLIC_TBA_REGISTRY=0x000000006551c19487814612e58FE06813775758
NEXT_PUBLIC_ADMINS=0x727D38f876014CedA468569aE446Ea989745a4FC

Stack

Next.js App Router (static export), Tailwind, wagmi, viem, Robinhood Chain testnet (46630).

About

ACCC — Anti-Cabal Cabal Club on Robinhood Chain

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages