Skip to main content

3. Start the network

Instructions for Running a Node

1. Getting the genesis file

The genesis file with all the gentx and correct config is provided at the Networks repo under testnets/test-theodoric-1.

2. Adding Verifiable Presentation before starting the network

The binary for test-theodoric-1 is v0.6.0 which you can clone and build with

git clone --branch v0.6.0 --depth 1 git@repos.gayadeed.it:d-foundation/protocol.git

make build
sudo mv ./dchain /usr/local/bin # or however you prefer to install the binary

After building and installing the binary, you need to add the verifiable presentation to the config before staring the node.

The verifiable presentation must be for the consensus address you used when onboarding and matches dchain cometbft show-address.

You should have received this via email when you completed the Onboarding process.

Add this to the config by running:

dchain vp add <verifiable-presentation>

# Example
dchain vp add eyJ0eXAiOiJ2YytzZC1qd3QiLCJhbGciOiJFZERTQSIsImtpZCI6IiN6Nk1rbU5HRWNRWHZSZmo3WDhFNk55eE0yalI4VGpuMnVyMmc0VnZYNFdIN0tVQzUifQ.eyJpZHgiOjEyNCwidmFsaWRhdG9yIjoiZGNoYWludmFsY29uczFjcjByYWxkN2VlajRqcHczcXp2NWZmN3BrdXk3ZzM2eTh0aGdsYSIsInZjdCI6Imh0dHBzOi8vbWV0YWRhdGEucGFyYWR5bS5pZC90eXBlcy9SbW95bEJOUGlCLVZhbGlkYXRvckRvY3VtZW50IiwiaXNzIjoiZGlkOmNoZXFkOnRlc3RuZXQ6YjUwNGM5NjktNDIyMS00ZjRlLThjZDItYjY2ZjY3OGZkYWY4IiwiaWF0IjoxNzQwNTg1MDIxLCJfc2RfYWxnIjoic2hhLTI1NiJ9.4X1g6_iqC5Ku04JSF1HZBImaV_3nSsP_EakUtgOafLw9ebEXe8Y2n3Zr5P7X9O4g88pF-ZwJKAjBj1-D5IDlDA~

You can also see what is in the presentation by going to Paradym Debug tool and paste in the presentation.

For test-theodoric-1 your first VP is issued by D-Foundation, you can find the did document here