0.0.4 • Published 6 years ago

zka v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

zka

zero knowledge api key

install

npm install zka

usage

const baseUrl = "https://your-domain"
const apiPath = "/api/v1" 
// create zka with base url and api path
const zka = require('zka')(baseUrl, apiPath)
// provide accountid, apikey and secret to support rest and socket communication with server 
zka.init(accountId, apiKey, secret)
// use rest call
zka.rest.get('/account')