Notoriously Punctual Manatee

    @leverj/adapter

    4.3.0 • Public • Published

    adapter

    creates and verifies order signature for gluon plasma

    npm install @leverj/adapter

    sign and validate order object

    sign an order
    const adapter = require('@leverj/adapter/src/OrderAdapter')
    const {v,r,s} = adapter.sign(order, pair, secret)
    validate order
    const adapter = require('@leverj/adapter/src/OrderAdapter')
    const apiKey = adapter.getSigner(order, pair, {v,r,s})
    affirm(apiKey).to.eql(accountApiKey)

    Install

    npm i @leverj/adapter

    DownloadsWeekly Downloads

    6

    Version

    4.3.0

    License

    MIT

    Unpacked Size

    6.93 kB

    Total Files

    6

    Last publish

    Collaborators

    • adikeshavs
    • tshanky
    • bharathrao
    • nirmalgupta
    • darshanrathi
    • bsadeh
    • trueeye