AresRPG is a browser MMORPG where every character, item, fight and trade is a Sui object — the
client is a renderer of chain truth, with zkLogin onboarding and player-paid transactions.
This repository is the whole game: frontend, 3D voxel engine, deterministic combat and its Move
twin, SDK, indexer, server, protocol, immutable rules, and the authored seed corpus. Game content
(items, mobs, spells, and worlds) lives in seed/ and is published on-chain.
bun install
bun run dev # the site and the game at 127.0.0.1:5173
bun run lint # eslint + prettier
bun run test # the canonical suite, the same command CI runsCommitted pins.json describes mainnet. Local testnet uses ignored .dev/pins.json; it never
falls back to mainnet. Run the frontend normally for the selected network.
The project issues KARES itself (packages/currency) and locks its market liquidity in one Aftermath
pool at launch. The site's /staking page hosts staking and shows the token's allocations in its
Tokenomics section. The earlier Blast presale failed; its sale card and /allocation remain only for refunds.
Solana bridge reads use the same-origin /api/solana function. SOLANA_RPC_URL is
server-only configuration.
The endpoint must support SPL Token and Token-2022 account reads. Never use a VITE_ variable
for this credential. For local development, set the same server-only variable in the frontend's
ignored local environment; Vite serves the same relay handler. Requests retain the site's Origin,
so the upstream provider must allow that domain (including localhost when used locally).
The relay admits bounded read requests only; the player's Solana wallet signs and broadcasts the
NEAR Intents deposit itself. The receiving Sui wallet remains fixed and has no bridge signer.
Read ARCHITECTURE.md for the current system, DECISIONS.md
for active design rulings, and CONTRIBUTING.md for the workflow. Changes to
architecture argue the model first; implementation composes the approved owners and seams.
This is source-available software, developed in the open — not open-source. See LICENSE for the binding text; the honest summary:
You may: copy, modify, publish, host, and sell clients, game remakes, fan tools, and services.
Commercial businesses and profit-making automation or bots are welcome. Use the official deployment
identified by our published pins.json for AresRPG on-chain gameplay and economic operations.
You may not: deploy or republish our smart contracts or derivatives on any blockchain network, or substitute another deployment. Contract changes are limited to bug and security fixes; preparing a fix does not grant permission to deploy it. Compilation and unit tests without deployment are allowed.
Keep the license and copyright notices when redistributing. The AresRPG name and logo are not licensed for branding your own product. Contributions back require the CLA. WebSocket presence is encouraged so bots appear and participate on the shared map, but it is optional; performance-focused clients can interact directly with the chain. See the agent playbook.
