Simple Connect
The following example shows how to instantiate a Polkadot API object and use it to connect to a node using ApiPromise.
<<< @/docs/examples/promise/01_simple_connect/index.js
The following example shows how to instantiate a Polkadot API object and use it to connect to a node using ApiPromise.
<<< @/docs/examples/promise/01_simple_connect/index.js