Socket
Book a DemoInstallSign in
Socket

@substrate/txwrapper-registry

Package Overview
Dependencies
Maintainers
18
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/txwrapper-registry

Polkadot-js type registry creation assistants for txwrapper libraries.

3.2.2
Source
npmnpm
Version published
Weekly downloads
56K
42.71%
Maintainers
18
Weekly downloads
 
Created
Source



@substrate/txwrapper-registry

Registry creation support, catering to chains with types in [@polkadot/apps-config](https://github.com/polkadot-js/apps/tree/master/packages/apps-config/README.md)

npm Github Actions david-dm



yarn add @substrate/txwrapper-registry

In a JS/TS index file of package:

import { getRegistry } from '@substrate/txwrapper-registry';

  // Create Polkadot's type registry.
  const registry = getRegistry({
    chainName: 'Polkadot',
    specName: 'polkadot',
    specVersion: 26,
    metadataRpc,
  });

Have a look at the examples to see how getRegistry is used in the whole lifecycle of a transaction, from generation to signing to broadcast.

FAQs

Package last updated on 06 Sep 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.