[#119] nns/docs: Integrate FrostfsID into NNS
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
ce4e326157
commit
0d76a79d5b
1 changed files with 29 additions and 0 deletions
|
@ -44,3 +44,32 @@ The committee makes new tokens (domains), sets, and charges a fee for issuance.
|
||||||
## Globally Unique Domain Zone
|
## Globally Unique Domain Zone
|
||||||
|
|
||||||
For more information, see [here](../docs/globally-unique-domain-zone.md).
|
For more information, see [here](../docs/globally-unique-domain-zone.md).
|
||||||
|
|
||||||
|
## NNS and Frostfsid
|
||||||
|
|
||||||
|
You can register a TLD domain without a committee signature using Frostfsid. To do this, create a new wallet
|
||||||
|
```
|
||||||
|
neo-go wallet init -w newwallet/wallet.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Get wallet address:
|
||||||
|
```
|
||||||
|
neo-go wallet dump-keys -w newwallet/wallet.json
|
||||||
|
[subject-address]
|
||||||
|
[subject-key]
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a subject in `FrostfsID`:
|
||||||
|
```
|
||||||
|
frostfs-adm morph frostfsid create-subject --subject-key="[subject-key]"
|
||||||
|
```
|
||||||
|
|
||||||
|
Grant permissions to the wallet:
|
||||||
|
```
|
||||||
|
frostfs-adm morph nns give-privilege --subject-address="[subject-address]"
|
||||||
|
```
|
||||||
|
|
||||||
|
Register domain:
|
||||||
|
```
|
||||||
|
neo-go contract invokefunction [NNS-hash] register "subdomain.domain" hash160:[subject-address] "email@frostfs.info" 10000 1000 1000 1000 -- [subject-address]:Global
|
||||||
|
```
|
Loading…
Reference in a new issue