mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
19 lines
383 B
JavaScript
19 lines
383 B
JavaScript
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;
|