-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Validator] Connect additional providers to two chains
- Loading branch information
1 parent
bdbd918
commit f08c17b
Showing
12 changed files
with
222 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
################################################################################ | ||
## Network interface ## | ||
################################################################################ | ||
server: | ||
# Address to which we bind (default: 127.0.0.1) | ||
address: "${HOST_IP}" | ||
# Port on which we bind (default: 7070) | ||
port: "${HOST_PORT}" | ||
|
||
################################################################################ | ||
## Database options ## | ||
################################################################################ | ||
database: | ||
host: "${DATABASE_HOST}" | ||
user: "${DATABASE_USER}" | ||
password: "${DATABASE_PASSWORD}" | ||
database: "${DATABASE_NAME}" | ||
scheme: "${DATABASE_SCHEME}" | ||
port: "${DATABASE_PORT}" | ||
connectionTimeoutMillis: 5000 | ||
max: 100 | ||
|
||
################################################################################ | ||
## Logging options ## | ||
################################################################################ | ||
logging: | ||
# Values: error, warn, info, http, verbose, debug, silly | ||
level: verbose | ||
|
||
################################################################################ | ||
## Scheduler options ## | ||
################################################################################ | ||
scheduler: | ||
enable: true | ||
items: | ||
- name: bridge | ||
enable: true | ||
expression: "*/10 * * * * *" | ||
|
||
bridge: | ||
networkAName: "production_main" | ||
networkABridgeAddress: "0x4Ca91738C7cD24895467c6d550D96BE8dC4b33AA" | ||
networkATokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022" | ||
networkBName: "production_side" | ||
networkBBridgeAddress: "0xd73e6a2f2e47236F1Ff737E72497f598652122F9" | ||
networkBTokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022" | ||
validators: | ||
- "${BRIDGE_VALIDATOR1}" | ||
- "${BRIDGE_VALIDATOR2}" | ||
- "${BRIDGE_VALIDATOR3}" | ||
- "${BRIDGE_VALIDATOR4}" | ||
- "${BRIDGE_VALIDATOR5}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
################################################################################ | ||
## Network interface ## | ||
################################################################################ | ||
server: | ||
# Address to which we bind (default: 127.0.0.1) | ||
address: "${HOST_IP}" | ||
# Port on which we bind (default: 7070) | ||
port: "${HOST_PORT}" | ||
|
||
################################################################################ | ||
## Database options ## | ||
################################################################################ | ||
database: | ||
host: "${DATABASE_HOST}" | ||
user: "${DATABASE_USER}" | ||
password: "${DATABASE_PASSWORD}" | ||
database: "${DATABASE_NAME}" | ||
scheme: "${DATABASE_SCHEME}" | ||
port: "${DATABASE_PORT}" | ||
connectionTimeoutMillis: 5000 | ||
max: 100 | ||
|
||
################################################################################ | ||
## Logging options ## | ||
################################################################################ | ||
logging: | ||
# Values: error, warn, info, http, verbose, debug, silly | ||
level: verbose | ||
|
||
################################################################################ | ||
## Scheduler options ## | ||
################################################################################ | ||
scheduler: | ||
enable: true | ||
items: | ||
- name: bridge | ||
enable: true | ||
expression: "*/10 * * * * *" | ||
|
||
bridge: | ||
networkAName: "production_main" | ||
networkABridgeAddress: "0x7265F4D550AEdc3Ed97a6ae6dDAf4289eDFaC0C5" | ||
networkATokenAddress: "0x3A90432BBfd5Bd87788f397F46c24685492fb30E" | ||
networkBName: "production_side" | ||
networkBBridgeAddress: "0x6DA3F9D26C5964ab6E3902fFD7907B6bc3465493" | ||
networkBTokenAddress: "0x3A90432BBfd5Bd87788f397F46c24685492fb30E" | ||
validators: | ||
- "${BRIDGE_VALIDATOR1}" | ||
- "${BRIDGE_VALIDATOR2}" | ||
- "${BRIDGE_VALIDATOR3}" | ||
- "${BRIDGE_VALIDATOR4}" | ||
- "${BRIDGE_VALIDATOR5}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# HOST SERVER | ||
HOST_IP=0.0.0.0 | ||
HOST_PORT=7500 | ||
|
||
# CHAIN URL | ||
PRODUCTION_MAIN_URL=https://testnet.bosagora.org | ||
PRODUCTION_MAIN_CHAIN_ID=2019 | ||
PRODUCTION_SIDE_URL=https://rpc.test.kios.bosagora.org | ||
PRODUCTION_SIDE_CHAIN_ID=215115 | ||
|
||
# DATABASE INFO | ||
DATABASE_HOST=127.0.0.1 | ||
DATABASE_USER=agora | ||
DATABASE_NAME=bridge-loyalty | ||
DATABASE_SCHEME= | ||
DATABASE_PASSWORD=12345678 | ||
DATABASE_PORT=5432 | ||
|
||
# 0x6F8CF905906dDe9E440F0DF5B26146cf1f195F12 | ||
DEPLOYER=0x0d451ab5bd459f59fda0cf8018cfbfa4df5c454c5c25a844b70a5afcaf246c98 | ||
# 0x6629E54deC62B88b34d6fF7439B290cC0f1bfaEC | ||
FEE=0xcfefe53d3c74cda9aa7b0af55d0b615cdcf7d4ed3b8653fb87fb2259f083f007 | ||
# 0x035DEa1B3427B7118B0750aA3e2341dBf3eB521d | ||
BRIDGE_VALIDATOR1=0xdc09a76275fd2e8cfc8e5bf3cd2d04d4ff1be591d5b852f9cf939adeef1a09f2 | ||
# 0xF8d80AB87DFd751d9B045FE68ACB47eBaa6fa361 | ||
BRIDGE_VALIDATOR2=0xe77a456994aa357ed3a7fa20974445ba55a752593499901182ec24892042861f | ||
# 0xf762Eea24A9B751D49159478214d37c414FE9037 | ||
BRIDGE_VALIDATOR3=0x26d91992f8f68e10e398d0e752713d48bbe279e3f33f99930b7c570f4d1044ea | ||
# 0x060c3D1ec7EE75FB45DC229B3ed58167AD826740 | ||
BRIDGE_VALIDATOR4=0xdc4ecf707e85aa04b1c107f211af1294ce235192dd06e048cc527b0adc07955a | ||
# 0x443bc4b6D445459047423Eae577d6E01eE490B78 | ||
BRIDGE_VALIDATOR5=0x5b620b1429056d3429647d06d460236adbde78b12bb1226a29a1896a1e6d35cd | ||
|
||
REPORT_GAS=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.