tgerboui / nona-lib

TypeScript library to simplify interactions with the Nano currency node.
MIT License
6 stars 1 forks source link

Sign block locally #10

Open tgerboui opened 7 months ago

tgerboui commented 7 months ago

Currently, blocks are created and signed using the block_create RPC command, however to limit exposure of the private key and avoid sharing it with a public node, it would be preferable to sign blocks locally.

This is also how rpc.nano.to handles blocks, preparing the library for compatibility with the service.