How do I set a hot key for my neurons?

I have an air-gapped device that holds the keys to my neurons. I want to add a hotkey with limited permissions so I can manage them online.

What is the call I need to make?

1 Like

+1
Would be especially helpful to manage the voting process for all 49 neurons if you are a seed investor.

Untested command below but it’d be something like this:

On the airgapped machine (please excuse the single line of code):

dfx canister --network https://ic0.app --no-wallet sign rrkah-fqaaa-aaaaa-aaaaq-cai manage_neuron '( record { id=<neuron_id>; command=variant{ Configure=record{ operation=variant{ AddHotKey=record{ new_hot_key=<hot_principal> } } } } } )'

Then on the networked machine:

dfx canister --no-wallet send message.json

You can find the types needed to construct this and others like it in the governance.did Candid file here: https://github.com/dfinity/nns-ifaces/blob/master/governance.did

1 Like