-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clean up some unused deps with cargo machete (#704)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sa-github-api <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikola Milosavljevic <[email protected]> Co-authored-by: Luka Skugor <[email protected]> Co-authored-by: pietrodimarco-dfinity <[email protected]>
- Loading branch information
1 parent
5d4f8f2
commit bcf931a
Showing
10 changed files
with
50 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Instructions for Creating a New Neuron for Proposal Submission | ||
|
||
Follow these steps to create a new neuron for proposal submission. | ||
|
||
## Requirements | ||
|
||
* 11 ICP (10 of which are to be staked for the NNS proposal deposit) | ||
* Basic understanding of [neurons, staking, and governance proposals](https://internetcomputer.org/docs/current/tokenomics/nns/nns-staking-voting-rewards). | ||
* Optional [Hardware wallet](https://www.ledger.com/) | ||
|
||
## Install the Required Tools | ||
|
||
Install dfx | ||
```bash | ||
sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)" | ||
``` | ||
|
||
```bash | ||
export PATH=$HOME/bin:$PATH | ||
``` | ||
|
||
If you already had `dfx` installed, make sure it's updated to the latest version | ||
```bash | ||
dfx upgrade | ||
dfx --version | ||
``` | ||
|
||
## Create a neuron Hotkey | ||
|
||
The neuron in the NNS UI (https://nns.ic0.app) needs to be managed with a locally generated private key. This is done though a so called Hotkey. | ||
```bash | ||
dfx identity new --storage-mode=plaintext neuron-hotkey | ||
``` | ||
|
||
```bash | ||
dfx --identity neuron-hotkey identity get-principal | ||
``` | ||
Example output: `wuyst-x5tpn-g5wri-mp3ps-vjtba-de3xs-w5xgb-crvek-tucbe-o5rqi-mae` | ||
|
||
**Note:** This hotkey is used for NNS proposal submissions only. | ||
|
||
### Create and Manage Neuron via NNS Frontend Dapp and Internet Identity | ||
|
||
1. Send at least 11 ICPs to your hardware wallet address. | ||
2. Navigate to the Neurons tab and create a Neuron by staking at least 10 ICP from your hardware wallet. Confirm the transaction on your hardware wallet. | ||
3. After the Neuron is created, confirm to "Add NNS Dapp as hotkey" in the dialogue and on your hardware wallet. | ||
4. Set the dissolve delay to at least 6 months and confirm the choice. | ||
5. Copy the Neuron ID from the Web UI, for use in the next steps. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.