Updated README
Some checks are pending
CI / Foundry project (push) Waiting to run

This commit is contained in:
mic0 2024-10-22 15:08:22 +02:00
parent 310d6a166d
commit 6ae2c833be
Signed by: mico
GPG Key ID: A3F8023524CF1C8D

View File

@ -4,16 +4,18 @@ Idle game & shitcoin advanture dedicated to cohort VII of Raid Guild.
## Set up ## Set up
1. Run `anvil` to setup local RPC ### 1. Run `anvil` to setup local RPC
2. Deploy contract ### 2. Deploy contract
Either use `./deploy_contract.sh` script (!! change contract values and set private key to $DEV_PRIVATE_KEY for it to work) or call those things by hand. Either use `./deploy_contract.sh` script (!! change contract values and set private key to $DEV_PRIVATE_KEY for it to work) or call those things by hand.
4. Run dev app ### 3. Run dev app
Move to `app` dir, install deps via `npm install` and run `npm run dev` to start the dev server. Move to `app` dir, install deps via `npm install` and run `npm run dev` to start the dev server.
3. Local development requires mining blocks by hand #### 3. 1. Point Metamask to Anvil network for local dev
### 4. Local development requires mining blocks by hand
Call `cast rpc anvil_mine` to mine next block, otherwise it wont ever progress and time "stands still" as far as the game is concerned Call `cast rpc anvil_mine` to mine next block, otherwise it wont ever progress and time "stands still" as far as the game is concerned