Developer Key
To access SendingNetwork's developer resources, developers are kindly requested to initiate the process by requesting a developer key through email. This key is essential for unlocking access to all the Edge Network features and capabilities.
This guide shows how to create and use your Developer Key for accessing the Edge Network.
Create Developer Key
To obtain a developer key and unlock our platform's potential, please follow these steps:
Send an email to developer@sending.network with the subject line: "Developer Key Request".
In the email, kindly provide your name and a brief overview of your project, outlining its purpose and scope.
Our team will promptly review your request and provide you with the necessary developer key to accelerate your integration process.
Use Developer Key
SendingNetwork recommends securely storing the developer key on your self-controlled server and developing a backend API to access the server for signature retrieval during login.
Kindly establish a secure key server for the proper management of your developer key. Additionally, it is necessary to develop a backend API to receive a challenge from the client and return the Ethereum ECDSA signature from your key server. Please
The key verification process occurs during user login, and the workflow is as follows:
Check existing DIDs linked to the current wallet address.
Get login message using one of the DIDs or the wallet address if no DID is found.
Request a message signature with the developer key.
Request a message signature with the user wallet account.
Login by sending both signatures to the SDN server.
Ethereum ECDSA Signature
The server uses the Ethereum ECDSA algorithm for signing. Below is an example code in Golang:
Login Flow Example
Check out the code snippet below that gives you a glimpse of how a regular login works, with the added step of verifying the developer key. The example is given in JavaScript, please refer to the specific sdk for more information.
Last updated