File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1115,7 +1115,15 @@ async function deployEvm<N extends Network, C extends Chain>(
11151115 }
11161116
11171117 const rpc = ch . config . rpc ;
1118- const specialRelayer = "0x63BE47835c7D66c4aA5B2C688Dc6ed9771c94C74" ; // TODO: how to configure this?
1118+ // TODO: how to make specialRelayer configurable??
1119+ let specialRelayer : string ;
1120+ if ( ch . chain === "Avalanche" ) {
1121+ specialRelayer = "0x1a19d8a194630642f750376Ae72b4eDF5aDFd25F" ;
1122+ } else if ( ch . chain === "Bsc" ) {
1123+ specialRelayer = "0x8C56eE9cd232d23541a697C0eBd3cA597DE3c88D" ;
1124+ } else {
1125+ specialRelayer = "0x63BE47835c7D66c4aA5B2C688Dc6ed9771c94C74" ;
1126+ }
11191127
11201128 const provider = new ethers . JsonRpcProvider ( rpc ) ;
11211129 const abi = [ "function decimals() external view returns (uint8)" ] ;
You can’t perform that action at this time.
0 commit comments