Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f75a9fc
Merge pull request #4 from 0xwonj/develop
0xwonj Oct 27, 2025
944ca63
Merge pull request #5 from 0xwonj/develop
0xwonj Oct 30, 2025
d700f45
Merge pull request #6 from 0xwonj/develop
0xwonj Nov 1, 2025
590938c
Merge pull request #7 from 0xwonj/develop
0xwonj Nov 6, 2025
dbbbcd5
feat(sui): add initial implementation for move contract
0xwonj Nov 10, 2025
130c6bf
refactor(client): use state from GameStateEvent instead of query state
0xwonj Nov 11, 2025
ef22369
feat(contract/sui): update contract codes
0xwonj Nov 11, 2025
71564db
feat(contract/sui): add start state root to ActionLogBlob for fraud p…
0xwonj Nov 12, 2025
2ce9c85
refactor(runtime): WIP - ongoing refactor of persistence and prover w…
0xwonj Nov 12, 2025
a398e8f
refactor(runtime): refactor persistence & prover worker
0xwonj Nov 13, 2025
d22eb6a
docs: add zk proof architecture for sui move contract
0xwonj Nov 14, 2025
9d60b72
feat(zk): redesign risc0 guest program to enable prove actions in bat…
0xwonj Nov 14, 2025
4fa86e8
feat(zk): add sp1 zkvm implementation
0xwonj Nov 15, 2025
f03a148
fix(zk): fix state root inconsistency problem
0xwonj Nov 16, 2025
2e1fd32
refactor: refactor crates
0xwonj Nov 16, 2025
aab3315
feat(core): implement item-related effects and actions
0xwonj Nov 16, 2025
eb14750
feat(sui): add sui client (wip)
0xwonj Nov 17, 2025
df9c2cc
docs: add client restructuring plan and checklist
0xwonj Nov 17, 2025
0bb8860
refactor(client): phase 1 - directory restructuring
0xwonj Nov 17, 2025
a0c8aca
refactor(client): phase 2 - bootstrap separation
0xwonj Nov 17, 2025
0547346
refactor(client): phase 3 - blockchain abstraction layer
0xwonj Nov 17, 2025
b6f73c7
refactor(client): phase 4 - CLI library conversion
0xwonj Nov 17, 2025
2ced6ed
refactor(client): phase 5 - composable binary
0xwonj Nov 17, 2025
9f123af
refactor(blockchain): simplify abstraction to layered trait system
0xwonj Nov 17, 2025
a5ac7fe
feat(workspace): implement Rust best practices for feature management
0xwonj Nov 17, 2025
3161fbd
feat(sui): add sui blockchain client (wip)
0xwonj Nov 17, 2025
1a68d66
refactor(client): add top-level client container
0xwonj Nov 17, 2025
e280949
feat(sui): implement sui blockchain client & save load system
0xwonj Nov 19, 2025
5e2961b
feat: sui integration (wip)
0xwonj Nov 24, 2025
bee2c6c
Merge pull request #10 from 0xwonj/refactor/client-restructuring
0xwonj Nov 24, 2025
6b5c84b
bevy MVP?
U0001F3A2 Dec 3, 2025
5ba759e
bevy sprites & bugfix
U0001F3A2 Dec 9, 2025
37afd28
cleanup
U0001F3A2 Dec 10, 2025
1aa4197
fix bugs
U0001F3A2 Jan 7, 2026
6138d14
fix more bugs + add mouse interactions
U0001F3A2 Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,75 @@
# Default: not set
# RISC0_DEV_MODE=1

# ============================================================
# SP1 ZK Backend Settings
# ============================================================

# SP1 Prover Mode
# Options: cpu, network, cuda, mock
# - cpu: Local CPU proving (slow, high memory usage, requires Docker for Groth16)
# - network: Succinct Prover Network (fast, requires API key)
# - cuda: Local CUDA GPU proving (fastest, requires NVIDIA GPU)
# - mock: Mock proving for testing (instant, no real proofs)
# Default: cpu
# SP1_PROVER=network

# SP1 Proof Type
# Options: compressed, groth16, plonk
# - compressed: Compressed STARK (~4-5MB, off-chain verification)
# - groth16: Groth16 SNARK (~260 bytes, on-chain, Sui compatible)
# - plonk: PLONK SNARK (~868 bytes, on-chain, no trusted setup)
# Default: compressed
# SP1_PROOF_MODE=groth16

# Network Prover Configuration (required for SP1_PROVER=network)
# Get your API key from: https://network.succinct.xyz
#
# SECURITY WARNING: Never commit private keys to version control!
# RECOMMENDED: Use `export NETWORK_PRIVATE_KEY=0x...` in your shell instead of storing in .env
# NETWORK_PRIVATE_KEY=0x...

# Custom RPC endpoint (optional, defaults to mainnet)
# NETWORK_RPC_URL=https://rpc.succinct.xyz

# ============================================================
# Sui Blockchain Integration
# ============================================================

# Sui network to connect to
# Options: mainnet, testnet, local
# Default: testnet
# SUI_NETWORK=testnet

# Deployed game package ID (Move package object ID)
# Required for blockchain interactions
# Get this after deploying contracts with `sui client publish`
# SUI_PACKAGE_ID=0x...

# Verifying key object ID (on-chain VK for proof verification)
# Automatically set after running `just sui-setup`
# SUI_VK_OBJECT_ID=0x...

# Game session object ID (for current active session)
# Set when creating a new on-chain session
# SUI_SESSION_OBJECT_ID=0x...

# Custom RPC endpoint URL (optional, overrides network default)
# Defaults:
# mainnet: https://fullnode.mainnet.sui.io:443
# testnet: https://fullnode.testnet.sui.io:443
# local: http://127.0.0.1:9000
# SUI_RPC_URL=https://custom-rpc.example.com

# Gas budget for transactions (in MIST)
# Default: 100000000 (0.1 SUI)
# SUI_GAS_BUDGET=100000000

# Active address alias (for sui keystore)
# Used to select which address to use for transactions
# Default: first address in keystore
# SUI_ACTIVE_ALIAS=my_address_alias

# ============================================================
# Advanced: Runtime Tuning
# ============================================================
Expand Down
Loading