ens-usernames/config/contracts.json

102 lines
2.6 KiB
JSON
Raw Normal View History

2018-04-23 04:58:58 +00:00
{
"default": {
"deployment": {
"host": "localhost",
"port": 8545,
"type": "rpc"
},
"dappConnection": [
"$WEB3",
"http://localhost:8545"
],
"gas": "auto",
"contracts": {
2018-05-23 19:31:20 +00:00
"TestToken": {
2018-05-14 01:38:22 +00:00
"args": [ ]
2018-05-08 02:42:29 +00:00
},
"ENSRegistry": {
"deploy": true
2018-05-08 02:42:29 +00:00
},
"PublicResolver": {
"deploy": true
2018-05-08 02:42:29 +00:00
},
"ENSSubdomainRegistry": {
"args": [
"$TestToken",
"$ENSRegistry",
"$PublicResolver",
"0x0"
]
2018-05-13 17:01:59 +00:00
}
2018-04-23 04:58:58 +00:00
}
2018-05-23 19:57:29 +00:00
},
"development": {
"contracts": {
"TestToken": {
"deploy": true
},
"ENSRegistry": {
"deploy": true,
"onDeploy": [
"ENSRegistry.methods.setSubnodeOwner('0x0000000000000000000000000000000000000000000000000000000000000000', '0x4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0', web3.eth.defaultAccount).send()"
]
},
"PublicResolver": {
"deploy": true,
"args": [
"$ENSRegistry"
]
2018-05-24 00:58:09 +00:00
},
"ENSSubdomainRegistry": {
"args": [
"$TestToken",
"$ENSRegistry",
"$PublicResolver",
"0x0"
],
"onDeploy": [
"ENSRegistry.methods.setSubnodeOwner('0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae', '0xbd99f8d5e7f81d2d7c1da34b67a2bb3a94dd8c9b0ab40ddc077621b98405983b', ENSSubdomainRegistry.address).send()",
"ENSRegistry.methods.setSubnodeOwner('0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae', '0x7b4768a525e733422bf968587a91b4036e5176d36f44a9fb5b29d0bca03ab3a3', ENSSubdomainRegistry.address).send()"
]
2018-05-23 19:57:29 +00:00
}
}
},
"livenet":{
"contracts": {
"ENSRegistry": {
"address": "0x314159265dd8dbb310642f98f50c066173c1259b"
},
"PublicResolver": {
"address": "0x5FfC014343cd971B7eb70732021E26C35B744cc4"
}
}
},
"testnet":{
"contracts": {
"ENSRegistry": {
"address": "0x112234455c3a32fd11230c42e7bccd4a84e02010"
},
"PublicResolver": {
"address": "0x5FfC014343cd971B7eb70732021E26C35B744cc4"
},
"TestToken": {
"address": "0xc55cF4B03948D7EBc8b9E8BAD92643703811d162"
},
"ENSSubdomainRegistry": {
"address": "0xb1C47B61CDaeee3fA85Fe8B93FcE6311165E6291"
2018-07-27 21:56:58 +00:00
},
"ERC20Receiver": { "deploy": false }
2018-05-23 19:57:29 +00:00
}
},
"rinkeby":{
"contracts": {
"ENSRegistry": {
"address": "0xe7410170f87102DF0055eB195163A03B7F2Bff4A"
},
"PublicResolver": {
"address": "0x5d20cf83cb385e06d2f2a892f9322cd4933eacdc"
}
}
2018-04-23 04:58:58 +00:00
}
}