@@ -9,6 +9,7 @@
|
||||
- [Manage Configuration](config/README.md)
|
||||
- [Default PoW Difficulty](config/pow.md)
|
||||
- [Fallback Relays](config/relays.md)
|
||||
- [NIP-07 Browser Signer Proxy](config/nip07.md)
|
||||
- [NIP-46 Bunker](config/bunker.md)
|
||||
- [Secret Key Keyring](config/keyring.md)
|
||||
- [Manage Repositories](repo/README.md)
|
||||
|
||||
@@ -8,6 +8,9 @@ The `n34` command-line tool accepts the following options:
|
||||
signing events.
|
||||
- `-b`, `--bunker-url`: The URL of a NIP-46 bunker service used for remote
|
||||
signing of events.
|
||||
- `-7`, `--nip07`: Enables signing events using the browser's NIP-07
|
||||
extension. Listens on `127.0.0.1:51034`. You can configure the address with `n34
|
||||
config nip07`
|
||||
- `-r`, `--relays`: A relay to read from and write to. This option can be
|
||||
specified multiple times to connect to several relays.
|
||||
- `--pow`: Sets the Proof of Work difficulty required when creating events.
|
||||
|
||||
22
docs/config/nip07.md
Normal file
22
docs/config/nip07.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# NIP-07 Browser Signer Proxy
|
||||
|
||||
> `n34 config nip07`
|
||||
|
||||
**Usage:**
|
||||
```
|
||||
Manage the NIP-07 browser signer proxy by enabling or disabling it and configuring the `ip:port` address.
|
||||
|
||||
Usage: n34 config nip07 [OPTIONS] <--enable|--disable>
|
||||
|
||||
Options:
|
||||
--enable Enable NIP-07 as the default signer
|
||||
--disable Disable NIP-07 as the default signer
|
||||
--addr <ADDR> Set the `ip:port` for the browser signer proxy (default: 127.0.0.1:51034)
|
||||
```
|
||||
|
||||
Use [NIP-07] (Browser Extension Signer) as your default signer. This is achieved
|
||||
by running a proxy at the specified `ADDR`, which defaults to `127.0.0.1:51034`.
|
||||
The proxy forwards `n34` requests to the browser signer and relays the responses
|
||||
back.
|
||||
|
||||
[NIP-07]: https://github.com/nostr-protocol/nips/blob/master/07.md
|
||||
@@ -390,7 +390,7 @@
|
||||
<span class="feature-text">Signing using bunker (<a href="https://github.com/nostr-protocol/nips/blob/master/46.md" target="_blank" rel="noreferrer">NIP-46</a>)</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="feature-check pending"></span>
|
||||
<span class="feature-check completed"></span>
|
||||
<span class="feature-text pending">Signing using <a href="https://github.com/nostr-protocol/nips/blob/master/07.md" target="_blank" rel="noreferrer">NIP-07</a> proxy (<a href="https://crates.io/crates/nostr-browser-signer-proxy" target="_blank" rel="noreferrer">nostr-browser-signer-proxy</a>)</span>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user