File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ export const supportedWallets = {
1111export const SUPPORTED_CHAINS = [
1212 '1' , '0x1' , // ETH Mainnet
1313 '42161' , '0xa4b1' , // Arbitrum One
14+ '137' , '0x89' // Polygon Mainnet
1415] ;
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ function getSimulationEndpoint(chainId: string): string {
125125 case "0xa4b1" :
126126 case '42161' :
127127 return `${ TAS_SERVER_URL_PROD } /v0/arb/mainnet/transaction` ;
128+ case '0x89' :
129+ case '137' :
130+ return `${ TAS_SERVER_URL_PROD } /v0/polygon/mainnet/transaction` ;
128131 default :
129132 return `${ TAS_SERVER_URL_PROD } /v0/eth/mainnet/transaction` ;
130133 }
@@ -135,9 +138,12 @@ function getSignatureEndpoint(chainId: string): string {
135138 case '0x1' :
136139 case '1' :
137140 return `${ TAS_SERVER_URL_PROD } /v0/eth/mainnet/signature` ;
138- case " 0xa4b1" :
141+ case ' 0xa4b1' :
139142 case '42161' :
140143 return `${ TAS_SERVER_URL_PROD } /v0/arb/mainnet/signature` ;
144+ case '0x89' :
145+ case '137' :
146+ return `${ TAS_SERVER_URL_PROD } /v0/polygon/mainnet/signature` ;
141147 default :
142148 return `${ TAS_SERVER_URL_PROD } /v0/eth/mainnet/signature` ;
143149 }
You can’t perform that action at this time.
0 commit comments