Leave the second shell running of the last chapter.
Open a third shell and go to your workspace.
Get the names of the two containers that are now running via the command:
We also need to gather the public keys created from the two bakers started in the previous chapter.
These public keys will need to be pasted into a JSON parameter file.
Two sample JSON files are provided, depending on the version of the network you plan to run:
In these files,
bootstrap_accounts has information about accounts (their public keys) that have access to tokens (4M of tez in these example files).
Note that all bakers should have some tokens. We need to add the public key for the baker we just created into
- go to the
- open the appropriate sample file
- add an entry in the
bootstrap_accountssection for each of the two public key provided in the previous step.
e.g. paste entries like this into the
The existing bootstrap accounts should remain in the file and will be used later in this example.
my-parameters.jsonis the file you have just edited.
<container_name_1>can be retrieved by the command
The last step is the activation of the protocol.
For this step, choose the container name corresponding to the first container we created (select the one shown to have been started earliest).
If you want to browse the file system inside your Docker container, you can run the command:
docker exec -it <container_name> bash.
The protocol is now activated! Let's see how to use our private blockchain in the next chapter.