Skip to content

Commit

Permalink
chore: Deploy BNB contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Feb 16, 2024
1 parent 94df91b commit bd6de09
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ LIGHTBRIDGE_BLOCK_RANGE_PER_POLLING=
ETHERSCAN_API_KEY=
OPTIMISMSCAN_API_KEY=
ARBISCAN_API_KEY=

BSCSCAN_API_KEY=
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Make sure disbursers have enough liquidity in form of the native asset (such as
- LightBridge deployed to: `0x670b130112C6f03E17192e63c67866e67D77c3ee`
- Proxy__LightBridge deployed to: `0x0dfFd3Efe9c3237Ad7bf94252296272c96237FF5`

### BSC Mainnet
- LightBridge deployed to: `0x670b130112C6f03E17192e63c67866e67D77c3ee`
- Proxy__LightBridge deployed to: `0x0dfFd3Efe9c3237Ad7bf94252296272c96237FF5`


## Testnet deployments

Expand Down
9 changes: 5 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config: HardhatUserConfig & {etherscan: {apiKey: any, customChains: any}}
accounts: [process.env.DEPLOYER_PK ?? LOCAL_PK],
},
bsc: {
url: 'https://binance.llamarpc.com',
url: 'https://bsc-pokt.nodies.app',
accounts: [process.env.DEPLOYER_PK ?? LOCAL_PK],
},
arbitrumOne: {
Expand Down Expand Up @@ -73,10 +73,11 @@ const config: HardhatUserConfig & {etherscan: {apiKey: any, customChains: any}}
apiKey: {
sepolia: process.env.ETHERSCAN_API_KEY,
arbitrumOne: process.env.ARBISCAN_API_KEY,
bsc: "",
bsc: process.env.BSCSCAN_API_KEY,
mainnet: process.env.ETHERSCAN_API_KEY,
optimisticEthereum: process.env.OPTIMISMSCAN_API_KEY,
boba_eth_mainnet: "boba", // not required, set placeholder
boba_bnb_mainnet: "boba", // not required, set placeholder
},
customChains: [
{
Expand All @@ -91,8 +92,8 @@ const config: HardhatUserConfig & {etherscan: {apiKey: any, customChains: any}}
network: "boba_bnb_mainnet",
chainId: 56288,
urls: {
apiURL: "",
browserURL: "",
apiURL: "https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan",
browserURL: "https://bobascan.com"
},
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
LightBridge deployed to: 0x670b130112C6f03E17192e63c67866e67D77c3ee
Proxy__LightBridge deployed to: 0x0dfFd3Efe9c3237Ad7bf94252296272c96237FF5
Initialized proxy: [object Object]
LightBridge initialized: [object Object]
Added route for 56288 chain, and token: 0x0000000000000000000000000000000000000000, receipt: [object Object]
Added route for 56288 chain, and token: 0xE0DB679377A0F5Ae2BaE485DE475c9e1d8A4607D, receipt: [object Object]
Added route for 288 chain, and token: 0xE0DB679377A0F5Ae2BaE485DE475c9e1d8A4607D, receipt: [object Object]
Network iteration done

0 comments on commit bd6de09

Please sign in to comment.