0x330a / nostrino

A Kotlin SDK for Nostr

Home Page:https://cashapp.github.io/nostrino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nostrino is a Nostr SDK for Kotlin.

It is a work in progress. See current NIP support.

Getting Started

On the Sontaype page for Nostrino, choose the latest version of nostr-sdk and follow the instructions for inclusion in your build tool.

Documentation

The API documentation is published with each release at https://cashapp.github.io/nostrino

Supported NIPs

Supported NIP
βœ… 01 - Basic protocol flow description
🚧 02 - Contact List and Petnames
πŸ—… 03 - OpenTimestamps Attestations for Events
βœ… 04 - Encrypted Direct Message
πŸ—… 05 - Mapping Nostr keys to DNS-based internet identifiers
πŸ—… 06 - Basic key derivation from mnemonic seed phrase
βœ… 09 - Event Deletion
πŸ—… 10 - Conventions for clients' use of e and p tags in text events
πŸ—… 11 - Relay Information Document
πŸ—… 12 - Generic Tag Queries
πŸ—… 13 - Proof of Work
πŸ—… 14 - Subject tag in text events
βœ… 15 - End of Stored Events Notice
πŸ—… 16 - Event Treatment
πŸ—… 18 - Reposts
βœ… 19 - bech32-encoded entities
βœ… 20 - Command Results
πŸ—… 23 - Long-form Content
βœ… 25 - Reactions
πŸ—… 26 - Delegated Event Signing
πŸ—… 28 - Public Chat
πŸ—… 33 - Parameterized Replaceable Events
πŸ—… 36 - Sensitive Content
πŸ—… 40 - Expiration Timestamp
πŸ—… 42 - Authentication of clients to relays
πŸ—… 46 - Nostr Connect
πŸ—… 50 - Keywords filter
πŸ—… 56 - Reporting
πŸ—… 65 - Relay List Metadata
βœ… 57 - Lightning Zaps

Building

ℹ️ Nostrino uses Hermit.

Hermit ensures that your team, your contributors, and your CI have the same consistent tooling. Here are the installation instructions.

Activate Hermit either by enabling the shell hooks (one-time only, recommended) or manually sourcing the env with . ./bin/activate-hermit.

Use gradle to run all tests

gradle build

Changelog

See a list of changes in each release in the CHANGELOG.

Contributing

For details on contributing, see the CONTRIBUTING guide.

About

A Kotlin SDK for Nostr

https://cashapp.github.io/nostrino

License:Apache License 2.0


Languages

Language:Kotlin 98.3%Language:Shell 1.7%