1.0.5 • Published 2 years ago

gerbeur v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago