Files
smom-dbis-138/config/config-rpc-putu-8a.toml
2026-03-02 12:14:09 -08:00

58 lines
1.6 KiB
TOML

# Besu Configuration for Putu's RPC Node (VMID 2507 - besu-rpc-putu)
# Permissioned identity: 0x8a
# This node is connected to ChainID 138 but reports chainID 0x1 (Ethereum mainnet) to MetaMask
# for wallet compatibility with regulated financial entities (MetaMask technical limitation workaround)
# Discovery is DISABLED to prevent actual connection to Ethereum mainnet while reporting 0x1 to wallets
data-path="/var/lib/besu"
genesis-file="/genesis/genesis.json"
network-id=138
p2p-host="0.0.0.0"
p2p-port=30303
miner-enabled=false
sync-mode="FULL"
rpc-http-enabled=true
rpc-http-host="0.0.0.0"
rpc-http-port=8545
rpc-http-api=["ETH","NET","WEB3","TXPOOL","QBFT"]
rpc-http-cors-origins=["*"]
rpc-ws-enabled=true
rpc-ws-host="0.0.0.0"
rpc-ws-port=8546
rpc-ws-api=["ETH","NET","WEB3","TXPOOL","QBFT"]
rpc-ws-origins=["*"]
metrics-enabled=true
metrics-port=9545
metrics-host="0.0.0.0"
metrics-push-enabled=false
logging="WARN"
permissions-nodes-config-file-enabled=true
permissions-nodes-config-file="/var/lib/besu/permissions/permissions-nodes.toml"
permissions-accounts-config-file-enabled=true
permissions-accounts-config-file="/permissions/permissions-accounts.toml"
# Transaction Pool
bootnodes=[]
static-nodes-file="/var/lib/besu/static-nodes.json"
# Discovery - DISABLED to prevent connection to Ethereum mainnet
# This node reports chainID 0x1 to MetaMask for wallet compatibility, but must stay on ChainID 138
# Disabling discovery ensures the node only connects via static-nodes.json and permissions-nodes.toml
discovery-enabled=false
privacy-enabled=false
# Gas Configuration
max-peers=32