aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-04-26 05:57:07 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-04-26 05:57:07 +0800
commit09034772d0536b6dd0a2c591986059b3eaba221d (patch)
tree72326c0d24c0cb31440c6d405885bf7d51f5f1e2
parentf2bf7326ccc87fa944307f0b1ffd7ca51621e53c (diff)
downloadtangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar.gz
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar.bz2
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar.lz
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar.xz
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.tar.zst
tangerine-wallet-browser-09034772d0536b6dd0a2c591986059b3eaba221d.zip
Add (vague) instructions to adding a new network to the dropdown.
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 496b5423f..821e1cdfd 100644
--- a/README.md
+++ b/README.md
@@ -168,3 +168,28 @@ To delete a notice:
npm run deleteNotice
```
A list of active notices will pop up. Enter the corresponding id in the command line prompt and add and commit the new changes afterwards.
+
+## Adding Custom Networks
+
+To add another network to our dropdown menu, make sure the following files are adjusted properly:
+
+```
+app/scripts/config.js
+app/scripts/lib/buy-eth-url.js
+app/scripts/lib/config-manager.js
+ui/app/app.js
+ui/app/components/buy-button-subview.js
+ui/app/components/drop-menu-item.js
+ui/app/components/network.js
+ui/app/components/transaction-list-item.js
+ui/app/config.js
+ui/app/css/lib.css
+ui/lib/account-link.js
+ui/lib/explorer-link.js
+```
+
+You will need:
++ The network ID
++ An RPC Endpoint url
++ An explorer link
++ CSS for the display icon