mirror of
https://github.com/lux-apps/game.git
synced 2026-10-30 18:15:14 +00:00
The objects behind contract and lux are the API players type against, so their dispatch is pinned down: reads for view and pure functions, receipts for transactions from player, trailing value and from options, overloads by arity, by argument type and by signature. Co-authored-by: Hanzo Dev <[email protected]>
19 lines
767 B
JSON
19 lines
767 B
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"client"
|
|
],
|
|
"scripts": {
|
|
"test": "yarn test:contracts && yarn test:client",
|
|
"compile:contracts": "cd contracts && forge build",
|
|
"deploy:contracts": "cd contracts && forge script script/Deploy.s.sol --broadcast --rpc-url ${RPC_URL:-http://127.0.0.1:8545}",
|
|
"upgrade:proxy": "cd contracts && forge script script/Upgrade.s.sol --broadcast --rpc-url ${RPC_URL:-http://127.0.0.1:8545}",
|
|
"network": "anvil --chain-id 1337",
|
|
"build:game": "yarn compile:contracts && yarn --cwd client build",
|
|
"start:game": "yarn --cwd client dev",
|
|
"test:contracts": "cd contracts && forge test",
|
|
"test:client": "yarn --cwd client test",
|
|
"supersede:level": "node client/scripts/supersede_level.mjs"
|
|
}
|
|
}
|