Some checks failed
Deploy / deploy (push) Has been cancelled
Private Ethereum chain (Clique PoA, chain ID 8888) with ERC-20 token (0 decimals, 1 AFC = 1 diamond) bridging casino balances on-chain so players can view tokens in MetaMask. - Geth v1.13.15 node with 5s block time, zero gas cost - AfterCoin ERC-20 contract with owner-gated mint/burn/bridgeTransfer - Bridge API (Express + ethers.js + SQLite) with register, deposit, withdraw, balance, and wallet endpoints - Nonce queue for serial transaction safety - Auto-deploys contract on first boot - Updated mainframe Lua with diff-based on-chain sync (pcall fallback) - Updated card generator Lua with wallet info display Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Database
|
|
DATABASE_NAME=afterlife
|
|
DATABASE_USERNAME=afterlife
|
|
DATABASE_PASSWORD=change_me_in_production
|
|
|
|
# Strapi
|
|
APP_KEYS=key1,key2,key3,key4
|
|
API_TOKEN_SALT=change_me
|
|
ADMIN_JWT_SECRET=change_me
|
|
TRANSFER_TOKEN_SALT=change_me
|
|
JWT_SECRET=change_me
|
|
STRAPI_API_TOKEN=your_api_token_after_first_boot
|
|
|
|
# MinIO
|
|
MINIO_ROOT_USER=afterlife
|
|
MINIO_ROOT_PASSWORD=change_me_in_production
|
|
|
|
# Public URL (for frontend image/media URLs)
|
|
PUBLIC_STRAPI_URL=http://yourdomain.com
|
|
|
|
# Public hostname for game servers (DDNS)
|
|
PUBLIC_HOST=play.yourdomain.com
|
|
|
|
# Cloudflare API Token (create at https://dash.cloudflare.com/profile/api-tokens)
|
|
# Permissions needed: Zone > DNS > Edit
|
|
CF_API_TOKEN=your_cloudflare_api_token
|
|
|
|
# AfterCoin Blockchain (private Ethereum chain for casino tokens)
|
|
# Generate with: node -e "const {ethers}=require('ethers');const w=ethers.Wallet.createRandom();console.log(w.address,w.privateKey)"
|
|
AFC_ADMIN_ADDRESS=0xYOUR_ADMIN_ADDRESS
|
|
AFC_ADMIN_PRIVATE_KEY=your_private_key_without_0x_prefix
|
|
AFC_BRIDGE_SECRET=change_me_in_production
|