diff --git a/README.md b/README.md index 637b9a6..7553097 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The polygon resolver library is used for resolving DID’s in Polygon Method Spa ## Install ``` -npm install +pnpm install ``` ## Usage @@ -24,5 +24,5 @@ The function returns a DID Document. For testing use the command ``` -npm run test +pnpm run test ``` diff --git a/package.json b/package.json index 9e3f340..da48ee3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "release": "release-it" }, "dependencies": { - "@ayanworks/polygon-did-registry-contract": "2.0.1-alpha.8", + "@ayanworks/polygon-did-registry-contract": "3.0.0", "did-resolver": "^4.1.0", "ethers": "^5.1.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index be44fd3..d798424 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@ayanworks/polygon-did-registry-contract': - specifier: 2.0.1-alpha.8 - version: 2.0.1-alpha.8 + specifier: 3.0.0 + version: 3.0.0 did-resolver: specifier: ^4.1.0 version: 4.1.0 @@ -36,8 +36,8 @@ importers: packages: - '@ayanworks/polygon-did-registry-contract@2.0.1-alpha.8': - resolution: {integrity: sha512-5PI/poy+zWrT3iAQGc4w4hsj39lATIv2ucWeRwMq5uwu1NRQAYRWfoIez4bF/HxBMgI5dYuXWIqLtksLBmTiag==} + '@ayanworks/polygon-did-registry-contract@3.0.0': + resolution: {integrity: sha512-RnW31nkDIMG1YzuOycxGGrJFpgTcpBwS/UZR6/wMPrsJBKBEN28k2CZImwXkbgaknyTfL7xe1u3C8NxfDvhI4Q==} '@babel/code-frame@7.22.10': resolution: {integrity: sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==} @@ -1834,7 +1834,7 @@ packages: snapshots: - '@ayanworks/polygon-did-registry-contract@2.0.1-alpha.8': {} + '@ayanworks/polygon-did-registry-contract@3.0.0': {} '@babel/code-frame@7.22.10': dependencies: diff --git a/src/config.ts b/src/config.ts index afe9c91..5cf8dd1 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,10 +1,10 @@ export const networkConfig = { testnet: { URL: 'https://rpc-amoy.polygon.technology', - CONTRACT_ADDRESS: '0x1adeA199dCf07E17232415Cb232442BE52517Add', + CONTRACT_ADDRESS: '0xcB80F37eDD2bE3570c6C9D5B0888614E04E1e49E', }, mainnet: { URL: 'https://polygon-rpc.com', - CONTRACT_ADDRESS: '0xdEBc41520F2d8203b282c4dc6c5973e61a14c727', + CONTRACT_ADDRESS: '0x0C16958c4246271622201101C83B9F0Fc7180d15', }, }