Nostra 0.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nostra --version 0.0.1
NuGet\Install-Package Nostra -Version 0.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nostra" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nostra --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nostra, 0.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nostra as a Cake Addin #addin nuget:?package=Nostra&version=0.0.1 // Install Nostra as a Cake Tool #tool nuget:?package=Nostra&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nostra
A library to interact with the Nostr Protocol written in F#.
NOTE: This is a work in progress!
How to play with it
Generate a new key pair:
$ dotnet fsi nostracli.fsx genkey
secret: supersecretkey
pubkey: dc04a357c5ef17dd9ca245b7fa24842fc227a5b86a57f5d6a36a8d4443c21014
Listen for all the notes
$ dotnet fsi nostracli.fsx listen --relay=wss://nostr-pub.wellorder.net
---------------------------------------------------------------
Kind: Text - Author: 668ceee55475f595ec0e8ef44c64bf9da8d9dd6008ac54dcd24b2501930b960e
Another day, and 1 BTC now costs 100 million satoshis. Are we too late, or are we still early?
---------------------------------------------------------------
Kind: Text - Author: 3129509e23d3a6125e1451a5912dbe01099e151726c4766b44e1ecb8c846f506
Damn… some generous Nostrich just sent me my first tip!! It will be redistributed at my next ☕️ run. Thank you ⚡️ 🙏 🤙
---------------------------------------------------------------
Kind: Text - Author: b9a1608d4ad164cb115a1d40ff36efd12b93c097cd2a3bf82a58c32534488893
For all of the new peeps just joining us, you can search for relays near you using this service: https://nostr.watch/
Quite neat 💫
---------------------------------------------------------------
Kind: Text - Author: 6f0ec447e0da5ad4b9a3a2aef3e56b24601ca2b46ad7b23381d1941002923274
We all build during a bear market. I just build up my Bitcoin treasury and there is a purpose to it. We are all alike in some ways, i am exactly where i am supposed to be #nostr
[771925]
---------------------------------------------------------------
Kind: Text - Author: ab6e4c12e15cbd17f976ce5b919d1032e37ddb9a57d2491aee2a80d8c4bfa76f
What if i would like to have an address on my own domain?
---------------------------------------------------------------
Kind: Text - Author: 353781e629477a5ddb2fcf40ead51d2c049f526f4d6161cef28a3ecc75cef5ea
k well first things first, jack owes Elon an undisclosed amount of money for a bet they both made on who was gonna fuck me, but jack won't pay up cause Elon is giving me the money. and I want my money.
---------------------------------------------------------------
Kind: Text - Author: 67ddca50751581c703c174790588c2cd8b00f80313d0f80a5b9e73d45e48ac20
I think you need your own domain and a webserver that handles the requests. It's kinda hard to do it on a self-custody wallet.
Send Encrypted messages
$ dotnet fsi nostracli.fsx sendmsg \
--to=dc04a357c5ef17dd9ca245b7fa24842fc227a5b86a57f5d6a36a8d4443c21014 \
--secret=65efca3c243e4132afbfc7e30fbc41d8d3698d26d11d816bc24a7787aa57f0dc \
--relay=wss://nostr-pub.wellorder.net \
--msg="yeah baby"
23f8ec3cf92d67314448844bbc987346755e5e9333cafa551ee87e45f74e9aa4
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- FSharp.Core (>= 7.0.0)
- NBitcoin.Secp256k1 (>= 3.1.0)
- Thoth.Json.Net (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.