722 Commits

Author SHA1 Message Date
Richard Ramos
db8ebd6a83 Base logic for invoking send functions and showin results 2018-09-30 10:29:32 -04:00
Richard Ramos
fd895caa39 Alert for error invoking functions 2018-09-30 10:29:32 -04:00
Richard Ramos
9e42028fdf Form generation for view/constant/pure functions 2018-09-30 10:29:32 -04:00
Richard Ramos
b8fe0dd258 Importing contract and bootstrap css 2018-09-30 10:29:32 -04:00
Richard Ramos
b685261bb9 JS generation + embark.json configuration update 2018-09-30 10:29:32 -04:00
Richard Ramos
b9be50fad0 Addid basic templating to start building UI from here 2018-09-30 10:29:32 -04:00
Richard Ramos
36bf352827 Adding base command logic for scaffolding generation 2018-09-30 10:28:57 -04:00
Iuri Matias
cfc63810cc remove engine param 2018-09-30 10:24:14 -04:00
Iuri Matias
23ced6ea04 remove console log 2018-09-30 10:17:20 -04:00
Anthony Laibe
8830cd9b3b Adding ipns 2018-09-30 10:13:26 -04:00
Anthony Laibe
9e4b003297 Add ipns resolve 2018-09-30 10:13:25 -04:00
Iuri Matias
3388b2ac46 move blockchain connection code to its own module 2018-09-30 10:10:29 -04:00
Iuri Matias
935d7b76c7 move deployment to module 2018-09-30 10:09:44 -04:00
Iuri Matias
9b02e7bbce move contract deployer to deploy manager 2018-09-30 10:09:44 -04:00
Iuri Matias
bce120c459 fix library manager init 2018-09-30 10:09:44 -04:00
Iuri Matias
31f4721d39 add missing utils 2018-09-30 10:09:44 -04:00
Iuri Matias
03070e7f66 cleanup 2018-09-30 10:08:04 -04:00
Iuri Matias
715fb54001 remove debug 2018-09-30 10:01:41 -04:00
Iuri Matias
0b44ca3de5 first stab at refactor blockchain launcher 2018-09-30 10:01:41 -04:00
Michael Bradley, Jr
51fd9cf5ff blockchain -- defaultHost, dockerHostSwap 2018-09-30 10:01:41 -04:00
Jonathan Rainville
b9d0bb6a58 only enabble register in dev 2018-09-30 09:55:19 -04:00
Jonathan Rainville
6728c3c7dc small cleanups 2018-09-30 09:55:19 -04:00
Jonathan Rainville
2f8dac7997 pre-dploy using the same function as register 2018-09-30 09:55:19 -04:00
Jonathan Rainville
530e44093c if no register config, dont register anything 2018-09-30 09:55:19 -04:00
Jonathan Rainville
d84d5cb53b put register function in another module that can be used by embark and embark js 2018-09-30 09:54:28 -04:00
Jonathan Rainville
f319ab7e35 fix using only_owner 2018-09-30 09:54:28 -04:00
Jonathan Rainville
68570b126f fix lookup and also enable lookup for new subdomains 2018-09-30 09:54:28 -04:00
Jonathan Rainville
793597acbc fix only_owner to work when called by FIFSRegistrar 2018-09-30 09:54:28 -04:00
Jonathan Rainville
d04cf4c2ce add function to register the domains from config 2018-09-30 09:54:28 -04:00
Jonathan Rainville
db2cb33411 conflict in embark js 2018-09-30 09:54:28 -04:00
Jonathan Rainville
d5580dc7ec conflict in lock 2018-09-30 09:54:28 -04:00
Jonathan Rainville
188d6afa19 add resolver contract 2018-09-30 09:54:28 -04:00
Jonathan Rainville
d0e14096c3 very wip working register 2018-09-30 09:54:28 -04:00
Anthony Laibe
7b84989af7 Remove code dependencies to underscore 2018-09-30 09:45:47 -04:00
Jonathan Rainville
3b9e605d62 fix the indexOf instead by simulating what solc does 2018-09-30 09:36:53 -04:00
Jonathan Rainville
08dcb38c8a fix duplicate dependencies and warn correctly for length 2018-09-30 09:36:53 -04:00
Jonathan Rainville
4980d5bb6d fix ens by using right addres depending on chain and also add isAvailable 2018-09-30 09:36:53 -04:00
Iuri Matias
7cb740e922 fix plugin call 2018-09-30 09:29:47 -04:00
Iuri Matias
e2954e8729 re-add register upload cmd api; refactor storage module initialization 2018-09-30 09:29:47 -04:00
Iuri Matias
604bf7abe2 fix logger 2018-09-30 09:29:47 -04:00
Iuri Matias
2ae51b4f82 check ipfs connection before attempting to connect 2018-09-30 09:29:47 -04:00
Jonathan Rainville
8da1fca0bc remove useless change 2018-09-30 09:26:03 -04:00
VoR0220
42a0fd2ca0 make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-09-30 09:20:12 -04:00
RJ Catalano
05069ffbb3 fix line 2018-09-30 09:20:12 -04:00
VoR0220
0b2ee0c2b5 catch errors and handle gracefully in ENS 2018-09-30 09:20:12 -04:00
emizzle
3d5ce687c1 Updated online/offline event checks so they are run during initialisation.
Changed the online event to `once` and set it to be bound every time the node goes offline.

The above changes handle the case where:
1) `embark run` runs and starts geth.
2) geth is killed manually
3) `embark blockchain` is run in separate process to restart geth
4) the `embark run` process detects this change and restarts the web3 provider and recompiles/deploys/builds

Every time `embark blochain` is restarted, an error is appended and all are emitted from the `eth-block-tracker`. This is a bug but can't figure out where it originates. The downside is that if, for example, `embark blockchain` is restarted 4 times, there will be 4 errors emitted from the `eth-block-tracker`. Because of this, errors emitted from `eth-block-tracker` have been reduced to trace to avoid clogging the logs.
2018-09-30 09:20:12 -04:00
emizzle
5022012a6c Handle geth process exit via crash/kill and also via killing embark blockchain
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-09-30 09:20:12 -04:00
VoR0220
3efc02d97a ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-09-30 09:20:12 -04:00
Iuri Matias
722e1a2011 put contracts inside the contracts field 2018-09-30 09:20:12 -04:00
VoR0220
1adb91ef65 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-09-30 09:20:12 -04:00