swarmfund / js-swarm-sdk

JS SDK for creating apps on the Swarm Blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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('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.

About

JS SDK for creating apps on the Swarm Blockchain

License:Apache License 2.0


Languages

Language:JavaScript 99.8%Language:Ruby 0.2%