Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit c3259c4

Browse files
authored
Update README.md
1 parent 1114c77 commit c3259c4

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

README.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,8 @@
11
# Nostr – Swift Package
22

3-
## Installation
4-
5-
This package is intended to be used with the [Swift Package Manager](https://www.swift.org/package-manager/).
6-
7-
### Xcode
8-
9-
Via `File > Add Packages...`, add
10-
11-
```
12-
https://github.com/rust-nostr/nostr-swift.git
13-
```
14-
15-
as a package dependency in Xcode.
16-
17-
### Swift Package
18-
19-
Add the following to the dependencies array in your `Package.swift`:
20-
21-
``` swift
22-
.package(url: "https://github.com/rust-nostr/nostr-swift.git", from: "0.8.0"),
23-
```
24-
253
## 📄 Usage
264

27-
``` swift
28-
import Nostr
29-
30-
let keys = Keys.generate();
31-
let event = try EventBuilder.newTextNote(content: "Hello from Rust Nostr SDK Swift bindings", tags: []).toEvent(keys: keys);
32-
```
5+
Check https://rust-nostr.org
336

347
## Information for Maintainers and Contributors
358

0 commit comments

Comments
 (0)