Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nostr protocol types for rust language development

License

NotificationsYou must be signed in to change notification settings

mikedilger/nostr-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.ioMIT licensedStable DocsMaster Docs

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.

License

Contribution

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

Stars

Watchers

Forks

Packages

No packages published

Contributors6

Languages


[8]ページ先頭

©2009-2025 Movatter.jp