-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
65 lines (48 loc) · 2.34 KB
/
Copy path.env.example
File metadata and controls
65 lines (48 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Priority Fee Sharing Service Environment Configuration
# Copy this file to .env and update the values below
# --------------- SYSTEM --------------------
# User to run the service as root, sol, etc... (should be the same user as your validator user)
USER=sol
# --------------- REQUIRED --------------------
# Cluster ( testnet, devnet, mainnet )
CLUSTER=testnet
# RPC URL - This RPC needs to be able to call `get_block`.
# If using a local RPC (http://localhost:8899), ensure it is running with `--enable-rpc-transaction-history
# DON'T USE https://api.mainnet-beta.solana.com - this needs to be a very reliable RPC!
RPC_URL=https://your.rpc
# Your validator vote account address
VALIDATOR_VOTE_PUBKEY=YourVoteAccountPubkeyHere
# These next two are most likely the identity keypair path - if you're not sure default to that
# PAYER: Who pays out the share of priority fees - usually identity keypair path
# The vote authority needed to create the PriorityFeeDistribution Account - usually identity keypair path
PRIORITY_FEE_PAYER_KEYPAIR_PATH=/etc/solana/identity.json
VOTE_AUTHORITY_KEYPAIR_PATH=/etc/solana/identity.json
# Minimum balance in your priority fee keypair, no fees will be sent if below this amount
MINIMUM_BALANCE_SOL=1.0
# --------------- DEFAULTS --------------------
# How much priority fees to keep in bps (Suggested 5000 - 50%)
COMMISSION_BPS=5000
# Rocks DB that holds all priority fee records - this will be created by the script and can go anywhere
FEE_RECORDS_DB_PATH=/etc/solana/fee_records
FEE_RECORDS_DB_BACKUP_PATH=/etc/solana/fee_records_backup
# The Priority Fee Distribution Program
# If you don't know, keep the default
PRIORITY_FEE_DISTRIBUTION_PROGRAM=Priority6weCZ5HwDn29NxLFpb7TDp2iLZ6XKc5e8d3
# The merkle root upload authority
# If you don't know, keep the default
MERKLE_ROOT_UPLOAD_AUTHORITY=8F4jGUmxF36vQ6yabnsxX6AQVXdKBhs8kGSUuRKSg8Xt
# --------------- PERFORMANCE --------------------
# Priority fee for sending share transactions (in lamports)
PRIORITY_FEE_LAMPORTS=10
# How many TXs to send per epoch
TRANSACTIONS_PER_EPOCH=10
# MS inbetween each loop ( Default 5min )
LOOP_SLEEP_MS=300000
# --------------- SOLANA METRICS ( OPTIONAL ) --------------------
SOLANA_METRICS_CONFIG=""
PROMETHEUS_PUSH_GATEWAY=""
PROMETHEUS_JOB_NAME=""
PROMETHEUS_INSTANCE=""
# --------------- LOGGING -------------------------
# Log level
RUST_LOG=info