106 Commits

Author SHA1 Message Date
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
VoR0220
cbc0b1b9fd add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:01:36 -04:00
Iuri Matias
5a429d0574 make linter happy 2018-06-21 21:07:27 -04:00
Iuri Matias
0ba9990073 use EmbarkJS to initialize ens contracts and set ens contract only when embark is ready 2018-06-21 21:03:23 -04:00
Jonathan Rainville
6991215b40 catch error and warn if no provider 2018-06-15 10:04:19 -04:00
Iuri Matias
b43a766de7 cleanup module call 2018-05-30 13:38:08 -04:00
Iuri Matias
033613d7f6 lint is king 2018-05-28 12:29:47 -04:00
Iuri Matias
ee460e3309 add missing promise returns 2018-05-28 11:42:01 -04:00
Iuri Matias
32a9b25fe3 fix reference to ens object 2018-05-28 11:21:52 -04:00
Iuri Matias
e988bd6b4a use import instead of require 2018-05-28 11:10:20 -04:00
VoR0220
8ace5653cd fix some linting issues and add a few forgotten lines to the config function
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-25 12:52:57 -05:00
VoR0220
9cb10c7ce7 bring free wheeling vars into the ensEmbark namespace
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-25 12:25:28 -05:00
VoR0220
91d3ccbc70 cringy ending of the line break
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-24 07:57:14 -05:00
VoR0220
16e7fe9fde added some logic for error handling in lookup and fixed some linting issues
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-23 23:34:19 -05:00
VoR0220
8b07039907 should work to create the reverse lookup
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-23 16:53:39 -05:00
VoR0220
fe84cc8de4 last major issue
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-23 13:05:42 -05:00
VoR0220
793a618c12 more fixes
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-23 13:00:34 -05:00