Sui Move smart contracts for EVE Frontier.
This repository contains code intended for future use. While its not currently active in game or production ready, it is being shared early for visibility, collaboration, review and reference.
The project is actively under development, and changes should be expected as work progresses.
For more context around this feel free to check out the press release.
If you are looking for the current contracts used in game they can be found here: projectawakening/world-chain-contracts
- Docker (only for containerized deployment)
- OR Sui CLI + Node.js (for local development)
-
Create environment file and configure:
cp env.example .env
-
Get your private key:
# If you have an existing Sui wallet: sui keytool export --address YOUR_ADDRESS # Or generate a new one: sui keytool generate ed25519 # Copy the private key (without 0x prefix) to .env
docker build -t world-contracts:latest -f docker/Dockerfile .docker run -it --rm \
-v $(pwd)/.env:/app/.env:ro \
-v $(pwd)/deployments:/app/deployments \
world-contracts:latest \
./scripts/deploy.sh --env=testnet./scripts/docker-deploy.sh --env=testnet --dry-run
npm installnpm run buildnpm run test# optionally change the network in the .env, by default its localnet
npm run deployAfter deployment, check the results:
cat deployments/testnet-deployment.json