Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy FastBridge on testnets #2884

Merged
merged 8 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion packages/contracts-rfq/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ BASE_RPC=https://base.llamarpc.com
BASE_VERIFIER=etherscan
BASE_VERIFIER_URL=https://api.basescan.org/api
BASE_VERIFIER_KEY=YourBaseScanKey
# BNB
BNB_RPC=https://bnb.api.onfinality.io/public
BNB_VERIFIER=etherscan
BNB_VERIFIER_URL=https://api.bscscan.com/api
BNB_VERIFIER_KEY=YourBscScanKey
# Mainnet
MAINNET_RPC=https://eth.llamarpc.com
MAINNET_VERIFIER=etherscan
Expand All @@ -54,4 +59,33 @@ SCROLL_VERIFIER_URL=https://api.scrollscan.com/api
SCROLL_VERIFIER_KEY=YourScrollScanKey

# TESTNET CHAINS
# TODO: add testnet chains
# Arbitrum Sepolia
ARB_SEPOLIA_RPC=https://arbitrum-sepolia.blockpi.network/v1/rpc/public
ARB_SEPOLIA_VERIFIER=etherscan
ARB_SEPOLIA_VERIFIER_URL=https://api-sepolia.arbiscan.io/api
ARB_SEPOLIA_VERIFIER_KEY=YourArbiScanKey
# Base Sepolia
BASE_SEPOLIA_RPC=https://base-sepolia.blockpi.network/v1/rpc/public
BASE_SEPOLIA_VERIFIER=etherscan
BASE_SEPOLIA_VERIFIER_URL=https://api-sepolia.basescan.org/api
BASE_SEPOLIA_VERIFIER_KEY=YourBaseScanKey
# BNB Testnet
BNB_TESTNET_RPC=https://bsc-testnet.blockpi.network/v1/rpc/public
BNB_TESTNET_VERIFIER=etherscan
BNB_TESTNET_VERIFIER_URL=https://api-testnet.bscscan.com/api
BNB_TESTNET_VERIFIER_KEY=YourBscScanKey
# Ethereum Sepolia
ETH_SEPOLIA_RPC=https://ethereum-sepolia.blockpi.network/v1/rpc/public
ETH_SEPOLIA_VERIFIER=etherscan
ETH_SEPOLIA_VERIFIER_URL=https://api-sepolia.etherscan.io/api
ETH_SEPOLIA_VERIFIER_KEY=YourEtherScanKey
# Optimism Sepolia
OP_SEPOLIA_RPC=https://optimism-sepolia.blockpi.network/v1/rpc/public
OP_SEPOLIA_VERIFIER=etherscan
OP_SEPOLIA_VERIFIER_URL=https://api-sepolia-optimistic.etherscan.io/api
OP_SEPOLIA_VERIFIER_KEY=YourOptimismEtherScanKey
# Scroll Sepolia
SCROLL_SEPOLIA_RPC=https://scroll-sepolia.blockpi.network/v1/rpc/public
SCROLL_SEPOLIA_VERIFIER=etherscan
SCROLL_SEPOLIA_VERIFIER_URL=https://api-sepolia.scrollscan.com/api
SCROLL_SEPOLIA_VERIFIER_KEY=YourScrollScanKey
11 changes: 11 additions & 0 deletions packages/contracts-rfq/configs/global/testnet/FastBridge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"accounts": {
"admin": "0xB33F4bA8A4893854D03AbF45D9b692EBdf09406F",
"guards": ["0x82541eB993aa7b17FF346ac0b07e5E496540133e"],
"relayers": ["0x82541eB993aa7b17FF346ac0b07e5E496540133e"],
"refunders": ["0xB33F4bA8A4893854D03AbF45D9b692EBdf09406F"],
"governors": ["0xB33F4bA8A4893854D03AbF45D9b692EBdf09406F"]
},
"chainGasAmount": 0,
"protocolFeeRate": 0
}
1 change: 1 addition & 0 deletions packages/contracts-rfq/deployments/arb_sepolia/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
421614
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: Consider adding a newline at the end of the file for POSIX compliance.

Loading
Loading