SelfKey Javascript Library
$ npm install selfkey.js
createNonce(length)
createSignature(nonce, privateKey)
verifySignature(nonce, signature, publicKey)
didResolver(did)
The SelfKey Marketplace integration requires the signature verification function to prove ownership of an ethereum address.
The Login with SelfKey strategy authenticates users using a nonce, signature and public key.
For more detailed usage for Login with SelfKey integration with PassportJS authentication please refer to the passport-selfkey library
Copyright (c) 2018 SelfKey Foundation https://selfkey.org/