Difference between revisions of "How-To: Updating neuron following via quill"

From Internet Computer Wiki
Jump to: navigation, search
m
Line 28: Line 28:
 
Assume that you have a set-up where your PEM file is called identity.pem and the id of your neuron is 11423144599838103945.
 
Assume that you have a set-up where your PEM file is called identity.pem and the id of your neuron is 11423144599838103945.
  
=== Example 1: ===  
+
=== Example 1 ===  
 
* Set the following for the category “Governance” (topic type 4).  
 
* Set the following for the category “Governance” (topic type 4).  
 
* Follow the ICP Maximalist Network with neuron id 4966884161088437903
 
* Follow the ICP Maximalist Network with neuron id 4966884161088437903
Line 35: Line 35:
 
'''quill --pem-file identity.pem neuron-manage 11423144599838103945 --follow-topic 4 --follow-neurons 4966884161088437903'''  
 
'''quill --pem-file identity.pem neuron-manage 11423144599838103945 --follow-topic 4 --follow-neurons 4966884161088437903'''  
  
=== Example 2: ===  
+
=== Example 2 ===  
 
* Set the following for the category “All Topics Except Governance” (topic type 0)  
 
* Set the following for the category “All Topics Except Governance” (topic type 0)  
 
* Follow the DFINITY foundation with neuron id 27
 
* Follow the DFINITY foundation with neuron id 27

Revision as of 09:01, 29 July 2022

Background and objective

  • The goal of this page is to explain how to set neuron following via quill, including some examples.
  • We assume that you have a working installation of quill and are familiar with the tool. For an introduction into quill, please see here. For instructions on how to install and use quill please see the readme on GitHub and the quill documentation.
  • This article is particularly relevant if you have not updated your neuron after the disablement of default following for proposals on the governance topic conducted in Q1’22.

Command syntax

The syntax of the quill command to set the following is

quill --pem-file <PEM_FILE> neuron-manage <neuron id> --follow-topic <FOLLOW_TOPIC> --follow-neurons <follow neuron id>

where

  • <PEM_FILE> is the path to the Privacy-Enhanced Mail (PEM) file created when quill was set up.
  • <neuron id> is the id of your neuron.
  • <FOLLOW_TOPIC> takes an argument from the following
    • 0 - All Topics Except Governance
    • 2 - ExchangeRate
    • 3 - NetworkEconomics
    • 4 - Governance
    • 5 - NodeAdmin
    • 6 - ParticipantManagement
    • 7 - SubnetManagement
    • 8 - NetworkCanisterManagement
    • 9 - KYC
    • 10 - NodeProviderRewards
  • <follow neuron id> is the id of the neuron you wish to follow.

Examples

Assume that you have a set-up where your PEM file is called identity.pem and the id of your neuron is 11423144599838103945.

Example 1

  • Set the following for the category “Governance” (topic type 4).
  • Follow the ICP Maximalist Network with neuron id 4966884161088437903

Then the corresponding quill command is

quill --pem-file identity.pem neuron-manage 11423144599838103945 --follow-topic 4 --follow-neurons 4966884161088437903

Example 2

  • Set the following for the category “All Topics Except Governance” (topic type 0)
  • Follow the DFINITY foundation with neuron id 27

Then the corresponding quill command is

quill --pem-file identity.pem neuron-manage 11423144599838103945 --follow-topic 0 --follow-neurons 27