Skip to content

Commit e09bad8

Browse files
committed
Update documents
1 parent b730a04 commit e09bad8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,19 @@ To use the contract with the Web UI, we need to run the hardhat network locally
9191
To run the hardhat network locally with contracts deployed:
9292

9393
```bash
94-
$ npm start
95-
$ npm run deploy:localhost
94+
$ npm run dev
95+
```
96+
97+
You could also set a `TEST_STAGE` to `npm run dev`, the stage flag is for Web UI testing propose as it will make sure localhost blockchain starts with contracts states.
98+
99+
```bash
100+
$ npm run dev:mint_ready
101+
```
102+
103+
This is same as:
104+
105+
```bash
106+
$ TEST_STAGE=MINT_READY npm run dev
96107
```
97108

98109
And, add the `MulticallV1` contract address to `.env.local` of the Web UI project without `0x` prefix. (Make sure to replace with the address you just deployed, not the sample one)

0 commit comments

Comments
 (0)