Open Net Worth
Open Net Worth is an open-source personal AI wealth assistant you run yourself: one ledger for your whole financial life, worked by an AI agent you control.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗arkzap-me is a small LNURL-pay server for Bark and Arkade. It gives every
supported Ark address a deterministic Lightning address, serves LNURL-pay
metadata, and generates BOLT11 invoices for incoming payments.
For Bark addresses, the service asks barkd to generate invoices and checks
barkd for payment settlement. For Arkade addresses, it uses the Arkade Rust SDK
receive-for-user flow to create reverse-swap invoices and claim the resulting
VHTLC output to the recipient Arkade address.
Users can also buy custom Lightning address names backed by their Bark Ark address. Ownership is authenticated with Bark address message signatures, and each name activates after its fee invoice is paid to the service Bark wallet.
Invoices, custom names, SDK swap state, and optional Nostr zap requests are persisted in Postgres.
/.well-known/lnurlp/:address/get-invoice/:addressbarkd/verify/:address/:payment_hashbarkd v0.6.2 or later REST APInsec key used to sign zap receiptsInstall Diesel CLI if needed:
cargo install diesel_cli --no-default-features --features postgres
The binary reads command-line flags and environment variables. It also loads a
local .env file on startup.
| Variable | Required | Default | Description |
|---|---|---|---|
LNURL_PG_URL | yes | Postgres connection string used by the application | |
LNURL_NSEC | yes | Nostr secret key used to sign zap receipts | |
LNURL_BARKD_URL | yes | Base URL for the barkd REST API | |
LNURL_BARKD_TOKEN | no | Bearer token for barkd. Required unless barkd uses --no-auth on a loopback address | |
LNURL_DISABLE_ARKADE | no | false | Disable Arkade address support |
LNURL_ARKADE_XPRIV | yes, unless Arkade is disabled | BIP32 xpriv used by the Arkade SDK to claim reverse-swap VHTLCs | |
LNURL_ARKADE_SERVER_URL | yes, unless Arkade is disabled | Arkade server URL used by the Arkade SDK | |
LNURL_ARKADE_BOLTZ_URL | yes, unless Arkade is disabled | Boltz URL used by the Arkade SDK | |
LNURL_ARKADE_ESPLORA_URL | no | https://mempool.space/api | Esplora URL used by the Arkade SDK wallet implementation |
LNURL_ARKADE_INVOICE_EXPIRY_SECS | no | Optional Arkade-generated invoice expiry in seconds | |
LNURL_BIND | no | 0.0.0.0 | HTTP bind address |
LNURL_PORT | no | 3000 | HTTP port |
LNURL_NETWORK | no | bitcoin | Bitcoin network |
LNURL_MIN_SENDABLE | no | 1000 | Minimum LNURL amount in millisatoshis |
LNURL_MAX_SENDABLE | no | 11000000000 | Maximum LNURL amount in millisatoshis |
Arkade addresses require a minimum amount of 333000 millisatoshis.
Bark v0.6.2 does not read BARKD_NO_AUTH.
If barkd listens on a loopback address, start it with --no-auth. For all
other deployments, set LNURL_BARKD_TOKEN to the bearer token from barkd.
Example .env:
LNURL_PG_URL=postgres://postgres:[email protected]:5432/arkzap_me
LNURL_NSEC=nsec...
LNURL_BARKD_URL=http://127.0.0.1:3535
LNURL_BARKD_TOKEN=
LNURL_ARKADE_XPRIV=xprv...
LNURL_ARKADE_SERVER_URL=http://127.0.0.1:7070
LNURL_ARKADE_BOLTZ_URL=http://127.0.0.1:9001
LNURL_ARKADE_ESPLORA_URL=http://127.0.0.1:3002
LNURL_DOMAIN=example.com
LNURL_PORT=3000
Set LNURL_DISABLE_ARKADE=true or pass --disable-arkade to run with Bark-only
address support. Arkade addresses will be rejected and the Arkade SDK client will
not be initialized.
For Diesel CLI commands, also set DATABASE_URL to the same Postgres URL:
export DATABASE_URL="$LNURL_PG_URL"
Create the database, then run migrations:
createdb arkzap_me
diesel migration run
The migrations create Bark invoice/zap tables, Arkade invoice/zap tables, and an Arkade SDK swap-storage table.
cargo run
By default the server listens on 0.0.0.0:3000.
You can also pass configuration as flags:
cargo run -- \
--pg-url postgres://postgres:[email protected]:5432/arkzap_me \
--nsec nsec... \
--barkd-url http://127.0.0.1:3535 \
--arkade-xpriv xprv... \
--arkade-server-url http://127.0.0.1:7070 \
--arkade-boltz-url http://127.0.0.1:9001 \
--domain example.com
For Bark-only mode, omit the Arkade options and pass --disable-arkade.
The flake provides the server package, a development shell, and a NixOS module. Import the module from your system flake and enable the service:
This is the beginning of the README. Read the rest at the original. Read the full README ↗
LNURL_CUSTOM_ADDRESS_FEE_SATS |
| no |
10000 |
| Fee charged to activate each custom Lightning address name |
LNURL_DOMAIN | no | localhost:3000 | Public domain used in LNURL callbacks and Lightning addresses |