Introducing the nostr-java library, a solution written in java for generating, signing, and publishing nostr events to relays.
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.
The following NIPs are supported by the API out-of-the-box: