diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 16:36:39 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 16:36:39 +0800 |
commit | 1f5a6f13419415b4c05519e126eedcdf815aff7c (patch) | |
tree | de2d9551d3746ab3e4c8c38501ae0a1b6eac09d5 /lib/local.js | |
parent | d223ac0379c4c1f8c209e777ec9ed63384590157 (diff) | |
parent | da4c2d530d6f9b8ba54221c6812f77766a33fed6 (diff) | |
download | dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.gz dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.bz2 dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.lz dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.xz dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.zst dexon-1f5a6f13419415b4c05519e126eedcdf815aff7c.zip |
Merge branch 'develop' into cpp
Conflicts:
dist/ethereum.js.map
dist/ethereum.min.js
Diffstat (limited to 'lib/local.js')
-rw-r--r-- | lib/local.js | 18 |
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; |