refactor: update ETH/Optimism Kovan to Goerli in Sign v2 examples (#66)

This commit is contained in:
Ben Kremer
2022-10-06 13:42:04 +02:00
committed by GitHub
parent 9b7950fc4a
commit 77adb22535
5 changed files with 30 additions and 16 deletions
+4 -4
View File
@@ -26,8 +26,8 @@ export const EIP155Metadata: NamespaceMetadata = {
rgb: EIP155Colors.ethereum,
},
"5": {
logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:5.png",
rgb: EIP155Colors.goerli,
logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:1.png",
rgb: EIP155Colors.ethereum,
},
"10": {
name: "Optimism",
@@ -38,8 +38,8 @@ export const EIP155Metadata: NamespaceMetadata = {
logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:42.png",
rgb: EIP155Colors.ethereum,
},
"69": {
logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:69.png",
"420": {
logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:420.png",
rgb: EIP155Colors.optimism,
},
"100": {
+2 -2
View File
@@ -13,8 +13,8 @@ export const DEFAULT_MAIN_CHAINS = [
export const DEFAULT_TEST_CHAINS = [
// testnets
"eip155:42",
"eip155:69",
"eip155:5",
"eip155:420",
"eip155:80001",
"eip155:421611",
"eip155:44787",
+6 -6
View File
@@ -10,9 +10,9 @@ const rpcProvidersByChainId: Record<number, any> = {
symbol: "ETH",
},
},
42: {
name: "Ethereum Kovan",
baseURL: "https://kovan.infura.io/v3/5dc0df7abe4645dfb06a9a8c39ede422",
5: {
name: "Ethereum Goerli",
baseURL: "https://goerli.infura.io/v3/5dc0df7abe4645dfb06a9a8c39ede422",
token: {
name: "Ether",
symbol: "ETH",
@@ -42,9 +42,9 @@ const rpcProvidersByChainId: Record<number, any> = {
symbol: "ETH",
},
},
69: {
name: "Optimism Kovan",
baseURL: "https://kovan.optimism.io",
420: {
name: "Optimism Goerli",
baseURL: "https://goerli.optimism.io",
token: {
name: "Ether",
symbol: "ETH",