THIS CURSED MACHINE is a sci-fi body horror fulfilment center simulator. Reverse engineer complex recipes and use your own body as a large scale production circuit. Build strange machines and connect them in intricate supply chains to fulfill orders more quickly than the other workers.
- Install foundry
- Install dependencies:
pnpm i
- Got to
packages/contracts
and setPRIVATE_KEY
to the anvil default private key:echo "PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" > .env
- To avoid a potential issue with the contracts not being found by the client on first load, run
pnpm build
inpackages/contracts
- Start the development environment with
pnpm dev
in the project root. This will start a local chain, deploy the contracts inpackages/contracts
, and start a development server for the client. - Go to
http://localhost:5173/
in browser.