Skip to content

swarmfund/js-swarm-sdk

Repository files navigation

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.

About

JS SDK for creating apps on the Swarm Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •