@metaverse-network-sdk/api
v0.0.1-51-9
Published
Extended API library for polkadot.js
Downloads
44
Keywords
Readme
@metaverse-network-sdk/api
Extended API library for polkadot.js.
Create api manager instance from metaverse network
import { ApiManager } from '@metaverse-network-sdk/api';
async function main() {
const apiManager = await ApiManager.create({ wsEndpoint: 'ws://localhost:9944' });
let api = apiManager.api;
await api.isReady;
// use api
}
main();