Commit Graph

72 Commits

Author SHA1 Message Date
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
Jonathan Rainville 67da4e6a84 add function to register the domains from config 2018-08-21 15:51:38 -04:00
Jonathan Rainville 1b55af3cb7 conflict in embark js 2018-08-21 15:51:38 -04:00
Jonathan Rainville 2d0f34f215 add resolver contract 2018-08-21 15:48:33 -04:00
Jonathan Rainville 7d52c29f96 very wip working register 2018-08-21 15:47:56 -04:00
Jonathan Rainville 5498046d3f fix ens by using right addres depending on chain and also add isAvailable 2018-08-21 15:33:43 -04:00
Jonathan Rainville 054215ce21 wip changes 2018-08-21 15:31:55 -04:00
VoR0220 6477b688c1 fixup
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:11:09 -04:00
VoR0220 06953d99c4 small correction
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
VoR0220 d33c948dcf make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
VoR0220 0d2bedff84 get rid of else
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
RJ Catalano aa23da2b6a fix line 2018-08-21 15:10:28 -04:00
VoR0220 a05fff3cfe catch errors and handle gracefully in ENS 2018-08-21 15:10:27 -04:00
VoR0220 8c1bb07000 ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
Iuri Matias 78a9b31251 put contracts inside the contracts field 2018-08-21 15:03:34 -04:00
VoR0220 056b5a0ab9 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-21 15:03:34 -04:00
VoR0220 c3d2ef07e8 missing semicolon
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 cca71a1c66 back to promisification
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 88133b01a9 callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 acc672944e more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 6d62499716 get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 78d892c7ca get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 754a47fad8 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 5397a66d61 finish it all up
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 bb797edbe1 finish the deployment stage
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 734dc85825 add in new api for ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 e80ba7873a temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 300b2326ab starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 0308a65301 lint is lyfe
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:07 -04:00
VoR0220 dfd496ed94 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:07 -04:00