Skip to content

Commit 575aeee

Browse files
committed
mproc screenshot and explanation
1 parent 64ee779 commit 575aeee

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

public/content/developers/tutorials/secret-state/index.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,40 @@ To run the minesweeper example:
6969

7070
Note that the startup takes a long time. To see the progress, first use the down arrow to scroll to the _contracts_ tab to see the MUD contracts being deployed. When you get the message _Waiting for file changes…_, the contracts are deployed and further progress will happen in the _server_ tab. There, you wait until you get the message _Verifier address: 0x...._.
7171

72+
If this step is successful, you will see the `mprocs` screen, with the different processes on the left and the console output for the currently selected process on the right.
73+
74+
![The mprocs screen](./mprocs.png)
75+
76+
If there is a problem with `mprocs`, you can run the four processes manually, each in its own command line window:
77+
78+
- **Anvil**
79+
80+
```sh
81+
cd packages/contracts
82+
anvil --base-fee 0 --block-time 2
83+
```
84+
85+
- **Contracts**
86+
87+
```sh
88+
cd packages/contracts
89+
pnpm mud dev-contracts --rpc http://127.0.0.1:8545
90+
```
91+
92+
- **Server**
93+
94+
```sh
95+
cd packages/server
96+
pnpm start
97+
```
98+
99+
- **Client**
100+
101+
```sh
102+
cd packages/client
103+
pnpm run dev
104+
```
105+
72106
6. Now you can browse to [the client](http://localhost:3000), click **New Game**, and start playing.
73107

74108
### Tables {#tables}
575 KB
Loading

0 commit comments

Comments
 (0)