How Can We Help?

Search for answers or browse our knowledge base.


Still need help? Ask our Service Desk!

Categories
< All Topics
Print

How to create a P2P secret

Create P2P Secret

Here




With CLI

First install the @gny/cli via npm:

npm install --global @gny/cli

Then execute the createp2psecret command:

gny-cli createp2psecret

The result:

{
  "id": "QmS8qAn5UYykHD2FpqmELMTDFAB5WKBSWiKJWX4U7cnnR3",
  "privKey": "CAASpwkwggSjAgEAAoIBAQCXtFhfimFv+VSF...",
  "pubKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXtFhfimFv+..."
}

::: tip
The p2p secret is the key privKey starting with: CAASpwkwggSjAgEAAoIBAQCXtFhfi...
:::

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?
Please submit the reason for your vote so that we can improve the article.
Previous How to check your balance
Next How to create a secret
Table of Contents