Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 2.53 KB

File metadata and controls

52 lines (45 loc) · 2.53 KB

nostr-java

Introducing the nostr-java library, a solution written in java for generating, signing, and publishing nostr events to relays.

Requirements

  • Maven
  • Java 19+

Usage

To use the library in your project, add the following dependency to your pom.xml file:

<dependency>
    <groupId>com.github.tcheeric.nostr-java</groupId>
    <artifactId>nostr-java-api</artifactId>
    <version>${nostr.java.version}</version>
</dependency>

I recommend having a look at:

for simple examples on how to use the library.

Supported NIPs

The following NIPs are supported by the API out-of-the-box:

Dev Discussion Group:

  • Nostr Public Channel: nostr:nevent1qqszqdmxg26sehmnyrcu2ler8azz6wyj6fh0qg3ad5fnnm6xfqqvhzcppamhxue69uhkummnw3ezumt0d5pzpl7nwh45p66gvet2q28dhjpcyh6clux4cjsm5gh7waza9pzjnmgglv06ew