Skip to content

Commit

Permalink
typos. update and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed May 9, 2023
1 parent 5d14d97 commit 7db92f0
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 52 deletions.
85 changes: 37 additions & 48 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cln-nostr-wallet-connect"
version = "0.1.0-ALPHA"
version = "0.1.1-ALPHA"
edition = "2021"
authors = ["thesimplekid"]
license = "BSD-3-Clause"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Since zap invoices include only description hash and the description is not curr

## Options
`cln-nostr-wallet-connect` exposes the following config options that can be included in CLN's config file or as command line flags:
* `nostr_connect_wallet_nsec`: Nostr Key to publish events from
* `nostr_connect_client_secret`: This should not be your main secret key, you should create a new keypair as securely as possible as it can authorize spending funds.
* `nostr_connect_wallet_nsec`: Nostr Key to publish events, optional: will auto generate if not defined
* `nostr_connect_client_secret`: This should not be your main secret key, you should create a new keypair as securely as possible as it can authorize spending funds. optional
* `nostr_connect_relay`: Nostr relay to connect to. You should use a private relay with auth to reduce leaking metadata
* `nostr_connect_max_invoice`: Max amount in msats of an invoice to pay. Defaults to 5000000
* `nostr_connect_hour_limit`: Max msat to spend per hour. Defaults to 10,000,000.
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async fn main() -> anyhow::Result<()> {

// Wallet key keys
// If key is defuined in CLN config that is used if not checks if key in plugin config
// if no key found genrate a new ket and write to config
// if no key found generate a new key and write to config
let keys = match plugin.option("nostr_connect_wallet_nsec") {
Some(Value::String(wallet_nsec)) => utils::handle_keys(Some(wallet_nsec))?,
_ => {
Expand Down

0 comments on commit 7db92f0

Please sign in to comment.