Polymesh SDK (v14+) compatible signing manager that stores private keys in memory.
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,
});
This library was generated with Nx.