@shelf.network/js-sdk
v12.9.0
Published
@shelf-network/js-sdk is a client-side SDK for Shelf.Network platform.
Downloads
114
Readme
ShelfNetwork JS SDK
Overview
@shelf.network/js-sdk
is a client-side Javascript library for ShelfNetwork distributed auction platform.
Getting Started
Add ShelfNetwork SDK to your project:
npm install -S @shelf.network/js-sdk
Create an SDK instance:
import { ShelfNetwork } from '@shelf.network/js-sdk' const sdk = await ShelfNetwork.create({ gatewayUrl: 'https://api.stagings.shelf.network' })
Log into your account:
const token = await sdk.auth.getToken('[email protected]', '<my password>') sdk.useToken(token)
Read the docs
Development
Check out our Development Guide.
License
@shelf.network/js-sdk is licensed under an Apache-2.0 license.