Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 572 Bytes

File metadata and controls

28 lines (21 loc) · 572 Bytes

local-signing-manager

Polymesh SDK (v14+) compatible signing manager that stores private keys in memory.

Usage

import { LocalSigningManager } from '@polymeshassociation/local-signing-manager';
import { Polymesh } from '@polymeshassociation/polymesh-sdk';

// setup
const signingManager = await LocalSigningManager.create({
  accounts: [
    {
      mnemonic: 'secret words will not be shared',
    },
  ],
});

const sdk = await Polymesh.connect({
  nodeUrl,
  signingManager,
});

Info

This library was generated with Nx.