Skip to content

A nostr library, written in java, for generating, signing and publishing events.

License

Notifications You must be signed in to change notification settings

tcheeric/nostr-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nostr-java

Nostr-java is a library for generating, signing, and publishing nostr events to relays.

Requirements

  • Maven
  • Java 22+

Usage

To use it in your project, add the following to your pom.xml file.

    <properties>
        <nostr-java.version>v0.007.1-alpha</nostr-java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
    <dependencies>
         <dependency>
            <groupId>nostr-java</groupId>
            <artifactId>nostr-java-api</artifactId>
            <version>${nostr-java.version}</version>
        </dependency>
    </dependencies>

Examples

I recommend having a look at these repositories/module for examples:

Supported NIPs

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

About

A nostr library, written in java, for generating, signing and publishing events.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages