Testing notes for developers
chris-pollard opened this issue · 3 comments
As I'm pretty new on working with the node in development, I'd really appreciate if someone could write up some simple notes for testing payments.
commands like
bitcoin-cli listreceivedbyaddress
lncli listinvoices
or
lncli listinvoices --max_invoices 9999 | grep 'settled": true' -B 2 -A 2
may be of use.
Let me know if there's anything specific you'd like to check
@nickfarrow I was wondering if it would be possible to use Regtest or Testnet. To test a payment confirmation without spending real sats.
I was wondering if it would be possible to use Regtest or Testnet.
Should work, I have used signet. Just change rpcport
and other settings as needed in config.toml
. Main difference between mainnet and testnets is Bitcoin address format, but SatSale does not validate it, it trusts whatever Bitcoin Core JSON-RPC returns.