-
Notifications
You must be signed in to change notification settings - Fork 2
Deployment
Adrijan-Petek edited this page Jan 20, 2026
·
2 revisions
This page outlines the typical deployment lifecycle for Joybit. Exact steps vary by environment (testnet vs mainnet) and your ops tooling.
Contracts in this repo:
TreasuryMatch3GameCardGameDailyClaimBaseboundGameAchievementERC1155
Typical order:
- Deploy
Treasury(points at the JOYB token contract address). - Deploy game contracts pointing at
Treasury. - Deploy
AchievementERC1155pointing atTreasuryand an initialbaseMetadataURI. - Configure
Treasuryadmins / permissions so game contracts can credit rewards. - Fund the treasury with JOYB for payouts.
- Set contract addresses and RPC settings in
.env.local(or hosting provider env vars). - Build and deploy the Next.js app (Vercel recommended).
Wiki pages are authored in docs/wiki/ and published via .github/workflows/wiki-publish.yml.
- Enable Wiki in GitHub repository settings.
- Create an initial wiki page once (to initialize the wiki repo).
- Add the
GH_PERSONAL_ACCESS_TOKENsecret for Actions.
Full setup: docs/Wiki-Publish-Setup.md