36 lines
1.4 KiB
TOML
36 lines
1.4 KiB
TOML
# Address of Solana JSON RPC pubsub websocket
|
|
rpc_ws_url = "ws://api.mainnet-beta.solana.com"
|
|
|
|
# Address of Solana JSON RPC endpoint
|
|
#
|
|
# The endpoint must support getProgramAccounts requests: the
|
|
# example address here does not.
|
|
rpc_http_url = "https://api.mainnet-beta.solana.com"
|
|
|
|
# Configuration of Mango related addresses, so the program knows
|
|
# what to look at.
|
|
mango_program_id = "mv3ekLzLbnVPNxjSKvqBpU3ZeZXPQdEC3bp5MDEBG68"
|
|
mango_group_id = "98pjRuQjK3qA6gXts96PqZT4Ze5QmnCmt3QYjhbUSPue"
|
|
mango_cache_id = "EBDRoayCDDUvDgCimta45ajQeXbexv7aKqJubruqpyvu"
|
|
mango_signer_id = "9BVcYqEQxyccuwznvxXqDkSJFavvTyheiTYk231T1A8S"
|
|
serum_program_id = "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"
|
|
|
|
# Interval between requesting getProgramAccounts data snapshots
|
|
snapshot_interval_secs = 240
|
|
|
|
# Number of parallel getMultipleAccounts requests to send during snapshotting.
|
|
parallel_rpc_requests = 10
|
|
# Number of accounts that can be retrieved in a getMultipleAccounts call.
|
|
# Typically 100 for normal RPC nodes.
|
|
get_multiple_accounts_count = 100
|
|
|
|
# Address at which a websocket server will be openend. Connect
|
|
# to listen to information about liquidatable accounts.
|
|
websocket_server_bind_address = "localhost:9123"
|
|
|
|
# If > 0, notify about potentially liquidatable accounts before they
|
|
# become technically liquidatable. The notification starts if
|
|
# assets / liabilities < 1.0 + early_candidate_percentage / 100
|
|
early_candidate_percentage = 1.0
|
|
|