This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
generated from rsksmart/react-app-rif-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Ropsten testnet. * Add Koven testnet. * Add Rinkeby testnet. * Add Goerli * reduce duplicate code. * Update names for testnet gas. * Final clean up.
- Loading branch information
1 parent
8d4a45d
commit fe58863
Showing
10 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ethrDid": "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b", | ||
"rpcUrl": "https://goerli.infura.io/v3/8043bb2cf99347b1bfadfb233c5325c0", | ||
"balanceName": "GöETH", | ||
"coinGeckoIds": "ethereum" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ethrDid": "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b", | ||
"rpcUrl": "https://kovan.infura.io/v3/8043bb2cf99347b1bfadfb233c5325c0", | ||
"balanceName": "KETH", | ||
"coinGeckoIds": "ethereum" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ethrDid": "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b", | ||
"rpcUrl": "https://rinkeby.infura.io/v3/8043bb2cf99347b1bfadfb233c5325c0", | ||
"balanceName": "ETH", | ||
"coinGeckoIds": "ethereum" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ethrDid": "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b", | ||
"rpcUrl": "https://ropsten.infura.io/v3/8043bb2cf99347b1bfadfb233c5325c0", | ||
"balanceName": "ETH", | ||
"coinGeckoIds": "ethereum" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
import { getDIDRegistryAddress, getRPCUrl } from '../config/getConfig' | ||
|
||
const add = (name: string, chainId: number) => ({ name, registry: getDIDRegistryAddress(chainId), rpcUrl: getRPCUrl(chainId) }) | ||
|
||
export const resolverProviderConfig = { | ||
networks: [ | ||
{ name: 'mainnet', registry: getDIDRegistryAddress(1), rpcUrl: getRPCUrl(1) }, | ||
{ name: 'rsk', registry: getDIDRegistryAddress(30), rpcUrl: getRPCUrl(30) }, | ||
{ name: 'rsk:testnet', registry: getDIDRegistryAddress(31), rpcUrl: getRPCUrl(31) }, | ||
{ name: 'development', registry: getDIDRegistryAddress(5777), rpcUrl: getRPCUrl(5777) } | ||
add('mainnet', 1), | ||
add('ropsten', 3), | ||
add('rinkeby', 4), | ||
add('goerli', 5), | ||
add('rsk', 30), | ||
add('rsk:testnet', 31), | ||
add('kovan', 31), | ||
add('development', 5777) | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters