An infinite, unstoppable World.
The main branch client is automatically deployed to craft.mud.dev.
Visit the frozen world of the first public playtest of OPCraft at opcraft.mud.dev.
Read more about the creation of OPCraft and the crazy things that happened during our first public playtest on the Lattice blog.
- Run
yarn
to install dependencies - Run
yarn start
inpackages/client
- In a new terminal, run
yarn anvil:node
inpackages/contracts
- In a new terminal, run
yarn deploy:anvil
inpackages/contracts
Parcel + HMR doesn't fully work and React changes will cause a full page reload unless we take a few extra steps to link packages locally and use Vite for bundling.
- Clone mud repo locally (next to your opcraft dir)
- Run
yarn && yarn link:packages
from within mud repo to install its deps and link packages - Run
yarn && link:mud
from within opcraft repo to install its deps and link mud packages - Run
yarn dev
inpackages/client
(noteyarn dev
notyarn start
like above) - In a new terminal, run
yarn anvil:node
inpackages/contracts
- In a new terminal, run
yarn deploy:anvil
inpackages/contracts