aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwanderer <mjbecze@gmail.com>2015-01-25 08:32:26 +0800
committerwanderer <mjbecze@gmail.com>2015-01-25 08:32:26 +0800
commit063f69d51d6a8a703d2f4a4eadcbb3c35f870c91 (patch)
tree49cdce8ff950856b18d7b07a89c0c46ca643ee43
parentb2d23b91e7dbae0d725f41c09dc29bf182dffbd9 (diff)
downloaddexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar.gz
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar.bz2
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar.lz
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar.xz
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.tar.zst
dexon-063f69d51d6a8a703d2f4a4eadcbb3c35f870c91.zip
added local
-rw-r--r--lib/local.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/local.js b/lib/local.js
new file mode 100644
index 000000000..30cd14df2
--- /dev/null
+++ b/lib/local.js
@@ -0,0 +1,18 @@
+var addressName = {"0x12378912345789": "Gav", "0x57835893478594739854": "Jeff"};
+var nameAddress = {};
+
+for (var prop in addressName) {
+ if (addressName.hasOwnProperty(prop)) {
+ nameAddress[addressName[prop]] = prop;
+ }
+}
+
+var local = {
+ addressBook:{
+ byName: addressName,
+ byAddress: nameAddress
+ }
+};
+
+if (typeof(module) !== "undefined")
+ module.exports = local;