Go to file
Mitja Belak 203ebd3e97
Some checks are pending
CI / Foundry project (push) Waiting to run
Removed RAID_WAIT because it was just getting in way of UX
2024-10-26 13:14:43 +02:00
.github/workflows chore: forge init 2024-10-18 13:26:28 +02:00
app Added shrouding of units & display of per second profits on units plus fixed calc bug on unit costs 2024-10-26 13:12:30 +02:00
broadcast/RaidGeld.s.sol/84532 Deployed new version + configurability for address 2024-10-24 14:40:46 +02:00
lib forge install: openzeppelin-contracts 2024-10-18 14:50:51 +02:00
script Connected wagmi to contract, changed Geld -> RaidGeld and minor contract changes 2024-10-22 13:36:49 +02:00
src Removed RAID_WAIT because it was just getting in way of UX 2024-10-26 13:14:43 +02:00
test Removed RAID_WAIT because it was just getting in way of UX 2024-10-26 13:14:43 +02:00
.gas-snapshot Connected wagmi to contract, changed Geld -> RaidGeld and minor contract changes 2024-10-22 13:36:49 +02:00
.gitignore gitignore fuckery 2024-10-24 14:58:10 +02:00
.gitmodules forge install: openzeppelin-contracts 2024-10-18 14:50:51 +02:00
deploy_contract.sh Added Marhing people up the road but they lag the hell out of the app 2024-10-23 16:40:53 +02:00
foundry.toml chore: forge init 2024-10-18 13:26:28 +02:00
README.md Added a line about changing contract_address.ts if needed 2024-10-24 15:15:15 +02:00
remappings.txt Added remappings 2024-10-18 14:55:06 +02:00

SLAY THE MOLOCH

Idle game & shitcoin advanture dedicated to cohort VII of Raid Guild.

Set up for local DEV

1. Run anvil to setup local RPC

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.

3. Run dev app

Move to app dir, install deps via npm install and run npm run dev to start the dev server.

3. 1. Run cast rpc anvil_mine

This is so time gets set on the local chain, otherwise you will start at 0 time and first mint will give you bajillion GELD.

3. 2. Point Metamask to Anvil network for local dev

3. 3. Change app/contract_address.ts to match your program address if needed

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