DarkNode/config/bitcoin.yml
ssmithx 9bfa47be7e NodeZero Funchal Archipelago Mesh Network
Complete architecture and directory structure for the Funchal micro-economy deployment:

Documentation:
- README.md: Project overview, architecture, services, metrics, governance
- PRD.md: Product requirements document
- ARCHITECTURE.md: Multi-layered mesh architecture, node specs, topology
- GOVERNANCE.md: DAO model, treasury, voting, dispute resolution
- ROADMAP.md: Phased implementation plan (Months 1-24)
- DEPLOYMENT.md: Mesh network deployment guide

Services:
- mobility/: Decentralized ride-sharing
- housing/: Decentralized house-sharing
- logistics/: Local delivery network
- commerce/: Bitcoin-accepting businesses
- workforce/: Job boards, training, competency attestation
- governance/: Mesh services and decentralized operations

Infrastructure:
- infrastructure/: Mesh networks, archipelago nodes (200 nodes), internet
- config/: node.yml, mesh.yml, bitcoin.yml, profiles.yml, redis.yml
- docs/: Funchal service map, business onboarding, mobility plan
- scripts/: Deploy script
- .gitignore
2026-06-25 15:11:27 -04:00

106 lines
2.1 KiB
YAML

# NodeZero - Bitcoin Integration Configuration
# Funchal, Madeira
bitcoin:
# Network
network: "mainnet" # or "testnet"
protocol: "Bitcoin"
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
# Lightning Network
lightning:
enabled: true
implementation: "LND"
grpc_port: 10009
rest_port: 8080
ws_port: 9735
alias: "NodeZeroFunchal"
color: "00FF00"
# Lightning channels
channels:
min_depth: 1
default_expiry: 144
reserve_sat: 10000
min_htlc_msat: 1
# Merchant capabilities
merchant:
pos_type: "qr-code"
supported_currencies: ["BTC", "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:funchal:"
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