πGenerate Public Key
Generate a Public Key to Create Your API Key and Unlock GMGN's Featured Skills
Last updated
Generate a Public Key to Create Your API Key and Unlock GMGN's Featured Skills
Paste the following text to your AI Agent
Generate an Ed25519 key pair for me using OpenSSL and show me
Click the link below to visit the asymmetric key generator repository. Select the file (in the red box) that corresponds to your operating system, then download and install the latest version of the key generator.
π Download the generator: https://github.com/binance/asymmetric-key-generator/releases
Note: If the key generator fails to run properly, please download the .CHECKSUM file (in the green box) to verify the integrity of the generator package. Please ensure both files are downloaded to the same directory

Open the key generator and simply click "Generate 1 Key Pair". You will receive one Private Key and one Public Key
β οΈ Please Note:
Do not share your API Key, Ed25519, or RSA Private Keys! Exposing them may result in the loss of your assets
Click "SAVE PAIR" or "SAVE" to securely store your keys locally

Click "COPY" to copy the WHOLE Public Key, then paste it into the public key input box on the GMGN platform to continue creating your GMGN API Key
β οΈ Please Note:
You need to paste the Public Key in its entirety, including the "BEGIN" and "END" lines at the start and end of the key ( "-----BEGIN PUBLIC KEY---β" & "-----END PUBLIC KEY-----").
Similarly, when configuring the Private Key locally, you must also retain both the "BEGIN" and "END" lines at the start and end of the key ("-----BEGIN PRIVATE KEY---β" & "-----END PRIVATE KEY-----").


When connecting to the API, we use an asymmetric key pair for secure authentication. The core of this security model is "one key pair, two keys": a Public Key and a Private Key
They are generated through a strict mathematical relationship, but the fundamental design principle ensures that the Public Key can be safely shared openly, while the Private Key must be kept absolutely confidential
Last updated