-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.staging
68 lines (58 loc) · 1.88 KB
/
.env.staging
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
66
67
68
# Polygon watcher
POLYGON_URL="https://matic-mumbai.chainstacklabs.com/"
POLYGON_CHAIN_ID=80001
POLYGON_NETWORK_ID=80001
POLYGON_SCAN_FROM_BACK_LATEST_BLOCK=3000
# Set SCAN_START_BLOCK to set start block manually.
#POLYGON_SCAN_START_BLOCK=23474000
POLYGON_DELAY_CONFIRMED_BLOCKS=0
POLYGON_SLEEP_TIME = 5000
POLYGON_USE_EIP_1559="true"
POLYGON_GAS_LIMIT="1500000"
POLYGON_GAS_PRICE_SCALE="1"
POLYGON_ACCOUNT_ADDRESS="0x0c1954CEB2227e3C5E6155B40fd929C1fF64F5f5"
POLYGON_ACCOUNT_PRIVATE_KEY=""
# Bsc watcher
BSC_URL="https://data-seed-prebsc-1-s1.binance.org:8545/"
BSC_CHAIN_ID=97
BSC_NETWORK_ID=97
BSC_SCAN_FROM_BACK_LATEST_BLOCK=3000
# Set SCAN_START_BLOCK to set start block manually.
#BSC_SCAN_START_BLOCK=15591731
BSC_DELAY_CONFIRMED_BLOCKS=0
BSC_SLEEP_TIME = 5000
BSC_USE_EIP_1559="false"
BSC_GAS_LIMIT="1500000"
BSC_GAS_PRICE_SCALE="1"
BSC_ACCOUNT_ADDRESS="0x0c1954CEB2227e3C5E6155B40fd929C1fF64F5f5"
BSC_ACCOUNT_PRIVATE_KEY=""
# contract addresses, should match RPC URL nad chain BSC_CHAIN_ID
## Run on bsc web3service
OPEN_BOX_CONTRACT_ADDRESS="0xBB04873c3D00dd6779dAE848029a2bC82a3A222b"
## Run on polygon web3service
RANDOMIZE_BY_RARITY_CONTRACT_ADDRESS="0x72Cd36e466918A5f4961d1a7eE6642E9be7Ef9fb"
# Redis
REDIS_HOST="localhost"
REDIS_PORT=6379
REDIS_PASS=redissecret
# MySql
DB_DATABASE="rada"
DB_HOST="localhost"
DB_USERNAME="root"
DB_PASSWORD="password"
DB_SYNCHRONIZE="true"
# common transaction creator
TRANSACTION_CREATOR_SLEEP_TIME=5000
TRANSACTION_CREATOR_MAX_ALLOWED_PENDING_TRANSACTIONS=5
TRANSACTION_CREATOR_GET_PENDING_REQUESTS_LIMIT=20
# s3/minio
S3_URL="http://localhost:9000"
S3_INTERNAL_URL="http://localhost:9000"
S3_REGION="us-east-1"
S3_CONTENTS_BUCKET="contents"
S3_CONTENTS_BUCKET_ENDPOINT="http://localhost:9000"
S3_ACCOUNT_KEY="rada_server"
S3_ACCOUNT_SECRET="rada_server"
S3_FORCE_PATH_STYLE="true"
# NFT Json metadata
NFT_METADATA_RARITY_BASE_URL="https://nft-meta.rada.network"