101 Commits

Author SHA1 Message Date
Jonathan Rainville
ca450d1383 very wip working register 2018-08-22 19:03:55 -04:00
Jonathan Rainville
35acfea2be fix ens by using right addres depending on chain and also add isAvailable 2018-08-22 19:03:44 -04:00
VoR0220
73d98b4113 make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:03:03 -04:00
RJ Catalano
2fb62960e6 fix line 2018-08-22 19:03:03 -04:00
VoR0220
5ba7b10061 catch errors and handle gracefully in ENS 2018-08-22 19:03:03 -04:00
VoR0220
c4c77ee155 ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:50 -04:00
Iuri Matias
3041b52d43 put contracts inside the contracts field 2018-08-22 19:01:50 -04:00
VoR0220
d0b0456166 bare bones bulk registration example spec
Signed-off-by: VoR0220 <catalanor0220@gmail.com>

add registrars to system

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:50 -04:00
VoR0220
f738ece0f4 callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
d4fe3acffd more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
786260080b get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
bd5e9f0f71 get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
f6b8e70d66 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
a59f49243c temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
e3e9d2c962 starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
03f457f6e8 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
VoR0220
b8a9037224 add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
Anthony Laibe
cc7dfbcc60 Remove ENS warning 2018-08-21 16:11:07 -04:00
Jonathan Rainville
824a234d76 enable register in privatenet and patch weird errors 2018-08-21 16:11:07 -04:00
Jonathan Rainville
61d63e2f65 conflict in register 2018-08-21 16:11:07 -04:00
Jonathan Rainville
d4abed24eb linting 2018-08-21 16:11:07 -04:00
Jonathan Rainville
5f3dd25e06 disable preregister in privatenet and fix conditions 2018-08-21 16:11:07 -04:00
Jonathan Rainville
2fe1b05492 use embarkJS secureSend 2018-08-21 16:11:06 -04:00
Jonathan Rainville
c211430fbd use secureSend for deploy 2018-08-21 16:11:06 -04:00
Jonathan Rainville
d6b814dc3e add secureSend to get estimate gas and interval the transactions 2018-08-21 16:11:06 -04:00
Jonathan Rainville
5125cb06f7 hide contracts from dashboard when silent 2018-08-21 16:07:58 -04:00
Jonathan Rainville
2edd45ef55 set log function as trace if silent for contract deployer 2018-08-21 16:07:58 -04:00
Jonathan Rainville
5b5628d75c only set provider if provider is ENS 2018-08-21 16:07:58 -04:00
Jonathan Rainville
a1e2fc057d remove provider!==ens 2018-08-21 16:07:58 -04:00
Jonathan Rainville
b9363c54fa only set provider if provider is ENS 2018-08-21 16:05:59 -04:00
Jonathan Rainville
7eda40742d remove provider!==ens 2018-08-21 16:05:59 -04:00
Jonathan Rainville
73c2ee887d disable ens if it is not enabled 2018-08-21 16:05:59 -04:00
Jonathan Rainville
25ffd15984 fix stuff and move functions to utils 2018-08-21 16:05:59 -04:00
Jonathan Rainville
609c050576 change to command 2018-08-21 16:05:59 -04:00
Jonathan Rainville
42f46e427f remove duplicated register 2018-08-21 16:05:59 -04:00
Jonathan Rainville
0204eb6d46 swarm adjustements 2018-08-21 16:05:58 -04:00
Jonathan Rainville
ac91ffb967 fix using promise 2018-08-21 16:05:58 -04:00
Jonathan Rainville
212eb79754 fix small oopsies and make it work 2018-08-21 16:05:58 -04:00
Jonathan Rainville
dd510ff6a1 add associate event in ens (not yet tested) 2018-08-21 16:05:58 -04:00
Jonathan Rainville
672393a877 conflict in embark js 2018-08-21 16:05:58 -04:00
Anthony Laibe
d6849bf04f Add IPNS demo 2018-08-21 16:05:39 -04:00
Jonathan Rainville
40c363a310 only enabble register in dev 2018-08-21 15:53:39 -04:00
Jonathan Rainville
c3ea2ff160 only preregister in dev 2018-08-21 15:53:21 -04:00
Jonathan Rainville
bb9f058b15 small cleanups 2018-08-21 15:53:20 -04:00
Jonathan Rainville
24fe768e70 pre-dploy using the same function as register 2018-08-21 15:53:02 -04:00
Jonathan Rainville
eee2f66a22 if no register config, dont register anything 2018-08-21 15:52:50 -04:00
Jonathan Rainville
79c542162c put register function in another module that can be used by embark and embark js 2018-08-21 15:52:36 -04:00
Jonathan Rainville
4f2d984081 fix using only_owner 2018-08-21 15:52:24 -04:00
Jonathan Rainville
297128290a fix lookup and also enable lookup for new subdomains 2018-08-21 15:52:05 -04:00
Jonathan Rainville
8102a13f58 fix only_owner to work when called by FIFSRegistrar 2018-08-21 15:51:38 -04:00