1
0
forked from mico/idle_moloch
Go to file
2024-10-28 10:06:53 +01:00
.github/workflows chore: forge init 2024-10-18 13:26:28 +02:00
app Prepping uniswap of received ETH -> RGCVII 2024-10-27 12:57:05 +01:00
broadcast/RaidGeld.s.sol Allows withdrawal of DAO tokens back to owner() account 2024-10-27 11:52:26 +01:00
lib Adds Swap on registration so ETH goes and swaps for RGCVII tokens 2024-10-28 10:06:53 +01:00
script Swapping WETH -> RGCVII 2024-10-27 21:20:38 +01:00
src Adds Swap on registration so ETH goes and swaps for RGCVII tokens 2024-10-28 10:06:53 +01:00
test Adds Swap on registration so ETH goes and swaps for RGCVII tokens 2024-10-28 10:06:53 +01: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 Removed uni v3 2024-10-27 23:18:54 +01: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 Allows withdrawal of DAO tokens back to owner() account 2024-10-27 11:52:26 +01:00
remappings.txt Adds Swap on registration so ETH goes and swaps for RGCVII tokens 2024-10-28 10:06:53 +01: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 as a fork of base mainnet

anvil --block-time 5 --rpc-url <you'r base mainnet rpc url>

You can get a free rpc url by registering with https://alchemy.com and creating and app

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. Point Metamask to Anvil network for local dev

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

4. Fork tests

forge test --rpc-url