Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@skilesare
Created August 14, 2022 14:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skilesare/7af5883f63a340d20a3f52ebb22b493b to your computer and use it in GitHub Desktop.
Save skilesare/7af5883f63a340d20a3f52ebb22b493b to your computer and use it in GitHub Desktop.
Create a named neuron

dfx --identity icdevmanager canister --network ic call rrkah-fqaaa-aaaaa-aaaaq-cai manage_neuron '( record { id = opt record { id = YOUFUNDEDNEURON: nat64}; command = opt variant { MakeProposal = record { url = ""; title="Proposal to Adopt KnownNeuron - YOUR NEURON"; summary = "This proposal seeks to have XXXXX added as a named Followee in the NNS dApp. "; action = opt variant {RegisterKnownNeuron = record {id = opt record { id = NAMEDNEURONID: nat64}; known_neuron_data = opt record {name = "NAME"; description = "YOUR DESCRIPTION "}}}}}})'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment