Skip to content

Commit 78753da

Browse files
authored
Merge pull request #24 from octobitnet/patch-3
Update README.md
2 parents 7b7aa2e + 541204b commit 78753da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ A Nostr Relay and Client written in C#
1111

1212
1.) Initiate a new client
1313
```csharp
14-
var client = new NostrClient("wss://your-relay-url.com");
14+
var client = new NostrClient(new Uri("wss://your-relay-url.com"));
1515
```
1616
2.) Connect to the relay
1717
```csharp
18-
_ = client.ConnectAsync();
18+
_ = client.Connect();
1919
```
2020
3.) Wait for the connection to be established
2121
```csharp
@@ -75,7 +75,7 @@ await client.SendEventsAndWaitUntilReceived(new[] {evt}, CancellationToken.None)
7575
* run the following ssh commands
7676
```bash
7777
cd btcpayserver-docker
78-
BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-nostr"
78+
BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-nostr-relay"
7979
. ./btcpay-setup.sh -i
8080
```
8181
* your relay will be available at your btcpay url `/nostr`

0 commit comments

Comments
 (0)