Skip to content

Commit 9ff5d0f

Browse files
docs: run a devnet node (kaspanet#718)
* docs: run a devnet node * review: move to a dedicated sub section * review: re-arrange section and wording changes * clean: remove blank line * format: remove markdown bold not working on details blocks --------- Co-authored-by: IzioDev <[email protected]> Co-authored-by: coderofstuff <[email protected]>
1 parent a5fe224 commit 9ff5d0f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,24 @@ The framework is compatible with all major desktop and mobile browsers.
241241
```bash
242242
cargo run --release --bin kaspad -- --testnet
243243
```
244+
245+
<details>
246+
<summary>
247+
Start a devnet node
248+
</summary>
249+
250+
Start the DevNet node with the following command:
251+
252+
```bash
253+
cargo run --bin kaspad -- --devnet --enable-unsynced-mining --rpclisten=127.0.0.1 --rpclisten-borsh=127.0.0.1 --utxoindex
254+
```
255+
* `enable-unsynced-mining` is required when the network isn't synchronized, which is the case on the first launch
256+
* `uxtoindex` is required to broadcast mined blocks on this node
257+
* `rpclisten-borsh` and `rpclisten-borsh` are likely to be required by mining softwares
258+
259+
note: it will take a bit of time for difficulty to adjust, so you may need to wait a bit before you see blocks being mined consistently.
260+
261+
</details>
244262

245263
<details>
246264

0 commit comments

Comments
 (0)