@metaverse-network-sdk/api-nodejs
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-2 • Public • Published

@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();

Readme

Keywords

none

Package Sidebar

Install

npm i @metaverse-network-sdk/api-nodejs

Weekly Downloads

5

Version

0.0.1-2

License

Apache-2.0

Unpacked Size

17 kB

Total Files

12

Last publish

Collaborators

  • mr.tonyhuynh.bitcountry
  • moolimike
  • justinphamnz