# Copy this file to examples/config.toml and edit the copy.
# examples/config.toml is ignored by git, so local credentials are not committed.
# Database file used by both examples.
= "polar.db"
# One of: bitcoin, testnet, testnet4, signet, regtest.
= "regtest"
# Optional. Required only when the transaction example sends a payment.
# recipient_address = "bcrt1q..."
# Optional for the wallet example. Required for the transaction example, because PSBT persistence
# is rejected on unencrypted databases. 64 hexadecimal characters (32 bytes); generate one with
# `openssl rand -hex 32`. A database created without this key cannot later be opened with it.
# encryption_hexkey = "..."
[]
# Default endpoint for a local Polar regtest network.
= "http://127.0.0.1:18443"
= "polaruser"
= "polarpassword"
[]
# Regtest-only sample keys. Replace them before using another network.
= "wpkh([dae5422f/84'/1'/0'/0]tprv8iPUhjo2Rrs6maF8A3EuTbp8JxxtsuHU4Fwfdk6Qz74G4HqBwy38rpfwKpGyunHdTqxig4kMScbiTFf5h1NmekZfiVNeHEPrwESWMCLU2B8/*)"
= "wpkh([dae5422f/84'/1'/0'/1]tprv8iPUhjo2Rrs6oiZHqEo3GdtJhHXy3uyFGPg7VaFehs4PhAGiivUG7XHWsdK6W7G1VygXkuJ1Cau5mV6uiy7EfviZkHcAg7a4yyYoJpV59Ub/*)"