0.0.18 • Published 6 years ago

@leverj/leverj-common v0.0.18

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

leverj-common

common utility features

npm install leverj-common

sign and validate order object

sign an order
const auth = require('leverj-common/OrderAuthentication')
const {v,r,s} = auth.sign(order, tokenDecimalPlaces, secret)
validate order
const auth = require('leverj-common/OrderAuthentication')
const apiKey = auth.getSigner(order, tokenDecimalPlaces, {v,r,s})
affirm(apiKey).to.eql(accountApiKey)
0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago