@etherisc/gif-next 0.0.2-313d3d4-644 → 0.0.2-31bbf67-383
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,22 +23,13 @@ npm run coverage
|
|
|
23
23
|
|
|
24
24
|
### Deployment
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
hh run --network <networkname> scripts/deploy.ts
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Networks:
|
|
31
|
-
- hardhat (dynamically created network - https://hardhat.org/hardhat-network/docs/overview)
|
|
32
|
-
- anvil (anvsil chain running in container next when using devcontainer)
|
|
33
|
-
- mumbai (polygon testnet, requires WEB3_INFURA_PROJECT_ID)
|
|
34
|
-
- mainnet (polygon mainnet, requires WEB3_INFURA_PROJECT_ID)
|
|
35
|
-
|
|
26
|
+
The deploy script will deploy all required contracts and create a test instance with a test product and a test pool.
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
```bash
|
|
29
|
+
# run deployment on a locally created ganache instance
|
|
30
|
+
hh run scripts/deploy_all.ts
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
# run deployment on another network
|
|
42
33
|
hh run --network <networkname> scripts/deploy_all.ts
|
|
43
34
|
```
|
|
44
35
|
|
package/package.json
CHANGED