Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 730 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 730 Bytes

JS SWARM 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://api-stage.swarm.fund')
  3. Grab your Swarm wallet:

    let wallet = await sdk.api.wallets.get('[email protected]', '<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.