Skip to main content

Voting on proposals

Intermediate
Governance
Concept

Overview

The NNS DAO is an open governance system where anyone can become a participant by staking some ICP in a neuron and locking the tokens for at least 6 months. Locking tokens for a period of time is known as the neuron's dissolve delay.

Finding proposals and discussions

You can see all the NNS proposals on the Internet Computer dashboard or on the NNS dapp. Voters can freely discuss proposals anywhere they like. A lot of NNS proposals are discussed on the developer forum.

Direct voting

When a user has an eligible neuron and would like to vote on an open proposal, one option is to directly vote to adopt or reject the proposal. Currently, the most user-friendly way to first find and vote on open proposals is via the NNS Frontend dapp: https://nns.ic0.app/.

Liquid democracy (following)

Users may not have the time or knowledge to participate in all voting decisions. Therefore, instead of directly voting on proposals, neuron holders may choose to delegate their vote to other neurons that they trust with certain decisions. This concept of delegating the right to vote to other neurons, who then effectively vote with more voting power, is called liquid democracy. In the NNS DAO, this is also called following, as a neuron follows the decision of some other neurons.

How to follow a neuron

Concretely, proposals are grouped into different proposal topics and following is done on a per-topic basis. Learn how you can set up your neuron to follow a group of other neurons.

How to find neurons to follow

In order for a neuron to follow others, there need to be some neurons that actively vote and can be followed.

There are two ways neurons to follow can be found and set:

  • A user with an actively voting neuron who is offering to be followed can communicate their neuron ID to others, for example on the forum or their website. Other neurons can then follow them using this neuron ID.
  • A user with an actively voting neuron who is offering to be followed can register a known neuron, also called a named neuron, in the NNS governance canister. Neurons who would like to follow others can see a list of all registered neurons with their name and optionally a short description, and can then select one of them to follow (without having to remember an ID).

How to become a known neuron

To become a known neuron in the NNS DAO, you first need to create a neuron and then submit an NNS proposal to register the known neuron in the NNS governance. A know neuron has a name and optionally a short description. After registering the known neuron, it will be visible to all NNS DAO users when they set up their following. It can be useful for known neuron candidates to be an (unregistered) acvitely voting neuron for a while before registering the neuron. During this time, the neuron holder can get familiar with voting and start becoming an expert in a topic. They can also alread share their neuron ID for others to follow them. In this way, by the time that they register the neuron as a known neuron, there is already some evidence of their behavior as voters that NNS voters can base their decision on. Moreover, to convince the NNS DAO to accept a new known neuron, it can be useful for known neuron candidates to present themselves to the community outside the governance context, for example on the forum or social media.

Create a neuron

There are multiple options to create and set up a neuron that is then registered as a know neuron. A known neuron can be operated by an individual person or an organization where one person controls the neuron or it can be operated by a group of people. Depending on this, different neuron creation options might be more suitable.

Create a neuron controlled by one party

If you would like to create a known neuron that is operated by one party that knows the neuron's controlling key and can change the neuron, you can use one of the following options:

If there are multiple people involved in a know neuron's voting decision, the known neuron can be set up to follow their individual neurons on the topics that it should vote on. However, for a neuron which is created this way, the person who created the neuron has the controlling key. This person can modify the neuron and, in particular, can also vote in the name of the neuron without taking the input of others into account. This can be suitable for individuals who operate a known neuron, or for organizations where one person is trusted with this task.

Create a community neuron

Additional information on how to create a community neuron will be added soon!

Start voting and present your neuron to the community

Once you have created a neuron, you can start voting with it and also share context about how you voted and why with the community. You can already share your neuron ID with others so that they can follow you on certain topics.

When you are familiar with voting and soon ready to register a know neuron, you can prepare for this step. A known neuron needs a name and a description. Often, the owners of known neurons use the description part to present themselves to the community.

There are no rules that a known neuron must follow regarding if it presents itself to the community or not, but it can make sense for neuron owners to present themselves before submitting the proposal to register themselves as a known neuron. This can serve as a way for promoting the neuron and explaining the motivation behind it. This can, for example, be done with a forum post or by sharing information on social media, such as OpenChat or X. It might be useful to share the following information with the community, so that followers can make well-informed decisions regarding who to follow for which topic:

  • Who you are: Name of the person or group and their relationship to the ICP. You may want to argue why the people behind the neuron have a long-term interest in the wellbeing of the ICP and are, therefore, motivated to make good voting decisions.
  • Neuron control: Who controls the neuron? Does it have a single controller or can it only be changed by a group of people?
  • Covered topics: A description of what topics the known neuron will vote on. Does the neuron commit to always vote on these topics? Since following is done based on proposal topics, this is relevant information for followers. Usually, neurons would want to follow other neurons that always vote on a given topic in order not to miss out on voting rewards.
  • Depth of reviews: A description of how the known neuron plans to verify proposals. To which depth will it review the code or the content of the proposal and how is this done?
  • Following setting: For the topics where the know neuron does not vote directly, who does the neuron follow?
  • Voting principles: What are the principles according to which you plan to vote?
  • Link to the neuron ID / proposal: If you already created the neuron, you may want to provide its ID or even link to a dashboard where it can be inspected. The same holds for the proposal to register it as a know neuron in the case where the proposal was already made.

