How Can We Help?

Search for answers or browse our knowledge base.

Still need help? Ask our Service Desk!

< All Topics

How to create a secret

Create Secret

::: warning
The generated secret should be kept safe and should be told to nobody. All digital assets are tied to this secret. If you loose this secret you will loose all your digital assets.

Don’t reuse this secret on differnet GNY networks (localnet, testnet, mainnet). You make yourself vulnerable to Replay attacks

::: tip
This secret (BIP39 standard) is used to access your funds on the GNY Blockhain and activates forging (if you are a delegate).


With CLI

First install the @gny/cli via npm:

npm install --global @gny/cli

Then execute the genaccount command:

gny-cli genaccount
? Enter number of accounts to generate 1

The result:

    "address": "G2iZ5kf5z8NnyoTV17b6rSNEYQYzA",
    "secret": "source express orange puppy spy...",
    "publicKey": "96ac2d8076bd2858d391d0e22dd63a4edc879a9447d0fe2f8a1d175e36f105c8"

::: tip
The secret is the key secret starting with: source express orange...

::: tip
In order to start forging you need to add your secret to your node configuration.

Visit run-node/configure for details

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?
Table of Contents