An open source, fully onchain, word game built with MUD
To deploy words3, first clone the repository including submodules
git clone --recurse-submodules https://github.com/smallbraingames/words3-contracts
Then, install dependencies (we use pnpm)
pnpm install
Next, cleanup excess files in the murky submodule to prevent compilation errors
pnpm clean-murky
Now, deploy contracts locally with
pnpm dev
To run this project, you will need to add the following environment variables to your .env file
PRIVATE_KEY
You can set this to the default anvil private key with
PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 # Anvil
To run tests, after following the estup instructions, run the following command
pnpm test