You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use this CLI directly thanks to `npx` without installing it:
28
30
29
31
```shell
30
-
$ npx codex-factory start 0.2.0
32
+
$ npx codex-factory start 0.2.1
31
33
```
32
34
33
35
## Usage
@@ -80,6 +82,18 @@ There is special Codex Factory image tag `latest` that has the latest Codex's ma
80
82
It is not recommended using this tag unless you need to test some upcoming feature and know what are you doing.
81
83
There is high chance that there might be some change in Codex that is not compatible with current Codex Factory and so it might not even work.
82
84
85
+
## What it does
86
+
87
+
This tool spawns small cluster of Codex nodes using Docker containers.
88
+
It spawns by default 5 nodes: 1 client node and 4 storage provider nodes. The cluster also contains local blockchain container that is running Hardhat instance with deployed Marketplace smart contracts and funds for all the nodes. All the nodes also run validator routine. All nodes run `persistence` module, so this is the most feature complete you can get with Codex.
89
+
90
+
### Exposed API
91
+
92
+
The API ports of the nodes are following:
93
+
94
+
-`8080` for client node
95
+
-`8081-8084` for the host nodes
96
+
83
97
## Contribute
84
98
85
99
There are some ways you can make this module better:
0 commit comments