PoW Pub

start-client.sh
Login

File start-client.sh from the latest check-in


#!/bin/bash

export POWPUB_LND_REST_API_URL=https://lnd:port
export POWPUB_LND_MACAROON_PATH=/path/to/lnd/admin.macaroon
export POWPUB_LND_CERT_PATH=/path/to/lnd/tls.cert

# export POWPUB_RELAYS=["wss://relay.damus.io","wss://nos.lol"]

# Client's nostr private key, in nsec nsec format (bech32) or legacy hex. If not set, a new random one is generated on each startup.
# export POWPUB_CLIENT_NOSTR_PRV_KEY=

cargo run --features=client-lnd --example client_interactive