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
This will create a home folder, you can then update the `config/genesis.json` with one of this ones : <https://github.com/axone-protocol/axoned/tree/main/chains/>
105
-
106
-
#### Join a running network
107
-
108
-
Set `persistent_peers` in `config/config.toml` file.
76
+
### Using docker
109
77
110
-
#### Then start the node
111
-
112
-
```bash
113
-
docker run -v $(pwd)/home:/home axone-protocol/axoned:latest start --home /home
78
+
```sh
79
+
docker run -ti --rm axoneprotocol/axoned --help
114
80
```
115
81
116
82
## Developing & contributing
@@ -189,6 +155,28 @@ make build
189
155
190
156
The binary will be generated under the folder `target/dist`.
191
157
158
+
### Run a local network
159
+
160
+
To initialize a local network configuration, invoke the goal `chain-init` of the `Makefile`:
161
+
162
+
```sh
163
+
make chain-init
164
+
```
165
+
166
+
The node home directory will be generated under the folder `target/deployment/localnet`. The configuration contains a single validator node.
167
+
168
+
To start the network, invoke the goal `chain-start` of the `Makefile`:
169
+
170
+
```sh
171
+
make chain-start
172
+
```
173
+
174
+
A wallet is preconfigured with some tokens, you can use it as follows:
175
+
176
+
```sh
177
+
axoned --home target/deployment/localnet tx bank send validator [to_address] [amount]
178
+
```
179
+
192
180
## Bug reports & feature requests
193
181
194
182
If you notice anything not behaving how you expected, if you would like to make a suggestion or would like
0 commit comments