JSPM

swarm-sdk

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q28781F
  • License Apache-2.0

swarm-sdk is a client-side SDK for Swarm asset tokenization platform.

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

  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.