Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 577 Bytes

File metadata and controls

28 lines (21 loc) · 577 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 polymesh = await Polymesh.connect({
  nodeUrl,
  signingManager,
});

Info

This library was generated with Nx.