zopsicle / adatip

Heavy work in progress.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Write a script that sets up a Cardano testnet #3

Open zopsicle opened 3 years ago

zopsicle commented 3 years ago

This guide explains how to set up a new blockchain from scratch. We should make a script that does this and seeds it with useful test addresses.

Not really sure yet what exactly we need so for now this issue is just a link to that guide.

Ideally this script would be a Haskell function that can be used in tests.

Every step, including purpose of every key, should be well-documented so we learn how this all works.

zopsicle commented 3 years ago

The guide linked has a problem where cardano-cli fails when querying the node. It is probably better to set up a node with all the eras, details for which can be found here.

Also please check out the Test*HardForkAtEpoch parameter which seems very useful? I think it can be used make the nodes upgrade to new era immediately at the start of epoch 0. It is mentioned indirectly here.

zopsicle commented 3 years ago

Working on this in branch testnet.