| Crates.io | nostrkeytool |
| lib.rs | nostrkeytool |
| version | 0.2.0 |
| created_at | 2024-01-25 23:09:27.989406+00 |
| updated_at | 2024-02-07 19:37:24.235376+00 |
| description | A command-line tool for NOSTR key operations |
| homepage | |
| repository | https://github.com/dcadenas/nostrkeytool |
| max_upload_size | |
| id | 1114759 |
| size | 56,813 |
Tool for NOSTR key operations
You can install nostrkeytool using Cargo, the Rust package manager.
If you have Rust and Cargo installed, run the following command:
cargo install nostrkeytool
This command will download and compile nostrkeytool, making it available in your Cargo binary path.
Make sure $HOME/.cargo/bin is in your system's PATH to run nostrkeytool from anywhere.
Usage: nostrkeytool [OPTIONS]
Options:
--sec2npub <sec2npub> Input: hex secret, Output: npub
--sec2pubkey <sec2pubkey> Input: hex secret, Output: pubkey
--sec2nsec <sec2nsec> Input: hex secret, Output: nsec
--nsec2sec <nsec2sec> Input: nsec, Output: hex secret
--pubkey2npub <pubkey2npub> Input: pubkey, Output: npub
--npub2pubkey <npub2pubkey> Input: npub, Output: pubkey
--gen Generate a secret
-h, --help Print help
-V, --version Print version
We welcome contributions to nostrkeytool! Here's how to get started:
Please follow the Rust coding conventions and include appropriate documentation.
nostrkeytool is provided under the MIT License. See the LICENSE file for more details.