Well that sounds amazing. We should then be able to manually decode the Certificate response data with cbor.me and didc somehow correct? Any idea on how to do that? Or is it only possible to do it programmatically? Adding in the governance annotations into the tool will be awesome too. Thanks!
Also, will you also add some installation instructions to the README? Not familiar with Ruby and need to understand how to map main.rs to icx-nns command and install all the packages. Then once I can install properly, I need to figure out how to copy all of those changes over to an airgapped machine that cannot access the package manager.
I second Claude’s response. How do we decode that certificate? It seems you are using the candid crate, but I’m not very familiar with Rust so I have no idea what is going on in the ‘Decode’ method you use. Can you shed some light on this @prithvi ? Many thanks!
Hey Claude,
thanks again for the heads up! I wasn’t able to build @prithvi 's tool, but @PaulLiu released something similar just recently. The blog is now updated and you should be able to run get_full_neuron successfully with an airgapped machine.
Let me know if you have any questions!
(you might need to clear you cache to see the latest updates)
I’m also not sure about this. Dfinity has previously said they are working on what they call “self custody” which is basically the same thing as hardware wallet support. Right now you cannot use this “self custody” approach with IC dapps like nns.ic0.app unfortunately. But I’m guessing that once they have this figured out we should be able to put seeds into hardware wallets and gain access to nice existing GUIs to manage our neurons in the nns app.
Not even to sell the tokens but to manage them and spawn to compound. Managing 48 neurons from command line plus all the spawned neurons is not practical. Spawning and staking 48 new neurons every time.
I was told the NNS UI team is in charge and it would be possible to manage when hardware wallets are supported.
Who is on the NNS UI team? Can they chime in about hardware wallet support? And what stage they are at?
Would you be willing to add the ability to simply upload a message.json file to the tool? So the tool would work with both scenarios: QR scan or uploading a message.json file directly. I would be very grateful if you could add that to the tool as my setup doesn’t work too well with QR codes and I manually copy message.json files. Your tool would work perfectly for this use case as well.
It’s working! Thanks very much. This is such a useful tool.
One small issue is if you don’t give the tool permission to use the camera then it fails and also won’t let you use the text box.
Another more general issue is I wish that IC dapps would work in the Tor browser but they don’t. As it is, I have to route this tool through my VPN, whereas when running from command line it’s much easier to route all commands through torsocks or something like that.
how does that maturity value returned from get_full_neuron translate to a percentage ? maturty_e8s_equivalent = 1_892_091_771
it says e8s equivalent, which means that this is already the amount of ICP rewards you accumulated. 1 e8s = 1/100000000 ICP. so divide the number by 100 million to get the amount of ICP
its in cached_neurons_stake_e8s and you can take the account and check its balance direcly using the dashboard.internetcomputer.org
if you run get_neuron_info theres a state key in the return, to decode it check this
send the ICP from the controller account specified in the spawn command to the address of the neuron you want to top up
afaik this happens automatically once the balance is 0
Which of these is used for determining the controller Id when spawning a new neuron, and which is used to check the account value of ICP not lockd in a neuron ?
@cryptoschindler in the get_full_neuron response, there’s one attribute account = blob "Vz\ea\1d\8c\13\d8\bd\8a\1e..." , how can I decode this info. Is this the account id of this neuron so that I can send ICP to top up it?