@shelf.network/js-sdk
TypeScript icon, indicating that this package has built-in type declarations

12.9.0 • Public • Published

ShelfNetwork JS SDK

Overview

@shelf.network/js-sdk is a client-side Javascript library for ShelfNetwork distributed auction platform.

Getting Started

  1. Add ShelfNetwork SDK to your project:

    npm install -S @shelf.network/js-sdk
  2. Create an SDK instance:

    import { ShelfNetwork } from '@shelf.network/js-sdk'
    
    const sdk = await ShelfNetwork.create({
      gatewayUrl: 'https://api.stagings.shelf.network'
    })
  3. Log into your account:

    const token = await sdk.auth.getToken('my@email.com', '<my password>')
    sdk.useToken(token)
  4. Read the docs

Development

Check out our Development Guide.

License

@shelf.network/js-sdk is licensed under an Apache-2.0 license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 12.9.0
    0
    • latest

Version History

Package Sidebar

Install

npm i @shelf.network/js-sdk

Weekly Downloads

0

Version

12.9.0

License

Apache-2.0

Unpacked Size

7.85 MB

Total Files

431

Last publish

Collaborators

  • ihor.diachenko