Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1632 from ethereumsocial/mercury
Browse files Browse the repository at this point in the history
Add ethereum social network
  • Loading branch information
kvhnuke authored Mar 21, 2018
2 parents f46991c + f6e6669 commit adcce6a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/scripts/abiDefinitions/etscAbi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
14 changes: 14 additions & 0 deletions app/scripts/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ nodes.nodeTypes = {
POA: "POA",
TOMO: "TOMO",
ELLA: "ELLA",
ETSC: "ETSC",
Custom: "CUSTOM ETH"
};
nodes.ensNodeTypes = [nodes.nodeTypes.ETH, nodes.nodeTypes.Ropsten];
Expand Down Expand Up @@ -242,6 +243,19 @@ nodes.nodeList = {
'estimateGas': true,
'service': 'ellaism.org',
'lib': new nodes.customNode('https://jsonrpc.ellaism.org', '')
},
'etsc': {
'name': 'ETSC',
'blockExplorerTX': 'https://explorer.ethereumsocial.kr/#/tx/[[txHash]]',
'blockExplorerAddr': 'https://explorer.ethereumsocial.kr/#/address/[[address]]',
'type': nodes.nodeTypes.ETSC,
'eip155': true,
'chainId': 214,
'tokenList': require('./tokens/etscTokens.json'),
'abiList': require('./abiDefinitions/etscAbi.json'),
'estimateGas': true,
'service': 'gazua.tv',
'lib': new nodes.customNode('https://node.ethereumsocial.kr', '')
}
};

Expand Down
1 change: 1 addition & 0 deletions app/scripts/tokens/etscTokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
14 changes: 12 additions & 2 deletions app/styles/etherwallet-custom.less
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ label small {
@brand-poa: #4568bb;
@brand-tomo: #6a488d;
@brand-ella: #046111;
@brand-etsc: #673ab7;
@brand-cust: #b50085;

.dropdown-node .dropdown-menu {
Expand Down Expand Up @@ -633,6 +634,9 @@ label small {
li:nth-child(16) {
border-left: 2px solid @brand-ella;
}
li:nth-child(17) {
border-left: 2px solid @brand-etsc;
}
li:last-child {
border-left: 2px solid @gray-light;
}
Expand All @@ -642,7 +646,8 @@ label small {
li:nth-child(12),
li:nth-child(13),
li:nth-child(14),
li:nth-child(15) {
li:nth-child(15),
li:nth-child(16) {
border-bottom: 1px solid @gray-lighter;
}
}
Expand Down Expand Up @@ -734,4 +739,9 @@ header.ELLA {
& + .container .alert-info { background-color:@brand-ella; }
}


header.ETSC {
.nav-container { border-top: 0.25rem solid @brand-etsc; }
& + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-etsc; }
& + .container .modal-content { border: 0.25rem solid @brand-etsc; }
& + .container .alert-info { background-color:@brand-etsc; }
}

0 comments on commit adcce6a

Please sign in to comment.