https://github.com/psychedelic/dfx-key
Key reader for DFINITY's Internet Computer
https://github.com/psychedelic/dfx-key
blockchain dfx ic pem
Last synced: 19 days ago
JSON representation
Key reader for DFINITY's Internet Computer
- Host: GitHub
- URL: https://github.com/psychedelic/dfx-key
- Owner: Psychedelic
- License: gpl-3.0
- Created: 2022-01-06T17:55:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T19:01:33.000Z (about 3 years ago)
- Last Synced: 2024-05-28T22:34:24.724Z (over 1 year ago)
- Topics: blockchain, dfx, ic, pem
- Language: JavaScript
- Homepage:
- Size: 177 KB
- Stars: 2
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- Using ED25519 key [PEM file](ed25519.js)
```bash
PEM_PATH=YOUR_PEM_PATH node ed25519.js
```
- Using [Plug's PEM file](plug.js)
```bash
PEM_PATH=YOUR_PEM_PATH node plug.js
```
- Using [CoverSDK](cover-sdk.js)
```bash
PEM_PATH=YOUR_PEM_PATH node cover-sdk.js
```