npm.io
4.8.0 • Published 6 months ago

@airgap/beacon-blockchain-substrate

Licence
ISC
Version
4.8.0
Deps
2
Size
298 kB
Vulns
0
Weekly
0
Stars
113

@airgap/beacon-blockchain-substrate

This package is part of the @airgap/beacon-sdk project. Read more

Introduction

This package adds support for substrate based blockchains. It can be used in combination with the @airgap/beacon-dapp or @airgap/beacon-wallet packages.

Usage

import { DAppClient } from '@airga/beacon-dapp'
import { SubstrateBlockchain } from '@airga/beacon-blockchain-substrate'

const client = new DAppClient({
    name: 'Example DApp',
})

const substrateBlockchain = new SubstrateBlockchain()
client.addBlockchain(substrateBlockchain)

Check our documentation for more information. Documentation