Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to support the Binance Smart Chain (BSC) network, update configuration files, and modify contract parameters. The most important changes include adding support for BSC in various configuration files, updating the
DLCManager
contract's minimum deposit, and adding deployment files for BSC.Support for Binance Smart Chain (BSC):
.env.template
: Added BSC-specific environment variables, includingBSCSCAN_API_KEY
.hardhat.config.js
: Added BSC network configuration, including URL, chain ID, and Etherscan API key. [1] [2] [3] [4]scripts/helpers/chainlink-por-addresses.js
: Added case for BSC in thegetPoRAddress
function.scripts/helpers/dlc-admin-safes.js
: Added BSC-specific DLC admin safes.scripts/helpers/mainnet-call-all.sh
: Added BSC to the list of networks for thedlc-link-eth
command.scripts/helpers/new-chain-setup-mainnet.sh
: Added setup steps for BSC, including adding a new signer and configuring roles. [1] [2]Contract Updates:
contracts/DLCManager.sol
: Updated theminimumDeposit
from1e6
to1e7
to change the minimum deposit from 0.01 BTC to 0.1 BTC.Deployment Files for BSC:
deploymentFiles/bsc/DLCManager.json
: Added deployment configuration for theDLCManager
contract on BSC.deploymentFiles/bsc/IBTC.json
: Added deployment configuration for theIBTC
contract on BSC.deploymentFiles/bsc/TimelockController.json
: Added deployment configuration for theTimelockController
contract on BSC.