All basic functions plus guide README to use

This commit is contained in:
Malte Schröder
2025-12-19 20:25:39 +01:00
parent db48f07b78
commit 397635d43e
12 changed files with 486 additions and 22 deletions

11
test_output.txt Normal file
View File

@@ -0,0 +1,11 @@
Compiling easy-nostr v0.1.0 (/home/malxte/Documents/Programming/Rust/Crates/easy-nostr)
error[E0277]: the `?` operator can only be applied to values that implement `Try`
--> src/bin/testall.rs:12:16
|
12 | let nsec = keys.secret_key()?.to_bech32()?;
| ^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `&nostr_sdk::SecretKey`
|
= help: the trait `Try` is not implemented for `&nostr_sdk::SecretKey`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `easy-nostr` (bin "testall") due to 1 previous error