selfkey.js
v1.0.24
Published
SelfKey Javascript Library
Downloads
12
Readme
selfkey.js
SelfKey Javascript Library
Install
$ npm install selfkey.js
Usage
createNonce(length)
createSignature(nonce, privateKey)
verifySignature(nonce, signature, publicKey)
didResolver(did)
SelfKey Marketplace
The SelfKey Marketplace integration requires the signature verification function to prove ownership of an ethereum address.
Login with SelfKey
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
License
Copyright (c) 2018 SelfKey Foundation https://selfkey.org/