From 2c6162bb319fc13fdb3df1813abffb6813278517 Mon Sep 17 00:00:00 2001 From: Ankita Patidar Date: Wed, 6 Nov 2024 13:27:01 +0530 Subject: [PATCH] feat:updated test network to ethereum for testing purpose Signed-off-by: Ankita Patidar --- package.json | 2 +- src/config.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bb057b0..d357915 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ayanworks/polygon-did-resolver", - "version": "1.0.0", + "version": "2.0.0", "description": "The polygon resolver library is used for resolving DID’s in Polygon Method Space. The module is supposed to be used as an integeration to polygon library.", "license": "MIT", "main": "build/index.js", diff --git a/src/config.ts b/src/config.ts index 5cf8dd1..3d962e2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,7 +1,9 @@ export const networkConfig = { testnet: { - URL: 'https://rpc-amoy.polygon.technology', - CONTRACT_ADDRESS: '0xcB80F37eDD2bE3570c6C9D5B0888614E04E1e49E', + // URL: 'https://rpc-amoy.polygon.technology', + // CONTRACT_ADDRESS: '0xcB80F37eDD2bE3570c6C9D5B0888614E04E1e49E', + URL: 'https://ethereum-sepolia.blockpi.network/v1/rpc/public', + CONTRACT_ADDRESS: '0x7423254347AbE61F7606d0b850CAa1233Fb660bC', }, mainnet: { URL: 'https://polygon-rpc.com',