## 🦀 rust-nostr v0.44 is out!
### 🚀 Highlights
- Support for new NIPs
- Enhanced the Relay Builder (now also available in bindings)
- Optimized default gossip implementation
- Added support for custom gossip implementations
- Improved nostr-lmdb performance
- Released Kotlin Multiplatform bindings 🎉
Thanks to all contributors!
### 🔗 Links
https://rust-nostr.org
https://rust-nostr.org/donate
#rustnostr #nostr #rustlang #programming #rust #python #csharp #dotnet #javascript #kotlin #swift #flutter
Yuki Kishimoto
_@yukikishimoto.com
npub1drvp...seet
GitHub: https://github.com/yukibtc
PGP: 86F3 105A DFA8 AB58 7268 DCD7 8D3D CD04 2496 19D1
Notes (13)
Nostr SDK bindings for Kotlin Multiplatform are out for testing!
Package: "org.rust-nostr.org:nostr-sdk-kmp:0.44.0-SNAPSHOT"
Support the following targets: Android (x86, armv7, x86_64, aarch64), iOS (aarch64 and x86_64), Linux (GLIBC and MUSL; x86, x86_64, armv7, aarch64 and riscv64), FreeBSD (only x86_64), macos (x86_64 and aarch64) and windows (x86, x86_64 and aarch64).
#rust-nostr #rustnostr #rust #kotlin #kmp #ffi
## rust-nostr v0.43 is out! 🦀
### Summary
Put relays to sleep when idle, verify that events match subscription filters and optionally ban relays that send mismatched events, add proxy server for using NIP-07 browser signers from native applications, add support for FreeBSD x86_64 for JVM and C# bindings, and many more!
Thanks to all contributors!
### Links
https://rust-nostr.org
https://rust-nostr.org/donate
#rustnostr #nostr #rustlang #programming #rust #python #csharp #dotnet #javascript #kotlin #swift #flutter
Elixir bindings for the nostr library, by nostr:nprofile1qqsq73u4huccyjjpg9yd4ud43xaczw8mpgpev0ucfjzyvtjq4qm940spp4mhxue69uhkummn9ekx7mqpzfmhxue69uhk7enxvd5xz6tw9ec82cspzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxg2yfv49
https://github.com/rust-nostr/nostr-elixir
👀
https://github.com/rust-nostr/nostr/pull/994
This allows using NIP-07 signer in native applications. Thanks to nostr:nprofile1qqsqqqqqq9g9uljgjfcyd6dm4fegk8em2yfz0c3qp3tc6mntkrrhawgppemhxue69uhkummn9ekx7mp0qyg8wumn8ghj7mn0wd68ytnddakj7qghwaehxw309aex2mrp0yh8qunfd4skctnwv46z7hsrsym for the idea!
#rustnostr #nostr #rustlang #rust
Stats obtained from 766072 NIP-65 lists, downloaded from the following relays: Damus, Primal, purplepag and 0xtr. After extracting and deduplicating the data from the lists, the total unique relays are 5735, of which 1341 reachable. Of these, only 219 supports negentropy.
=== Relay Statistics ===
Total known relays: 5735
Reachable relays: 1341/5735 (23.4%)
=== Negentropy Support (NIP77) ===
Total relays: 219/1341 (16.3%)
=== Top 20 implementations ===
1. https://git.sr.ht/~gheartsfield/nostr-rs-relay: 426 (34.8%)
2. git+https://github.com/hoytech/strfry.git: 283 (23.1%)
3. https://github.com/bitvora/haven: 137 (11.2%)
4. https://relay.nostr.band: 52 (4.2%)
5. git+https://github.com/Cameri/nostream.git: 49 (4.0%)
6. https://github.com/bitvora/wot-relay: 35 (2.9%)
7. https://github.com/fiatjaf/khatru: 34 (2.8%)
8. git+https://github.com/cameri/nostream.git: 34 (2.8%)
9. chorus: 12 (1.0%)
10. https://github.com/bitvora/sw2: 9 (0.7%)
11. unknown: 9 (0.7%)
12. https://github.com/rnostr/rnostr: 7 (0.6%)
13. https://github.com/CodyTseng/nostr-relay-tray: 7 (0.6%)
14. NFDB: 6 (0.5%)
15. https://github.com/github-tijlxyz/khatru-pyramid: 6 (0.5%)
16. https://github.com/Spl0itable/nosflare: 6 (0.5%)
17. https://github.com/haorendashu/cfrelay: 6 (0.5%)
18. https://gitlab.com/soapbox-pub/ditto: 6 (0.5%)
19. https://github.com/quentintaranpino/nostrcheck-server: 5 (0.4%)
20. LNbits: 5 (0.4%)
... and 60 more implementations
Source code (experimental): https://github.com/rust-nostr/nostr-stats
I've reworked the NostrParser at https://github.com/rust-nostr/nostr/pull/899
This improves the performance of ~2x and reduces the final binary size.
I'm merge this soon, if anyone is interested in testing or reviewing the PR, please share a feedback!
#rust-nostr #rustnostr
## rust-nostr v0.42 is out! 🦀
### Summary
Blossom, NostrMLS, Relay Monitor, NIP-70 support for relay-builder, NIP-46 reworks, some bug fixes and more!
Note for who is interested in NostrMLS: it's not currently available on https://crates.io as it depends on an unreleased version of openmls. However, you can use it directly from git. The bindings will be available in the upcoming releases.
Full changelog: https://rust-nostr.org/changelog
### Bindings specific changes
Added support for event streaming and extended supported OS and architectures.
New supported platforms for Python, C# and JVM bindings:
- Windows x86 and aarch64
- Linux (GLIBC) x86, armv7 and riscv64
- Linux (MUSL) x86, x86_64, armv7, aarch64 and riscv64
Check all supported OS and architectures at https://rust-nostr.org/sdk/install
### Contributors
Thanks to all contributors!
- nostr:nprofile1qqsqqqqqq9g9uljgjfcyd6dm4fegk8em2yfz0c3qp3tc6mntkrrhawgppemhxue69uhkummn9ekx7mp0qyg8wumn8ghj7mn0wd68ytnddakj7qghwaehxw309aex2mrp0yh8qunfd4skctnwv46z7hsrsym
- nostr:nprofile1qqsgk2lq5zknfqzaweneyukz3fmahm0f4h9lmjjgc6q7ezmzfgfq3fspy9mhxue69uhhyetvv9ujuerpde5k2mryv9ch26twduhx6ef0vd5xzaqpz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qzxrhwden5te0wfjkccte9eekummjwsh8xmmrd9skcpfd56q
- nostr:nprofile1qqspwwwexlwgcrrnwz4zwkze8rq3ncjug8mvgsd96dxx6wzs8ccndmcpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqgcwaehxw309aex2mrp0yh8xmn0wf6zuum0vd5kzmqpzfmhxue69uhhqatjwpkx2urpvuhx2uctyqxu5
- nostr:nprofile1qqspycgrhlwu3he9ddhq407h7duheqxucn4g3a7zlp7agyzzyz6dvhcpzdmhxue69uhhyetvv9ujuun909sjuum4k6ff74
- nostr:nprofile1qqsp5hlu2xsjxqlaqgk5s8eha4sv8a7nwhmxumufzeu2rn653wy7prqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsxwfknl
### Links
https://rust-nostr.org
https://rust-nostr.org/donate
#rustnostr #nostr #rustlang #programming #rust #python #csharp #dotnet #javascript #kotlin #swift #flutter
I've just published a pre-release for the python nostr-sdk (version `0.42.0a2`), using the ABI3. I've also extended the support to Linux x86, windows x86 and aarch64.
If anyone is interested in trying it, please share a feedback if something doesn't work.
https://pypi.org/project/nostr-sdk/0.42.0a2/
#rust-nostr #rustnostr #python
## rust-nostr v0.41 is out! 🦀
### Summary
Added NIP-C0 support and NIP-98 helpers, fixed NIP-32 and NIP-47 implementations, added nostr-keyring crate, extended admission policies for granular control over which relays can connect and which cannot (useful when gossip mode is enabled), enabled POSIX semaphores for LMDB on iOS & macOS to fix issues with App Sandbox, extended arch support for C# and JVM bindings (linux-x86, windows-x86 and windows-arm64) and more!
For those who missed it, from v0.40.0 are available the C# bindings for nostr-sdk: nostr:nevent1qvzqqqqqqypzq6xcz9jerqgqkldy8lpg7lglcyj4g3nwzy2cs6u70wejdaj7csnjqyghwumn8ghj7mn0wd68ytnhd9hx2tcpz9mhxue69uhkummnw3ezuamfdejj7qpq60a39dpp64mhu422q0wd9ztqper0hxhkl4p3qv2mjnrzpvzpf2eq2js3yy
Full changelog: https://rust-nostr.org/changelog
### Contributors
Thanks to all contributors!
* nostr:nprofile1qqsqqqqqq9g9uljgjfcyd6dm4fegk8em2yfz0c3qp3tc6mntkrrhawgpzfmhxue69uhkummnw3ezudrjwvhxumq3dg0ly
* nostr:npub1kuemsj7xryp0uje36dr53scn9mxxh8ema90hw9snu46633n9n2hqp3drjt
### Links
https://rust-nostr.org
https://rust-nostr.org/donate
#rustnostr #nostr #rustlang #programming #rust #python #javascript #kotlin #swift #flutter #csharp #dotnet
Nostr.Sdk package for C# is out!
https://www.nuget.org/packages/Nostr.Sdk
Some basic examples are available at https://rust-nostr.org/
#rust-nostr #rustnostr #csharp #dotnet #nostr #devstr #rustlang