aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/ext/lib/local.js
blob: 30cd14df23576cb56cfe9f8c5ed71b4ef1d0eaa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;