vol4tim / robonomics-api-augment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

TypeScript type definitions for Robonomics chain to decorate the @polkadot/api.

Installation

npm i robonomics-api-augment --save

⚠️ @polkadot/api should be installed in your project!

Usage

Add to your codebase entry point before any imports from the API itself.

  • import 'robonomics-api-augment' - applies Robonomics types and endpoint augmentation

Docs

TypeScript interfaces

Publish

Generate new types.

npm run generate

Build the package.

npm run build

About


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%