Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: dfx-nns.md #3594

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/cli-reference/dfx-nns.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $ dfx nns install --help

## dfx nns import

Use the `dfx nns import` command to add the NNS canisters to the local `dfx.json`. It also downloads the did files and sets the canister IDs of the NNS cansiters so that you can make API calls to NNS canisters.
Use the `dfx nns import` command to add the NNS canisters to the local `dfx.json`. It also downloads the did files and sets the canister IDs of the NNS canisters so that you can make API calls to NNS canisters.

### Basic usage

Expand Down Expand Up @@ -68,7 +68,7 @@ The local network needs to be set up with a very specific configuration:
$ cat ~/.config/dfx/networks.json
{
"local": {
"bind": "127.0.0.1:8080",
"bind": "127.0.0.1:4943",
"type": "ephemeral",
"replica": {
"subnet_type": "system"
Expand Down Expand Up @@ -132,6 +132,10 @@ $ openssl ec -in ident-1.pem -noout -text
``` bash
$ dfx identity import ident-1 ident-1.pem
```
* Switch to the identity you just imported
```bash
$ dfx identity use ident-1
```
* Now you can use the (toy) funds:
``` bash
$ dfx ledger balance
Expand Down
Loading