1.0.5 • Published 3 years ago

gerbeur v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

A simple wrapper library on top of PolkadotJS

Example

import { Uniques } from "gerbeur";
import { ApiPromise, WsProvider } from "@polkadot/api";

ApiPromise.create({
  provider: new WsProvider("wss://statemine-rpc.polkadot.io"),
}).then(async (api: ApiPromise) => {
  const uniques = new Uniques(api);
  const collection = uniques.collection(11);
  const metadata = await collection.getMetadata();
  console.log(metadata);
});

Push a new release

yarn clean && yarn && yarn build
yarn publish
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago