Nerfing Powerful Megalomaniacs

    @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

    522

    Version

    4.3.0

    License

    MIT

    Unpacked Size

    6.93 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar