- Notifications
You must be signed in to change notification settings - Fork13
nostr protocol types for rust language development
License
mikedilger/nostr-types
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
nostr-types is a crate defining types useful for the nostr protocol.
We wrap all basic types. Ani64 may or may not be aUnixtime. A&str mightbe a hex encoded private key, or it might be somebody's name. By using types foreverything, common mistakes can be avoided.
We have extensive serde implementations for all types which are not simple to serializesuch as Tag.
Private keys remember if you've seen them or imported them and set themselves toWeak ifyou have. Generated private keys start out asMedium. We don't supportStrong yetwhich will require a hardware token. (Note: there are ways to leak a private key withoutit knowing, so if it saysMedium that is the maximum security, not a guaranteed levelof security). Private keys can be imported and exported in a password-keyed encrypted formwithout weakening their security.
- MIT license (LICENSE-MIT orhttp://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in the work by you, shall be licensed as above, without any additionalterms or conditions.
About
nostr protocol types for rust language development
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.