Skip to content

Commit

Permalink
feat: added support for mainnet (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
tipusinghaw authored Jun 4, 2024
1 parent 570a8cc commit 0b7b38e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The polygon resolver library is used for resolving DID’s in Polygon Method Spa
## Install

```
npm install
pnpm install
```

## Usage
Expand All @@ -24,5 +24,5 @@ The function returns a DID Document.
For testing use the command

```
npm run test
pnpm run test
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -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',
},
}

0 comments on commit 0b7b38e

Please sign in to comment.