This package has been deprecated

Author message:

Renamed to @shelf.network/js-sdk package

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

0.11.1 • Public • Published

ShelfNetwork JS SDK

WARNING: This package name is deprecated and won't be maintained in the future. Use @shelf.network/js-sdk instead.

Overview

shelf-network-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-sdk
  2. Create an SDK instance:

    import { ShelfNetwork } from 'shelf-network-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-sdk is licensed under an Apache-2.0 license.

Versions

Current Tags

VersionDownloads (Last 7 Days)Published

Version History

VersionDownloads (Last 7 Days)Published

Package Sidebar

Install

npm i shelf-network-sdk

Weekly Downloads

21

Version

0.11.1

License

Apache-2.0

Unpacked Size

9.98 MB

Total Files

218

Last publish

Collaborators

  • ihor.diachenko