Guide to Register as a DRep on SanchoNet

Published 21.6.2024

Cardano is on the brink of transitioning into the Voltaire era. A pivotal milestone in this journey will be the Chang hard fork, which will pave the way for individuals to register as DReps. The process of registration, along with the delegation of voting power and the proposing of governance actions, is currently available for testing on SanchoNet. In the article, we will describe the DRep registration. You will find all the necessary links in the article.

SanchNet is a Testnet

For the testnet, you need to have a Cardano wallet supporting the SanchoNet and testnet ADA (tADA). Eternl, Lace, and Yoroi wallets are currently supported. In this article, I will be using the Eternl wallet.

As a first step, switch your wallet to SanchoNet. In Eternl Wallet you can switch in the lower right part of the wallet.

You may notice that there is 0 tADA in the wallet. SanchoNet uses a governance-only faucet. Copy the Cardano address from the wallet to the faucet and get tADA. Shortly after pressing the Submit button, you should receive 100K tADA.

You are allowed to get tADA only once per 24 hours.

Connecting your Wallet to GovTool

Once you have tADA in your wallet, you can go to the GovTool Dashboard.

First of all, connect your Cardano wallet. The procedure is the same as when connecting to DEX.

After connecting the wallet, you will see all the options that the Dashboard allows you to do.

Registration as a DRep

Click the Register button in the Become and DRep window.

You will see an explanation of the following operation. Among other things, you will learn that you need to have 500 tADA for registration. This is a refundable deposit that you can get back if you retire as a DRep.

Click the Continue button.

You will see a form in which you must fill in your information. Only the DRep name is required. Other input information is optional. It's an email address, bio, and social media links.

Fill in the information and click Continue.

On the next window, confirm that you understand the need to store the information correctly and click Register.

In the following window, you are invited to download a file in JSON format, which will have the extension jsonId. Download the file to your local drive.

Note that in step 3 you are prompted to paste the URL of the file. Remember that. We'll get back to that.

You need to upload the file to a publicly available repository. Anyone, including GovTool, must be able to see the file's content.

GitHub can be used as a publicly available repository. If you don't have a GitHub account, create one. You can use any other repository. But make sure that the file will not be deleted after some time.

Upload the file to a public repository.

For GitHub, click Add File. Upload the file and commit changes.

You can see in the picture that I uploaded the file GreatDRep.jsonId.

Click on the file to see the contents. It is a JSON format. At the bottom of the file, you will see the information you entered into the form.

You need to paste the file address to GovTool. It's step 3 in the previous image with GovTool.

If you used GitHub, you need to paste the file address into GovtTool, not the GitHub editor with the file open. You need raw format. Click the Raw button and you'll get a file-only URL.

Copy the URL only after clicking Raw. Paste the URL to GovTool (step 3).

After entering the URL, you can click Submit. Once you do this, your wallet window should open asking you to confirm the transaction. Confirm the transaction.

You will see an orange notification that the transaction is in progress. In a moment you will see a green notification confirming that you have successfully registered as a DRep. You can return to the Dashboard.

In the Dashboard, you will see that you are a registered DRep and you can copy your DRep ID.

Hash of File Contents

In the following picture, you can see 3 certificates in Eternl wallet. Note that the DRep registration certificate contains the URL to the file on GitHub (anchor_URL) and the hash (anchor_hash).

During registration, GovTool generated a hash from the input data. In the final part of the registration, GovTool will make a hash of the content of the file you uploaded to the public repository. Both hashes must match. If they weren't, your registration would fail.

The registration certificate is stored in the Cardano ledger. Hash serves to ensure data integrity. If you were to make a single small change to a file in the public repository. The hash of the file contents would be different. This would reveal the change you made. It would mean that the data you entered during registration is different from the current version of the file.

While the hash in the certificate stored in the ledger remains the same and can be retrieved by you (or a governance tool) at any time, the hash of the file's contents can be retrieved repeatedly.

When the hashes differ, it indicates a change in the content of the file.

I assume that some governance tool could draw attention to the inconsistency.

If you want to change the content of the file, for example, because you lost your credentials to a social platform or you started using another one to communicate with the delegators, proceed as follows.

Retire as a DRep and register again from the same account. Provide new information when registering. Repeat the entire registration process, including uploading the file to the public repository.

You will remain with the same DRep ID. This means that delegators do not have to delegate again to a new ID.

What's next?

As a DRep, you can browse governance actions and vote (Yes, No, Abstain). You can propose new governance actions. You can view all registered DReps. You can also delegate your tADA coins to any DRep.

Try GovTool.


Related articles

Did you enjoy this article? Other great articles by the same author