diff --git a/Cargo.lock b/Cargo.lock index 5b5ea6d0942..e7298a0f0f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1356,13 +1356,9 @@ dependencies = [ "fedimint-server", "fedimint-wallet-client", "futures", -<<<<<<< HEAD "lightning-invoice 0.26.0", -======= - "lightning-invoice 0.24.0", "nostr-sdk", "nostrmint-client", ->>>>>>> 990cb8c642 (feat: Nostrmint initial commit) "rand", "serde", "serde_json", @@ -2258,7 +2254,6 @@ dependencies = [ "rand", "rcgen", "ring 0.17.5", - "ring", "schnorr_fun", "secp256k1-zkp", "serde", diff --git a/modules/nostrmint-client/README.md b/modules/nostrmint-client/README.md new file mode 100644 index 00000000000..844c7edb1c4 --- /dev/null +++ b/modules/nostrmint-client/README.md @@ -0,0 +1,3 @@ +# nostrmint-client + +See [`../nostrmint-common/README.md`](../nostrmint-common/README.md) \ No newline at end of file diff --git a/modules/nostrmint-common/README.md b/modules/nostrmint-common/README.md index ac450405784..84fbbaaeb0f 100644 --- a/modules/nostrmint-common/README.md +++ b/modules/nostrmint-common/README.md @@ -1,8 +1,11 @@ -# nostrmintYou can list message requests: fedimint-cli list-note-requests +# nostrmint + +Since the npub is for the fedimint itself, we limit nostr interaction to authenticated guardians `export FM_PASSWORD=pass` + +You can list message requests: `fedimint-cli nostr list-note-requests` + +You can create note requests: `fedimint-cli nostr text-note --msg "My FROST Message"` -You can create note requests: fedimint-cli create-note --msg "My FROST Message" --peer-id 0 -That will only work if you've previously set FM_PASSWORD: export FM_PASSWORD=pass -Then you should see the message request pop up using the list command Then you can use the other guardians to sign: fedimint-cli sign-note --event-id --peer-id 1 That will only work if you have FM_PASSWORD set correctly for peer 1. In tmuxinator all passwords are the same so you only need to do it once @@ -11,7 +14,6 @@ you can get the npub of the federation: fedimint-cli get-npub Then signin to snort.social or something and you should see the note Give it a try and let me know if you get it to work. It's really rough right now but it works! - ## Running it ## How it works? diff --git a/modules/nostrmint-server/README.md b/modules/nostrmint-server/README.md new file mode 100644 index 00000000000..57870f620e1 --- /dev/null +++ b/modules/nostrmint-server/README.md @@ -0,0 +1,3 @@ +# nostrmint-server + +See [`../nostrmint-common/README.md`](../nostrmint-common/README.md) \ No newline at end of file