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 P2P secret

Create P2P Secret


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?
How Can We Improve This Article?
Table of Contents