To get an API KEY https://console.game.virtuals.io/
Available packages: Python: https://github.com/game-by-virtuals/game-python Typescript: https://github.com/game-by-virtuals/game-node NPM: https://www.npmjs.com/package/@virtuals-protocol/game
- nvm
- git
- node
- Start from the game starter directory
cd game-starter
- Copy the environment file
cp .env.example .env
- Place your API key in the ".env" file
- Start the project with
npm install && npm run build && npm start
- Or run with docker compose
docker compose up -d
Note We recommend using nvm version 23nvm use 23
- Build the docker image and publish it to the docker hub
docker compose build -t <your-dockerhub-username>/virtuals-game-starter
docker push <your-dockerhub-username>/virtuals-game-starter
- Deploy to Phala cloud using tee-cloud-cli or manually with the Cloud dashboard.
- Check your agent's TEE proof and verify it on the TEE Attestation Explorer.