ACN-Play is a next-generation ecosystem built on the AITech Cloud Network, using decentralized AI. It supports multiple blockchains like Ethereum (EVM), Solana, and more. Play-to-Earn (P2E) mechanics let you earn real crypto rewards.
- Decentralized AI
- Multi-Chain Support: Play on Ethereum (EVM), Solana, and other supported blockchains. Your assets and rewards can move between chains.
- Play-to-Earn (P2E): Earn real crypto rewards while playing. Rewards are powered by the AITech Cloud Network's AI to make payouts fair.
- NFT Avatars: Create and use NFT avatars, supported on Ethereum, and other networks.
- On-Chain Game Logic: All gameplay is controlled by smart contracts.
- Token Integration: Stake and earn with native tokens across different blockchains.
- Mobile and Desktop Ready: The platform works on both desktop and mobile devices.
- More Games: New games like Blackjack, Roulette, Slots, and others. All powered by decentralized AI.
- Tournaments: Compete in cross-chain tournaments with prize pools. AI will manage the events and rewards.
- Social Features: Chat, add friends, and interact with other players across different blockchains.
- Better P2E: Improved reward systems that will work across all blockchains with the help of AI.
git clone <git-repository-url>
cd <project directory name>
# Install and start backend dependencies
npm install
npm start
# Install frontend dependencies
cd client
npm install
cd ..
# Run both with one command from the root:
npm start- JWT issuance –
POST /api/authincontrollers/auth.jssigns a JWT withconfig.JWT_SECRET_KEY(seeSESSION_EXPIRES_IN). The payload only containsuser.idso you can safely extend it. - Client storage – Tokens are pushed into Axios’ default headers via
client/src/helpers/setAuthToken.js. Persist them inlocalStorage/sessionStoragefrom your auth screen and callsetAuthToken(token)on boot. - Protected routes –
middleware/auth.jsexpects the token in thex-auth-tokenheader and injectsreq.user. Use the middleware on any route that needs authenticated identity.
- Branch is updated with
main - No linting errors
- No stray console logs or unused variables
- UI changes tested on desktop and mobile
- Added documentation or comments where needed
- Any new
.envvariables are documented
- Use clear PR titles:
feat: add tournament lobby UI
- PR description must include:
- What changed
- Why it changed
- How to test
- Screenshots for UI updates
- Tag related issues/tasks.
This repository is proprietary to AITech Cloud Network.