422 Commits

Author SHA1 Message Date
Richard Ramos
4fbbdf9cf6 Fixed plugin loading logic 2018-08-22 16:30:46 -04:00
Richard Ramos
c4031d8814 Added payable functionality 2018-08-22 16:30:46 -04:00
Richard Ramos
7dd2d1e6ea Disabling button while loading 2018-08-22 16:30:46 -04:00
Richard Ramos
6a0a9602b7 Base logic for invoking send functions and showin results 2018-08-22 16:30:46 -04:00
Richard Ramos
2e17ecfbc6 Alert for error invoking functions 2018-08-22 16:30:46 -04:00
Richard Ramos
3b969d0171 Handling boolean parameters 2018-08-22 16:30:46 -04:00
Richard Ramos
827c3e901f Form generation for view/constant/pure functions 2018-08-22 16:30:46 -04:00
Richard Ramos
7378e7c796 Importing contract and bootstrap css 2018-08-22 16:30:46 -04:00
Richard Ramos
23a9541896 JS generation + embark.json configuration update 2018-08-22 16:30:46 -04:00
Richard Ramos
ff19ae0917 Addid basic templating to start building UI from here 2018-08-22 16:30:46 -04:00
Richard Ramos
adf7340ab8 Adding base command logic for scaffolding generation 2018-08-22 16:30:46 -04:00
Anthony Laibe
f782af89bf Add IPNS demo 2018-08-22 16:30:23 -04:00
Iuri Matias
3be7782237 move blockchain connection code to its own module 2018-08-22 16:29:36 -04:00
Iuri Matias
760fdb0190 refactor blockchain check 2018-08-22 16:28:45 -04:00
Iuri Matias
5ea040856f cleanup 2018-08-22 16:28:45 -04:00
Iuri Matias
cdf5c30c43 first stab at refactor blockchain launcher 2018-08-21 17:42:24 -04:00
Michael Bradley, Jr
6bd72e709d blockchain -- defaultHost, dockerHostSwap 2018-08-21 17:40:28 -04:00
Jonathan Rainville
e4e71146c3 only enabble register in dev 2018-08-21 17:40:28 -04:00
Jonathan Rainville
b31c19de83 small cleanups 2018-08-21 17:40:28 -04:00
Jonathan Rainville
3b3c0c3adb pre-dploy using the same function as register 2018-08-21 17:40:11 -04:00
Jonathan Rainville
32f89e45c8 if no register config, dont register anything 2018-08-21 17:39:59 -04:00
Jonathan Rainville
5799dcfceb add resolver contract 2018-08-21 17:36:06 -04:00
Anthony Laibe
df19b3a8fb Remove code dependencies to underscore 2018-08-21 17:30:08 -04:00
Jonathan Rainville
715896089a fix the indexOf instead by simulating what solc does 2018-08-21 17:23:24 -04:00
Jonathan Rainville
202bb7a768 fix duplicate dependencies and warn correctly for length 2018-08-21 17:23:24 -04:00
Jonathan Rainville
15198ccf2a remove useless change 2018-08-21 17:16:41 -04:00
Jonathan Rainville
93f568b6fc wip fixes 2018-08-21 17:00:40 -04:00
emizzle
f108f070b5 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-21 16:40:54 -04:00
emizzle
f36dfd0b1c 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-08-21 16:34:16 -04:00
Iuri Matias
8b97b4efb1 move back dev_funds file 2018-08-21 16:17:02 -04:00
Iuri Matias
792e7dff5b lint is king 2018-08-21 16:12:57 -04:00
Anthony Laibe
cc7dfbcc60 Remove ENS warning 2018-08-21 16:11:07 -04:00
Iuri Matias
6ae697f36a add solc options 2018-08-21 16:11:07 -04:00
hodlbank
cc39931852 [m] Simplified networkId check for simulator. 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
hodlbank
b9cd0cf74e [m] Setting up network id for simulator from blockchainConfig or options. 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
083c936351 create separate function for secure send 2018-08-21 16:10:22 -04:00
Anthony Laibe
a7b0cea09b Console via IPC do not run on deploy 2018-08-21 16:10:22 -04:00
Iuri Matias
f90132af1e remove line causing crash 2018-08-21 16:10:22 -04:00
Jonathan Rainville
8f3a42b926 catch $accounts in contract config 2018-08-21 16:09:49 -04:00
Jonathan Rainville
0b171401c6 log vyper errors 2018-08-21 16:09:49 -04:00
Anthony Laibe
926ed7c258 Fix transaction logger 2018-08-21 16:09:49 -04:00
Michael Bradley, Jr
4821997866 resolve ganache-cli bin using pkg-up 2018-08-21 16:09:48 -04:00
Iuri Matias
53cd27b87d move subscriptions listener to blockchain connector module 2018-08-21 16:09:48 -04:00