diff --git a/app/images/coins/webchain.svg b/app/images/coins/webchain.svg new file mode 100644 index 0000000000..f1fcfe982a --- /dev/null +++ b/app/images/coins/webchain.svg @@ -0,0 +1,46 @@ + + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/scripts/abiDefinitions/webAbi.json b/app/scripts/abiDefinitions/webAbi.json new file mode 100644 index 0000000000..fe51488c70 --- /dev/null +++ b/app/scripts/abiDefinitions/webAbi.json @@ -0,0 +1 @@ +[] diff --git a/app/scripts/nodes.js b/app/scripts/nodes.js index 84d78000a0..0e05792032 100644 --- a/app/scripts/nodes.js +++ b/app/scripts/nodes.js @@ -25,6 +25,7 @@ nodes.nodeTypes = { PIRL: "PIRL", ETHO: "ETHO", ATH: "ATH", + WEB: "WEB", MIX: "MIX", Custom: "CUSTOM ETH" }; @@ -444,6 +445,19 @@ nodes.nodeList = { service: "wallet.atheios.com", lib: new nodes.customNode("https://wallet.atheios.com", "8797") }, + web: { + name: "WEB", + blockExplorerTX: "https://explorer.webchain.network/tx/[[txHash]]", + blockExplorerAddr: "https://explorer.webchain.network/addr/[[address]]", + type: nodes.nodeTypes.WEB, + eip155: true, + chainId: 101, + tokenList: require("./tokens/webTokens.json"), + abiList: require("./abiDefinitions/webAbi.json"), + estimateGas: true, + service: "node1.webchain.network", + lib: new nodes.customNode("https://node1.webchain.network", "") + }, mix: { name: "MIX", blockExplorerTX: "https://blocks.mix-blockchain.org/transaction/[[txHash]]", diff --git a/app/scripts/tokens/webTokens.json b/app/scripts/tokens/webTokens.json new file mode 100644 index 0000000000..fe51488c70 --- /dev/null +++ b/app/scripts/tokens/webTokens.json @@ -0,0 +1 @@ +[] diff --git a/app/styles/etherwallet-custom.less b/app/styles/etherwallet-custom.less index fcdc3398c6..98a4d9d1ad 100644 --- a/app/styles/etherwallet-custom.less +++ b/app/styles/etherwallet-custom.less @@ -609,6 +609,7 @@ label small { @brand-pirl: #a2d729; @brand-etho: #d63068; @brand-ath: #0099ff; +@brand-web: #0092ee; @brand-cust: #b50085; .dropdown-node .dropdown-menu { @@ -690,6 +691,9 @@ label small { li:nth-child(32) { border-left: 2px solid @brand-ath; } + li:nth-child(33) { + border-left: 2px solid @brand-web; + } li:last-child { border-left: 2px solid @gray-light; } @@ -710,7 +714,8 @@ label small { li:nth-child(28), li:nth-child(29), li:nth-child(30), - li:nth-child(31) { + li:nth-child(31), + li:nth-child(32) { border-bottom: 1px solid @gray-lighter; } } @@ -945,6 +950,17 @@ header.ATH { } } +header.WEB { + .header-branding { border-bottom: 0.25rem solid @brand-web; } + & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-web; } + & + .container .modal-content { border: 0.25rem solid @brand-web; } + & + .container .alert-info { background-color:@brand-web; } + .dropdown-gas:before { + width: 36px; + background-image: url("../images/coins/webchain.svg"); + } +} + .contest-container { align-content: center; display: flex;