Skip to content

Commit

Permalink
Release v1.1.3 (#64)
Browse files Browse the repository at this point in the history
* Add Mainnet contract hash for ERC-20 DPLAT. (#37)

* Update package version to 1.1.0 (#41)

* Update mainnet contract hash for DPLAT token. (#43)

* update transaction interface (#45)

* Add documentation. (#47)

* Update matic testnet rpc url (#49)

* chore: update polygon testnet default rpc utl (#51)

* migrate: polygon testnet mumbai to amoy (#53)

* update contract hashes (#56)

* fix: resolve amoy explorer url (#59)

* add mumbai testnet details (#63)

---------

Co-authored-by: KSHITIJ <kshitij.chaurasiya@zblocks.io>
  • Loading branch information
bijayzbyte and ckshitij authored Apr 23, 2024
1 parent a698a2c commit 74ad04c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ export function getBlockchainNetwork(chainId: number): NetworkConfig {
explorer: 'https://polygonscan.com/',
networkType: MAINNET,
};
case 80001:
return {
networkName: 'Polygon',
networkRpcUrl: 'https://rpc-mumbai.polygon.technology',
chainId: 80001,
chainSymbol: MATIC,
explorer: 'https://mumbai.polygonscan.com/',
networkType: TESTNET,
};
default:
throw new Error('Given blockchain Id is not yet supported');
}
Expand Down

0 comments on commit 74ad04c

Please sign in to comment.