Skip to content

Commit

Permalink
add amoy support
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Apr 15, 2024
1 parent ae1d9d2 commit 3347719
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 15 deletions.
21 changes: 17 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"optionalDependencies": {
"@nx/nx-linux-x64-gnu": "^18.2.4",
"@rollup/rollup-linux-x64-gnu": "^4.14.1"
"@rollup/rollup-linux-x64-gnu": "^4.14.3"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions packages/base/src/chain/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ export const getEvmChainConfig = (chainId: number): CustomChainConfig | null =>
tickerName: "Polygon",
};
}
if (chainId === 80001) {
if (chainId === 80002) {
return {
logo: "https://images.toruswallet.io/polygon.svg",
chainNamespace,
chainId: "0x13881",
rpcTarget: "https://rpc.ankr.com/polygon_mumbai",
displayName: "Polygon Mumbai Testnet",
blockExplorerUrl: "https://mumbai.polygonscan.com/",
chainId: "0x13882",
rpcTarget: "https://rpc.ankr.com/polygon_amoy",
displayName: "Polygon Amoy Testnet",
blockExplorerUrl: "https://www.oklink.com/amoy",
ticker: "MATIC",
tickerName: "Polygon",
decimals: 18,
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/wallet-services-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@web3auth/openlogin-adapter": "^8.1.0"
},
"dependencies": {
"@toruslabs/ethereum-controllers": "^5.5.5",
"@toruslabs/ethereum-controllers": "^5.5.6",
"@toruslabs/openlogin-jrpc": "^8.1.1",
"@web3auth/base": "^8.1.0",
"@web3auth/base-plugin": "^8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/ethereum-mpc-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/rpc-errors": "^6.2.1",
"@toruslabs/base-controllers": "^5.5.5",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/openlogin-jrpc": "^8.1.1",
"@web3auth/base": "^8.1.0",
"@web3auth/base-provider": "^8.1.0",
"@web3auth/ethereum-provider": "^8.1.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@toruslabs/vue-components": "^7.8.2",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.merge": "^4.6.9",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.24",
"@types/react": "^18.2.78",
"@types/react-dom": "^18.2.25",
"autoprefixer": "^10.4.19",
"css-loader": "^7.1.1",
"live-server": "^1.2.2",
Expand All @@ -72,7 +72,7 @@
"bowser": "^2.11.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"i18next": "^23.11.1",
"i18next": "^23.11.2",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.2",
"react-i18next": "^14.1.0",
Expand Down

0 comments on commit 3347719

Please sign in to comment.