feat: add network image

This commit is contained in:
Anthony Laibe 2022-05-30 11:55:50 +02:00 committed by Anthony Laibe
parent 7c92d39359
commit 86805a6c7d
9 changed files with 8 additions and 8 deletions

View File

@ -112,7 +112,7 @@ let DEFAULT_NETWORKS* = %* [
let NETWORKS* = %* [
{
"chainId": 1,
"chainName": "Ethereum Mainnet",
"chainName": "Mainnet",
"rpcUrl": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": "https://etherscan.io/",
"iconUrl": "",
@ -125,7 +125,7 @@ let NETWORKS* = %* [
},
{
"chainId": 3,
"chainName": "Ethereum Ropsten",
"chainName": "Ropsten",
"rpcUrl": "https://ropsten.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": "https://ropsten.etherscan.io/",
"iconUrl": "",
@ -138,7 +138,7 @@ let NETWORKS* = %* [
},
{
"chainId": 4,
"chainName": "Ethereum Rinkeby",
"chainName": "Rinkeby",
"rpcUrl": "https://rinkeby.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": "https://rinkeby.etherscan.io/",
"iconUrl": "",
@ -151,7 +151,7 @@ let NETWORKS* = %* [
},
{
"chainId": 5,
"chainName": "Ethereum Goerli",
"chainName": "Goerli",
"rpcUrl": "http://goerli.blockscout.com/",
"blockExplorerUrl": "https://goerli.etherscan.io/",
"iconUrl": "",
@ -164,7 +164,7 @@ let NETWORKS* = %* [
},
{
"chainId": 10,
"chainName": "Optimistic Ethereum",
"chainName": "Optimism",
"rpcUrl": "https://optimism-mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": "https://optimistic.etherscan.io",
"iconUrl": "",
@ -190,7 +190,7 @@ let NETWORKS* = %* [
},
{
"chainId": 42161,
"chainName": "Arbitrum Mainnet",
"chainName": "Arbitrum",
"rpcUrl": "https://arbitrum-mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": "https://arbiscan.io/",
"iconUrl": "",
@ -203,7 +203,7 @@ let NETWORKS* = %* [
},
{
"chainId": 421611,
"chainName": "Arbitrum Testnet",
"chainName": "Arbitrum Rinkeby",
"rpcUrl": "https://arbitrum-rinkeby.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
"blockExplorerUrl": " https://testnet.arbiscan.io",
"iconUrl": "",

View File

@ -7,7 +7,7 @@ import StatusQ.Core.Theme 0.1
StatusListItem {
property var network
title: network.chainName
icon.isLetterIdenticon: true
image.source: Style.png("networks/" + network.chainName.toLowerCase())
width: parent.width
leftPadding: Style.current.padding
rightPadding: Style.current.padding

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB