Skip to content

Commit c069222

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

File tree

20 files changed

+46
-57
lines changed

20 files changed

+46
-57
lines changed

README.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Introducing the nostr-java library, a solution written in java for generating, s
55

66
## Requirements
77
- Maven
8-
- Java 19+
8+
- Java 22+
99

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

13-
Define the value for the most recent version available:
13+
Add the properties:
1414
```xml
1515
<properties>
16-
<nostr-java.version>0.6.1-SNAPSHOT</nostr-java.version>
16+
<nostr-java.version>0.6.2</nostr-java.version>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
</properties>
1919
```
@@ -28,7 +28,7 @@ Add Jitpack to the repositories:
2828
</repositories>
2929
```
3030

31-
Finally add the dependencies:
31+
And finally add the dependencies:
3232
```xml
3333
<dependency>
3434
<groupId>nostr-java</groupId>
@@ -47,20 +47,12 @@ Finally add the dependencies:
4747
</dependency>
4848
```
4949

50-
51-
After this is possible to use the library. For example:
52-
```java
53-
Identity RECIPIENT = Identity.generateRandomIdentity();
54-
55-
System.out.println("NSEC: " + RECIPIENT.getPrivateKey().toBech32String());
56-
System.out.println("NPUB: " + RECIPIENT.getPublicKey().toBech32String());
57-
```
58-
59-
I recommend having a look at:
50+
## Examples
51+
I recommend having a look at these repositories/module for examples:
6052
- [nostr-example](https://github.com/tcheeric/nostr-java/tree/main/nostr-java-examples) module
53+
- [nostr-client](https://github.com/tcheeric/nostr-client) github repository
6154
- [SuperConductor](https://github.com/avlo/superconductor) nostr relay
6255

63-
for simple examples on how to use the library.
6456

6557
## Supported NIPs
6658
The following NIPs are supported by the API out-of-the-box:
@@ -85,7 +77,4 @@ The following NIPs are supported by the API out-of-the-box:
8577
- [NIP-44](https://github.com/nostr-protocol/nips/blob/master/44.md)
8678
- [NIP-46](https://github.com/nostr-protocol/nips/blob/master/46.md)
8779
- [NIP-57](https://github.com/nostr-protocol/nips/blob/master/57.md)
88-
- [NIP-99](https://github.com/nostr-protocol/nips/blob/master/99.md)
89-
90-
## Dev Discussion Group:
91-
- Nostr Public Channel: nostr:nevent1qqszqdmxg26sehmnyrcu2ler8azz6wyj6fh0qg3ad5fnnm6xfqqvhzcppamhxue69uhkummnw3ezumt0d5pzpl7nwh45p66gvet2q28dhjpcyh6clux4cjsm5gh7waza9pzjnmgglv06ew
80+
- [NIP-99](https://github.com/nostr-protocol/nips/blob/master/99.md)

nostr-java-api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>xyz.nostrj</groupId>
5+
<groupId>xyz.tcheeric</groupId>
66
<artifactId>nostr-java</artifactId>
7-
<version>0.6.2-SNAPSHOT</version>
7+
<version>0.6.2</version>
88
</parent>
99
<artifactId>nostr-java-api</artifactId>
1010
<packaging>jar</packaging>

nostr-java-base/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>xyz.nostrj</groupId>
7+
<groupId>xyz.tcheeric</groupId>
88
<artifactId>nostr-java</artifactId>
9-
<version>0.6.2-SNAPSHOT</version>
9+
<version>0.6.2</version>
1010
</parent>
1111

1212
<artifactId>nostr-java-base</artifactId>

nostr-java-client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>xyz.nostrj</groupId>
5+
<groupId>xyz.tcheeric</groupId>
66
<artifactId>nostr-java</artifactId>
7-
<version>0.6.2-SNAPSHOT</version>
7+
<version>0.6.2</version>
88
</parent>
99
<artifactId>nostr-java-client</artifactId>
1010
<packaging>jar</packaging>

nostr-java-command-interface/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<parent>
6-
<groupId>xyz.nostrj</groupId>
6+
<groupId>xyz.tcheeric</groupId>
77
<artifactId>nostr-java</artifactId>
8-
<version>0.6.2-SNAPSHOT</version>
8+
<version>0.6.2</version>
99
</parent>
1010

1111
<artifactId>nostr-java-command-interface</artifactId>

nostr-java-command-provider/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<parent>
6-
<groupId>xyz.nostrj</groupId>
6+
<groupId>xyz.tcheeric</groupId>
77
<artifactId>nostr-java</artifactId>
8-
<version>0.6.2-SNAPSHOT</version>
8+
<version>0.6.2</version>
99
</parent>
1010

1111
<artifactId>nostr-java-command-provider</artifactId>

nostr-java-connection/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>xyz.nostrj</groupId>
7+
<groupId>xyz.tcheeric</groupId>
88
<artifactId>nostr-java</artifactId>
9-
<version>0.6.2-SNAPSHOT</version>
9+
<version>0.6.2</version>
1010
</parent>
1111

1212
<artifactId>nostr-java-connection</artifactId>

nostr-java-context-interface/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>xyz.nostrj</groupId>
5+
<groupId>xyz.tcheeric</groupId>
66
<artifactId>nostr-java</artifactId>
7-
<version>0.6.2-SNAPSHOT</version>
7+
<version>0.6.2</version>
88
</parent>
99

1010
<artifactId>nostr-java-context-interface</artifactId>

nostr-java-context/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>xyz.nostrj</groupId>
5+
<groupId>xyz.tcheeric</groupId>
66
<artifactId>nostr-java</artifactId>
7-
<version>0.6.2-SNAPSHOT</version>
7+
<version>0.6.2</version>
88
</parent>
99

1010
<artifactId>nostr-java-context</artifactId>

nostr-java-controller/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>xyz.nostrj</groupId>
5+
<groupId>xyz.tcheeric</groupId>
66
<artifactId>nostr-java</artifactId>
7-
<version>0.6.2-SNAPSHOT</version>
7+
<version>0.6.2</version>
88
</parent>
99

1010
<artifactId>nostr-java-controller</artifactId>

0 commit comments

Comments
 (0)