open-im-server/config/openim-rpc-redpacket.yml
2026-05-18 11:12:47 +08:00

35 lines
1.3 KiB
YAML

rpc:
registerIP: ""
listenIP: 0.0.0.0
autoSetPorts: false
ports: [10560]
prometheus:
enable: false
ports: [12560]
# EVM (Ethereum / Polygon / BSC / ...) chain configuration.
# Leave rpcURL empty to disable the EVM client; the RPC service will then
# only expose TRON-related functionality (or the offchain code paths).
chain:
rpcURL: "https://data-seed-prebsc-1-s1.bnbchain.org:8545"
contractAddress: "0x9f2e22F5D0cf8d8127E319D38b3EDDaE43bb4DC0"
chainID: 97
signerPrivateKey: "e9f6a5f3a3c3a97099ca31e7f44151e529c0a4f8a91d5d4232c7282f2b798df4"
configAdminPrivateKey: "e9f6a5f3a3c3a97099ca31e7f44151e529c0a4f8a91d5d4232c7282f2b798df4"
# TRON full-node configuration. Leave fullNodeURL empty to disable TRON.
tron:
fullNodeURL: "https://nile.trongrid.io"
contractBase58: "TTLFvSEyH6BAUp3cVGygWyTVGPBqdLw81M"
ownerBase58: "TJG6ZbEUZNVAQzFQTZehfQJniVJtTBdZ2e"
privateKeyHex: "e9f6a5f3a3c3a97099ca31e7f44151e529c0a4f8a91d5d4232c7282f2b798df4"
feeLimit: 150000000
# Indexer polling interval (in seconds). Used by both EVM and TRON event indexers.
# Set to 0 or negative to disable block scanning completely and rely on tx-hash parsing paths.
indexer:
pollInterval: 0
# EVM only: max block span per eth_getLogs request (0 = default 2000). Increase if your node allows larger ranges.
maxBlocksPerPoll: 2000