diff --git a/README.md b/README.md index 3fa6138..4bd1bd1 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,8 @@ usage: dart run bin/nostr_console.dart [OPTIONS] public key derived from a well known private key. When given, posts/replies can't be sent. -k, --prikey The hex private key of user whose events and feed are shown. Also used to sign events sent. Default is same-as-above hard-coded well known private key. - -r, --relay The comma separated relay urls that are used as main relay. Default is wss://nostr-relay.untethr.me. + -r, --relay The comma separated relay urls that are used as main relays. If given, these are used + rather than the default relays. -d, --days The latest number of days for which events are shown. Default is 1. -q, --request This request is sent verbatim to the default relay. It can be used to receive all events from a relay. If not provided, then events for default or given user are shown. diff --git a/lib/settings.dart b/lib/settings.dart index 502d3c4..f7426f7 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -274,7 +274,8 @@ usage: $exename [OPTIONS] well known private key. When given, posts/replies can't be sent. -k, --prikey The hex private key of user whose events and feed are shown. Also used to sign events sent. Default is a hard-coded well known private key. - -r, --relay The comma separated relay urls that are used as main relay. Default is wss://relay.damus.io. + -r, --relay The comma separated relay urls that are used as main relays. If given, these are used + rather than the default relays. -d, --days The latest number of days for which events are shown. Default is $gDefaultNumLastDays. -q, --request This request is sent verbatim to the default relay. It can be used to recieve all events from a relay. If not provided, then events for default or given user are shown. diff --git a/pubspec.yaml b/pubspec.yaml index d2a7046..502d6a5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ homepage: https://github.com/vishalxl/nostr_console # improved relay, fetching logic and added more default pubkeys to fetch # incresed user id lenth to 5, and event id len to 6 in SN - + environment: sdk: '>=2.17.3 <3.0.0'