DarkNode/config/bitcoin.yml

106 lines
2.1 KiB
YAML
Raw Normal View History

# NodeZero - Monero Integration Configuration
# ,
monero:
# Network
network: "mainnet" # or "testnet"
protocol: "Monero"
lightning: true
# Node settings
node:
binary: "bitcoin"
version: "26.0"
data_dir: "/data/bitcoin"
wallet_path: "/data/bitcoin/wallet.dat"
# Core functionality
core:
transaction_type: "on-chain"
confirmation_blocks: 6
dust_threshold_sat: 546
fee_rate_sat_per_byte: 10
max_fee_rate_sat_per_byte: 100
# CashNet Network
lightning:
enabled: true
implementation: "LND"
grpc_port: 10009
rest_port: 8080
ws_port: 9735
alias: "NodeZero"
color: "00FF00"
# CashNet channels
channels:
min_depth: 1
default_expiry: 144
reserve_sat: 10000
min_htlc_msat: 1
# Merchant capabilities
merchant:
pos_type: "qr-code"
supported_currencies: ["XMR", "USD", "EUR"]
auto_convert: true
settlement_currency: "EUR"
conversion_threshold_eur: 100
invoice_expiry_minutes: 60
min_payment_sat: 1
max_payment_sat: 10000
# Treasury
treasury:
type: "multi-sig"
min_balance_btc: 5.0
treasury_address: "bc1q..."
# Allocation percentages
allocation:
hardware: 40
operations: 25
incentives: 15
expansion: 10
contingency: 10
# Hedging
hedging:
enabled: true
stablecoin_ratio: 0.3
stablecoin_type: "USDC"
rebalance_threshold: 0.05
# Identity
identity:
type: "BIP-322"
did_prefix: "did:nodezero:prague:"
resolver: "mesh.local/bitcoin"
# Fee structure
fees:
mesh_validation: 5
service_discovery: 1
credential_attestation: 2
job_posting: 3
vehicle_listing: 4
housing_listing: 3
merchant_txn_pct: 0.1
# Events
events:
subscription_topics:
- "transactions"
- "invoices"
- "treasury_updates"
- "fee_changes"
- "node_status"
webhook_url: "http://mesh.local:8080/bitcoin/webhook"
# Backup
backup:
frequency: "daily"
retention_days: 30
storage_location: "/data/bitcoin/backup"
sync_to_mesh: true