diff --git a/.gitignore b/.gitignore index 532eddc..2ac3efa 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -.env \ No newline at end of file +.env + +# IntelijIDEA +.idea \ No newline at end of file diff --git a/package.json b/package.json index d7e395b..29a270f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "dependencies": { "@blocto/dappauth": "^2.1.0", "@blocto/fcl": "^1.0.0-alpha.1", - "@blocto/sdk": "^0.10.0-beta.1", + "@blocto/sdk": "^0.10.2", "@chakra-ui/icons": "^1.1.1", "@chakra-ui/react": "^1.7.4", "@emotion/react": "^11", diff --git a/src/contracts/index.ts b/src/contracts/index.ts index fc9538e..6783171 100644 --- a/src/contracts/index.ts +++ b/src/contracts/index.ts @@ -27,7 +27,7 @@ export const ContractInfos: ContractInfosType = { }, [EvmChainId.PolygonTestnet]: { abi: valueDappAbi, - address: "0x009c403BdFaE357d82AAef2262a163287c30B739", + address: "0x5cd3253E1F0A3b3EEA0562EA51EFCD86C04231d3", }, [EvmChainId.Avalanche]: { abi: valueDappAbi, diff --git a/src/services/evm.ts b/src/services/evm.ts index e3fa3aa..39cfe4c 100644 --- a/src/services/evm.ts +++ b/src/services/evm.ts @@ -75,9 +75,9 @@ export const supportedChains = [ environment: "mainnet", }, { - name: "Polygon Testnet", - chainId: "0x13881", - rpcUrls: ["https://rpc-mumbai.maticvigil.com/"], + name: "Polygon Amoy Testnet", + chainId: "0x13882", + rpcUrls: ["https://rpc-amoy.polygon.technology/"], faucet: "https://faucet.polygon.technology/", environment: "testnet", }, diff --git a/src/types/ChainTypes.ts b/src/types/ChainTypes.ts index 8f2d1ce..6867071 100644 --- a/src/types/ChainTypes.ts +++ b/src/types/ChainTypes.ts @@ -18,7 +18,7 @@ export enum EvmChainId { Bsc = "0x38", BscTestnet = "0x61", Polygon = "0x89", - PolygonTestnet = "0x13881", + PolygonTestnet = "0x13882", Avalanche = "0xa86a", AvalancheTestnet = "0xa869", Arbitrum = "0xa4b1", diff --git a/yarn.lock b/yarn.lock index 8befc61..950a516 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1407,10 +1407,10 @@ deepmerge "^4.2.2" sha3 "^2.1.4" -"@blocto/sdk@^0.10.0-beta.0": - version "0.10.0-beta.0" - resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.10.0-beta.0.tgz#794c300cafab5ab864dc1051ff5826c0f50d983d" - integrity sha512-McoZ+hGFqw7XqcCjhE3/IOLZiIGJw5Wxed0BkgK0obnTUo89ze2H0uVfRrKwGNTBtHp3z2/U/Wqr+mpAYg8ZuQ== +"@blocto/sdk@^0.10.2": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.10.2.tgz#d29c652d25ac367a3c8d5fabdcb770b5cbb07c1c" + integrity sha512-9gCIUKA7/7/hMHaa5n94+OYU/3tHd6vmBgTgv4o2h3z9SFueQXAJMO4aBggH9+EldgHQDI6wHsnvytEt9AWb6g== dependencies: buffer "^6.0.3" eip1193-provider "^1.0.1"