/dfx-key

Key reader for DFINITY's Internet Computer

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Internet Computer's key reader/writer

  • Provides examples of how to get private key, public key out of a PEM file, how to use them to sign a message to get a signature and how to verify a signature.

Usage

PEM_PATH=YOUR_PEM_PATH node ed25519.js
PEM_PATH=YOUR_PEM_PATH node plug.js
PEM_PATH=YOUR_PEM_PATH node cover-sdk.js