Skip to content

Commit c18cc8b

Browse files
author
erict875
committed
Version 0.6.2
1 parent c069222 commit c18cc8b

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

README.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
# nostr-java
22
[![](https://jitpack.io/v/tcheeric/nostr-java.svg)](https://jitpack.io/#tcheeric/nostr-java)
33

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

66
## Requirements
77
- Maven
88
- Java 22+
99

1010
## Usage
11-
To use the library in your project, add the following dependency to your pom.xml file.
11+
To use it in your project, add the following to your pom.xml file.
1212

13-
Add the properties:
1413
```xml
1514
<properties>
1615
<nostr-java.version>0.6.2</nostr-java.version>
1716
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1817
</properties>
1918
```
2019

21-
Add Jitpack to the repositories:
2220
```xml
2321
<repositories>
2422
<repository>
@@ -28,23 +26,14 @@ Add Jitpack to the repositories:
2826
</repositories>
2927
```
3028

31-
And finally add the dependencies:
3229
```xml
33-
<dependency>
30+
<dependencies>
31+
<dependency>
3432
<groupId>nostr-java</groupId>
3533
<artifactId>nostr-java-api</artifactId>
3634
<version>${nostr-java.version}</version>
3735
</dependency>
38-
<dependency>
39-
<groupId>nostr-java</groupId>
40-
<artifactId>nostr-java-event</artifactId>
41-
<version>${nostr-java.version}</version>
42-
</dependency>
43-
<dependency>
44-
<groupId>nostr-java</groupId>
45-
<artifactId>nostr-java-id</artifactId>
46-
<version>${nostr-java.version}</version>
47-
</dependency>
36+
</dependencies>
4837
```
4938

5039
## Examples

0 commit comments

Comments
 (0)