Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gerbeur

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gerbeur

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

  • 1.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 28 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc