0.0.1 • Published 6 years ago

swarm-sdk v0.0.1

Weekly downloads
1
License
Apache-2.0
Repository
gitlab
Last release
6 years ago

Swarm JS SDK

Overview

Swarm JS SDK is a client-side Javascript library for Swarm tokenization platform.

Getting Started

  1. Add Swarm SDK to your project:

    npm install -S swarm-sdk
  2. Create an SDK instance:

    import { Swarm } from 'swarm-sdk'
    
    let sdk = await Swarm.create('https://backend.swarm.com')
  3. Grab your Swarm wallet:

    let wallet = await sdk.api.wallets.get('my@email.com', '<my password>')
    sdk.useWallet(wallet)
  4. 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.