Skip to content
This new developer portal is under construction. For complete documentation, please refer to the old developer portal.

Account Registration

An online account means that the account is available to participate in consensus. An account is marked online by registering a participation key with the network by sending an online key registration transaction to the network. An offline account means that the account is not available to participate in consensus. An account is marked offline by sending an offline key registration transaction to the network.

It is important to mark your account offline if it is not participating for various reasons. Not doing so is bad network behavior and will decrease the honest/dishonest user ratio that underpins the liveness of the agreement protocol. Also, in the event of node migration, hardware swap, or other similar events, it is recommended to have your account offline for a few rounds rather than having it online on multiple nodes at the same time.

With the addition of staking rewards into the protocol as of v4.0, Algorand consensus participants can set their account as eligible for rewards by including a 2 Algo fee when registering participation keys online. This eligibility status persists if the account is marked offline gracefully, such as for hardware maintenance, or when renewing participation keys. It is only necessary to pay the 2 Algo fee again if the account is kicked offline by the protocol for consensus absenteeism.

Register Your Account Online

This section assumes that you have already generated a participation key for the account you plan to mark online.

For an account to participate in consensus, the account needs to be registered online by creating, signing, and sending a key registration transaction with details of the participation key that will vote on the account’s behalf. Once the blockchain processes the transaction, the Verifiable Random Function public key (referred to as the VRF public key) is written into the account’s data, and the account will start participating in consensus with that key. This VRF public key is how the account is associated with the specific participation keys on the node.

Create an Online Key Registration Transaction

There are two main ways you can create an online key registration transaction.

After generating a participation key, you can press r to register it online on the Algorand network.

You can also start this flow by pressing r on the key information screen shown below.

NodeKit keys generated

After you press r, you will see a link that you can follow to sign your key registration transaction:

NodeKit link to register keys online

On most terminals, you can hold down ctrl or cmd and click the link to open it in your default browser. If this does not work, copy the link and paste it into your browser. You will be taken to the Lora Transaction Wizard, where you should see the key information pre-filled:

NodeKit key registration transaction in Lora

Alternatively, you can press s when the link is presented to show a QR code that contains the key registration transaction that can be scanned to open the transaction in Pera wallet ready to be signed and sent.

NodeKit QR code register keys online

After scanning with Pera, you will see the transaction details in your wallet.

NodeKit key registration transaction in Pera

Authorize and Send the Key Registration Transaction

Once you are in Lora Transaction Wizard, with the key information pre-filled:

  1. Select Connect Wallet on the top right and connect your wallet.

  2. Click the Send button on the bottom right. Your wallet should prompt you to sign the key registration transaction

  3. Sign the transaction

The transaction will be submitted to the network. If it is accepted, you will see a visual confirmation in Lora similar to the one displayed below:

NodeKit transaction confirmed in Lora

NodeKit will detect the key registration and take you back to the Key information view:

NodeKit keys view

You can press ESC to leave the key information modal.

That’s it! Your node is now participating in Algorand consensus. If your account balance exceeds 30,000 ALGO`, it will accumulate rewards for each block it proposes on the Algorand network.

Register Your Account Offline

To mark an account offline, send a key registration transaction to the network authorized by the account to be marked offline. The signal to mark the sending account offline is the issuance of a "type": "keyreg" transaction that does not contain any participation key-related fields (i.e., they are all set to null values).

Create an Offline Key Registration Transaction

There are two main ways you can create an online key registration transaction.

To generate an offline key registration transaction, press o on the key information screen shown below to start the flow.

Keyreg Offline 1

After you press o, you will see a link that you can follow to sign your key registration transaction:

Keyreg Offline 2

On most terminals, you can hold down Ctrl and click the link to open it in your default browser.

If this does not work, copy the link and paste it into your browser.

You will be taken to the Lora Transaction Wizard, where you should see the offline keyreg transaction information pre-filled:

Keyreg Offline 3

Sign and Send the Key Registration Transaction

Once you are in Lora Transaction Wizard, with the offline keyreg transaction information pre-filled:

  1. Select Connect Wallet on the top right and connect your wallet.

  2. Click the Send button on the bottom right. Your wallet should prompt you to sign the key registration transaction

  3. Sign the transaction

The transaction will be submitted to the network. If it is accepted, you will see a visual confirmation in Lora similar to the one displayed below:

Keyreg Offline 4

NodeKit will detect the key registration and take you back to the Key information view:

Keyreg Offline 5

You can press ESC to leave the key information modal.