@fragnova/api-augment
JavaScript/TypeScript SDK for interacting with the Fragnova Blockchain
Getting Started
-
npm install @fragnova/api-augment
(API Augmentation Library) -
npm install @polkadot/api@9.14.2
(Polkadot API Library)
Usage
For details on use, see the Polkadot API library documentation.
import { options } from "@fragnova/api-augment";
import { ApiPromise, WsProvider } from '@polkadot/api';
// ...
const api = await ApiPromise.create({
provider: new WsProvider("ws://ws.fragnova.network"),
...options,
});