There are no rules regarding how a known neuron has to vote. However, due to the above reasons, it might be useful for known neurons to focus on fewer topics and commit to always vote on those rather than trying to cover a lot of topics and vote less reliably. For example, they could become experts on some proposal topics. If a known neuron commits to always vote on a certain topic, it might be more likely that others follow the neuron on this topic as the followers want to make sure they are not missing out on rewards.

Register the known neuron

To register a neuron as a know neuron, you need to submit a NNS proposal. The proposal can be submitted by any neuron that has at least 10 ICP staked. For simplicity, we assume in the following example that the neuron to be registered was created on the NNS dapp and that the same neuron is used to submit the proposal.

1. Download and install dfx It is not possible to submit proposals through the NNS dapp. Therefore, you must use a command line tool called dfx.dfx is only natively supported on Mac and Linux, but it can be installed on Windows using WSL.

To install dfx, follow the installation instructions.

Here are the instructions for Mac and Linux:

sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

If you are using a machine running Apple silicon, you will need to have Rosetta installed. You can install Rosetta by running softwareupdate --install-rosetta in your terminal.

2. Add your dfx principal as a hotkey to your neuron Your neuron is controlled by a principal ID, which is an identity on ICP. However, you want to be able to submit proposals from the command line on your computer in this neuron's name. For this, you can register the principal that you have on your computer as a hot key of the neuron. Hot keys have the permission to vote and submit proposals for the neuron.

Run dfx identity get-principal to get the principal ID that corresponds to your current developer identity. The following steps will refer to this as your "dfx principal". It should output some text that looks something like this: hnswe-crhc7-funvc-qqkg4-pk3j4-vxfhs-ckf2o-i56yb-frent-vl7vk-3qe.

Then, go back to the NNS dapp. On the "Neuron Staking" page, click “Add Hotkey” on for your neuron. You may need to scroll down a bit. Once you’ve clicked “Add Hotkey”, paste your dfx principal into the window that appears, and press confirm. Your dfx principal should appear under “Hotkeys”. You can now control your neuron from the local terminal.

3. Submit the proposal To submit the proposal, you need the neuron ID of the neuron to be registered as a known neuron, a name for the known neuron, and a short description. You find your neuron ID in the NNS dapp at the top right of the NNS dashboard page for your neuron.

To submit the proposal, customize the following template in a text editor, then run it!

You can run it by pasting the customized template into your terminal.

NEURON_ID="your neuron ID" # Set to your neuron ID copied in the previous step
NEW_NAME="desired known neuron name here" # Customize
NEW_DESCRIPTION="desired known neuron name description here" # customize
PROPOSAL_TITLE="Make $NEURON_ID a known neuron (${NEW_NAME})"
PROPOSAL_SUMMARY="add the proposal proposal summary here" # customize
PROPOSAL_URL="link to forum post" # customize to whatever url you want to be listed in the proposal, like a link to the forum post
dfx canister --network ic call rrkah-fqaaa-aaaaa-aaaaq-cai manage_neuron "( record { id = opt record { id = ${NEURON_ID}: nat64}; command = opt variant { MakeProposal = record { title = opt \"${PROPOSAL_TITLE}\"; url = \"${PROPOSAL_URL}\"; summary = \"${PROPOSAL_SUMMARY}\"; action = opt variant {RegisterKnownNeuron = record {id = opt record { id = ${NEURON_ID}: nat64}; known_neuron_data = opt record {name = \"${NEW_NAME}\"; description = opt \"${NEW_DESCRIPTION}\"}}}}}})"

Here is a concrete example for reference:

NEURON_ID="12664007384337444895"
NEW_NAME="Testname"
NEW_DESCRIPTION="I like the NNS DAO"
PROPOSAL_TITLE="Make $NEURON_ID a known neuron (${NEW_NAME})"
PROPOSAL_SUMMARY="Hi everyone. I would like to become a known neuron. Find more information about me on the linked forum post."
PROPOSAL_URL="https://forum.dfinity.org/link-to-post/3074"
dfx canister --network ic call rrkah-fqaaa-aaaaa-aaaaq-cai manage_neuron "( record { id = opt record { id = ${NEURON_ID}: nat64}; command = opt variant { MakeProposal = record { title = opt \"${PROPOSAL_TITLE}\"; url = \"${PROPOSAL_URL}\"; summary = \"${PROPOSAL_SUMMARY}\"; action = opt variant {RegisterKnownNeuron = record {id = opt record { id = ${NEURON_ID}: nat64}; known_neuron_data = opt record {name = \"${NEW_NAME}\"; description = opt \"${NEW_DESCRIPTION}\"}}}}}})"

After running this command, you should see something like this:

(
record {
command = opt variant {
MakeProposal = record {
message = opt "The proposal has been created successfully.";
proposal_id = opt record { id = 129_666 : nat64 };
}
};
},
)

What you see after id = is the ID of the proposal you just submitted, which other NNS neuron owners can now vote on! It should appear on the dashboard shortly. If you have trouble finding it, you can just use the following URL and replace the number at the end with the ID of the proposal you just made (without the underscores): https://dashboard.internetcomputer.org/proposal/129666.