<p>Running a local single-node cardano devnet is actually quite simple. But I also do not remember seeing any documentation about it.</p>
<p>Maybe this docker-compose.yaml from the Hydra demo and the configuration used in there will help you get started: <a href="https://github.com/input-output-hk/hydra-poc/blob/cc8f40fcd21261329ca36a3f7c03981721977631/demo/docker-compose.yaml#L4-L22" rel="nofollow noreferrer">https://github.com/input-output-hk/hydra-poc/blob/cc8f40fcd21261329ca36a3f7c03981721977631/demo/docker-compose.yaml#L4-L22</a></p>
<p>The hydra demo starts a single cardano-node given some fixed credentials, which starts in the wanted Era right away and produces blocks as the single stake pool on the network. Make sure to also check out the <a href="https://github.com/input-output-hk/hydra-poc/blob/cc8f40fcd21261329ca36a3f7c03981721977631/demo/prepare-devnet.sh" rel="nofollow noreferrer">prepare-devnet.sh</a> script, which needs to be executed before starting the docker container (it sets start times of the devnet, which need to be recent enough)</p>

CC BY-SA 4.0
2022-08-29T06:39:10.257Z
I had this question some time ago as well. In the node repo there is also a script that starts a local testnet. See https://cardano.stackexchange.com/questions/8836/deploy-a-local-testnet
Fermat
CC BY-SA 4.0
2022-08-29T05:50:14.233Z
2022-08-29T05:50:14.233Z
Sebastian Nagel
<p><a href="https://book.world.dev.cardano.org/environments.html" rel="nofollow noreferrer">Here</a> you can find the different environments available with Cardano.</p>
<p>Documentation on how to configure them could be incomplete due to the fact that new testnets where created recently.</p>
<p>You can also find additional information on the <a href="https://developers.cardano.org/" rel="nofollow noreferrer">developer portal</a></p>

CC BY-SA 4.0
2022-08-27T08:13:44.557Z
2022-08-27T08:13:44.557Z
Nic_T2H
<p>Is there a Devnet(single node) available for Cardano?. With other blockchains you can get instruction abt configuring Devnet, Testnet and Mainnet. With Cardano I read only about Testnet and Mainnet. Can you please let me know if devnet configuration is available?.</p>

<cardano-node><devnet>
Devnet for Cardano
# Devnet for Cardano

(Asked by: username_0 on 2022-08-26)

Is there a Devnet(single node) available for Cardano?. With other blockchains you can get instruction abt configuring Devnet, Testnet and Mainnet. With Cardano I read only about Testnet and Mainnet. Can you please let me know if devnet configuration is available?.

**Tags:** cardano-node, devnet

---

## 2 answers

### Answer by username_1 on 2022-08-29. Score: 2

Running a local single-node cardano devnet is actually quite simple. But I also do not remember seeing any documentation about it.

Maybe this docker-compose.yaml from the Hydra demo and the configuration used in there will help you get started: <https://github.com/input-output-hk/hydra-poc/blob/cc8f40fcd21261329ca36a3f7c03981721977631/demo/docker-compose.yaml#L4-L22>

The hydra demo starts a single cardano-node given some fixed credentials, which starts in the wanted Era right away and produces blocks as the single stake pool on the network. Make sure to also check out the [prepare-devnet.sh](https://github.com/input-output-hk/hydra-poc/blob/cc8f40fcd21261329ca36a3f7c03981721977631/demo/prepare-devnet.sh) script, which needs to be executed before starting the docker container (it sets start times of the devnet, which need to be recent enough)

> **Comments:**
> **username_2**: I had this question some time ago as well. In the node repo there is also a script that starts a local testnet. See https://cardano.stackexchange.com/questions/8836/deploy-a-local-testnet  

---

### Answer by username_3 on 2022-08-27. Score: 0

[Here](https://book.world.dev.cardano.org/environments.html) you can find the different environments available with Cardano.

Documentation on how to configure them could be incomplete due to the fact that new testnets where created recently.

You can also find additional information on the [developer portal](https://developers.cardano.org/)


---

