Package Exports
- swarm-sdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (swarm-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Swarm JS SDK
Overview
Swarm JS SDK is a client-side Javascript library for Swarm tokenization platform.
Getting Started
Add Swarm SDK to your project:
npm install -S swarm-sdk
Create an SDK instance:
import { Swarm } from 'swarm-sdk' let sdk = await Swarm.create('https://backend.swarm.com')
Grab your Swarm wallet:
let wallet = await sdk.api.wallets.get('my@email.com', '<my password>') sdk.useWallet(wallet)
Read the docs and tokenize your assets!
Development
Check out our Development Guide.
License
swarm-js-sdk is licensed under an Apache-2.0 license.