@sparkdreamnft/beacon-blockchain-substrate
v4.0.16
Published
This package adds support for `substrate` based blockchains. It can be used in combination with the `@sparkdreamnft/beacon-dapp` or `@sparkdreamnft/beacon-wallet` packages.
Downloads
2
Readme
@sparkdreamnft/beacon-blockchain-substrate
This package is part of the @sparkdreamnft/beacon-sdk
project. Read more
Introduction
This package adds support for substrate
based blockchains. It can be used in combination with the @sparkdreamnft/beacon-dapp
or @sparkdreamnft/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