Swarm JS SDK is a client-side Javascript library for Swarm tokenization platform.
-
Add Swarm SDK to your project:
npm install -S swarm-sdk
-
Create an SDK instance:
import { Swarm } from 'swarm-sdk' let sdk = await Swarm.create('https://api-stage.swarm.fund')
-
Grab your Swarm wallet:
let wallet = await sdk.api.wallets.get('[email protected]', '<my password>') sdk.useWallet(wallet)
-
Read the docs and tokenize your assets!
Check out our Development Guide.
swarm-js-sdk is licensed under an Apache-2.0 license.