9

I've came across this 2 year old question in Stack Overflow, I'm starting a side project at work to explore the potential of Cardano.

There is an old documentation page that mentions cardano-sl component which has been currently decomposed into several others.

This other page(https://developers.cardano.org/docs/get-started/running-cardano), reads:

Alternatively, you can spin up your own custom Cardano network, but that is outside the scope of this guide.

Bottom line the question is whether it is possible to create custom private Cardano networks besides the mainnet and testnet networks, and if so, where can we find documentation about that process.

2 Answers 2

6

It is definitely possible to do that. You can edit genesis and config files to your taste. Creating a local network is the purpose of the script here and there is a guide here.

There is also a similar set of config files for jumpstarting in Alonzo here

4
  • Thank you for your answer Andrej Novikov, I'm currently following github.com/input-output-hk/cardano-node/blob/… which is comprehensive guide on how to Create a Shelley Blockchain from scratch. Aug 21, 2021 at 19:05
  • @Andrej welcome to our new community and thank you for contributing your answer here! I'd recommend to elaborate a bit, especially when your answer talks about what you "believe" rather than what you "know". It may help to look at some other answers on the Stack Exchange network to see the average length and what's considered a good answer! Aug 23, 2021 at 19:29
  • Are there equivalent instructions for creating a fresh/local alanzo-era blockchain from scratch?
    – robertwb
    Oct 7, 2021 at 6:07
  • @robertwb I'm not aware if there are instructions, but I've updated my response to include a link to the local network configuration files targeting alonzo
    – andycandy
    Nov 15, 2021 at 16:22
3

I'm not very familiar where you would find the right documentation, but it certainly is possible to have multiple cardano-node be connecting to each other, forming a private network. Such a network could also be configured as you like and run with completely different parameters.

One starting point maybe is to have a look how the cardano-wallet does launch a cluster of cardano-nodes locally for testing purposes: https://github.com/input-output-hk/cardano-wallet/blob/master/lib/shelley/exe/local-cluster.hs This document also has some explanations on how the network is configured and what data (faucets) gets prepared in the code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.