How Can We Help?
Search for answers or browse our knowledge base.
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...
:::