Quickstart: Run a Client
If you have an Umbrel, install Oak Node from the app store. The app has a built-in PoW Pub Client.
If you don't have an Umbrel, try the WebLN live demo in your browser.
Quickstart: Run a Provider
You'll need:
- a Lightning Address
- Rust
You can then get and run the provider with:
git clone https://oak-node.net/cgit/powpub.git
cd powpub
POWPUB_PROVIDER_LN_ADDRESS="your@lightning_address.com" cargo run --release --features=client-lnaddress --example provider
Advanced: Run a Provider, Client or Reputation Explorer
The powpub
folder has three startup scripts:
- To start listening as a provider, run start-provider.sh
- To make a request as a client, run start-client.sh
- To query past trades in the network and view a summary of providers' reputation, run view-provider-reputations.sh
Edit and adjust the params in the scripts accordingly.