@metaverse-network-sdk/api-nodejs
v0.0.1-2
Published
Extended API library for polkadot.js for use in nodejs
Downloads
64
Keywords
Readme
@metaverse-network-sdk/api
Extended API library for polkadot.js in nodejs environments.
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();