Clone, install and run - requires NodeJS
git clone email@example.com:SelfKeyFoundation/selfkey-service.git
npm run dev
POST request to the service endpoint '/' with a nonce, signature and ethereum address in the body using the following fields:
nonce: <nonce value> signature: <signature value> publicKey: <ethereum address>
To create the data you can use the functions in the
selfkey-lib library - also see the test file for an example of this.
Build the container and run it - forward the port as you see fit
docker build .
docker run -p 3018:3018 <container id>
Make sure the service is running first
npm run test
Please see the contributing notes
Copyright (c) 2018 SelfKey Foundation https://selfkey.org/