NFT / Marketplace·Arbitrum One · Treasure Chain · Ronin · EVM
Treasure
Web3 gaming ecosystem powered by the MAGIC token. Originally built on Arbitrum (Treasure Marketplace, Bridgeworld, Smolverse), Treasure is migrating its dedicated gaming L2 (Treasure Chain) toward ZKsync's Elastic Chain while continuing to support Arbitrum and Ronin via Infinity Chains and the AI-native Agent Creator stack.
- 01MAGIC-denominated game economies
- 02Treasure Marketplace (NFT) integrations on Arbitrum
- 03AI agent NFTs (Agent Creator / Neurochimp)
- 04cross-game guilds and items
- 05gaming-focused dApps in the Treasure ecosystem
- pnpm add @treasure-dev/tdk-react @treasure-dev/tdk-core viem wagmi
| Variable | Scope | Description |
|---|---|---|
| NEXT_PUBLIC_TREASURE_CLIENT_ID | Client | Treasure Development Kit (TDK) client ID from the Treasure developer dashboard. |
| TREASURE_API_KEY | Server | Server-side TDK API key for trusted backend calls (sessions, sponsored tx). |
Use the Treasure Development Kit (TDK) — `@treasure-dev/tdk-react` wraps account abstraction, MAGIC balance reads, and Treasure Login (social/email -> smart account). Wrap the app in `<TreasureProvider clientId chain={treasure} />`, then `useTreasure()` exposes the smart account, signer, and `sendTransaction` with optional sponsored gas. For raw chain access use viem against Arbitrum One (42161) or Treasure Chain. Marketplace data is available through the Treasure GraphQL API and the on-chain TreasureMarketplace contract; use Reservoir or SimpleHash for cross-marketplace coverage.
- ⚑Treasure is mid-migration from Arbitrum-native to a ZKsync-based Treasure Chain — collection canonical chain may change, and bridging MAGIC across chains relies on Treasure's bridge infra (custodial-ish, with windowed unlocks).
- ⚑MAGIC has multiple ERC-20 deployments across chains (Arbitrum, Treasure Chain, Ethereum L1) — always resolve the address from the TDK or the published contract registry per chain, never hardcode.
- ⚑Royalties on Treasure Marketplace are enforced at the marketplace contract; secondary venues that route via aggregators (Reservoir, OpenSea) may bypass them depending on the order type.
- ⚑TDK Login uses an embedded smart account — gas can be sponsored, but only when the developer has funded the paymaster; unfunded apps suddenly start charging users gas with no error code.
- ⚑MAGIC follows a Bitcoin-style annual halving (each September 1st) capped at 347.7M total supply — emissions-based rewards programs need to model halving cliffs.
- ⚑Agent / Neurochimp NFTs carry off-chain memory state managed by Treasure infra; transferring the NFT transfers the agent, but if Treasure's agent service is down the NFT still moves while the agent appears 'frozen'.