Commit Graph

72 Commits

Author SHA1 Message Date
Michael Bradley, Jr 25b5b9a801 window -> global; reorg statements 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr dcf9b4a645 make Web3 (note capital 'w') globally accessible 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 0c4438941d import EmbarkJS from npm pkg, re-export, make it globally accessible 2018-08-21 15:47:05 -04:00
Richard Ramos 38817ddab2 Add environment to EmbarkJS 2018-08-21 15:46:14 -04:00
Iuri Matias 5d8f236df3 remove custom web3 js; use packaged one instead 2018-08-21 15:35:55 -04:00
emizzle 7bd1598b3c Fixed __mainContext error
There was a condition checking if blockchain config was disabled and if so, do not generate any provider code, which is where the `__mainContext` was being defined. This was changed to generate the `__mainContext` code first, then if blockchain is disabled, return the already generated code.
2018-08-21 15:30:11 -04:00
Iuri Matias 6ee387653d fix metamask check for non dev environment 2018-06-29 18:14:21 -04:00
Iuri Matias db3356cec0 detect if there is a connection error and pass it down to the ready function 2018-06-29 18:14:08 -04:00
emizzle ba66d763fe Add support for infura network hosts with api key.
Fix bug with non-development code generation.
2018-06-19 15:14:37 +10:00
Iuri Matias c8b52a1746 fix errors handling so it doesn't attempt to continue building when there are fatal errors compiling contracts 2018-06-08 07:07:27 -04:00
Jonathan Rainville 876a9a3103 fix pipeline not building by removing the `once`s 2018-06-01 15:48:10 -04:00
Iuri Matias f3e7d03204 remove orbit 2018-06-01 10:15:41 -04:00
Iuri Matias 9b368bc1b3 remove unneeded assignment 2018-05-30 13:38:08 -04:00
Iuri Matias 70f38d863e fix code generator event 2018-05-30 13:35:36 -04:00
Iuri Matias 8cc86e0b0f remove legacy events 2018-05-30 13:35:36 -04:00
Iuri Matias 3f9c55131b use requests instead of contractsManager directly 2018-05-30 13:35:36 -04:00
Iuri Matias 5f64376c84 refactor generateContractsJson 2018-05-30 13:35:36 -04:00
Iuri Matias fc92b69211 use self 2018-05-30 13:35:03 -04:00
Iuri Matias 1eee68e901 fix typo; default environment to development 2018-05-28 13:53:10 -04:00
VoR0220 f34bd5df4f env check
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-28 12:28:38 -05:00
VoR0220 90b42bccb2 template correction to check for development environment and whether metamask is engaged and log that it is
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-28 12:27:55 -05:00
Iuri Matias ef3bde1053 add missing code init 2018-05-28 11:42:22 -04:00
Jonathan Rainville 592b4ed4fd conflict in code_generator 2018-05-23 11:16:13 -04:00
emizzle ab738c05f9 Moved placeholder page html to code generator and ejs template. 2018-05-23 09:33:05 +10:00
Iuri Matias 44d6cc32df remove old remove listener; fix callback 2018-05-16 13:56:23 -04:00
Iuri Matias ce781ab96e remove previous listener (for now) 2018-05-16 13:11:44 -04:00
Iuri Matias b7fc3f9054 refactor write contracts 2018-05-16 12:48:17 -04:00
Iuri Matias da84cfa769 add missing require 2018-05-16 10:03:05 -04:00
Iuri Matias 6544c2a999 move contracts generation from pipeline to code generator module 2018-05-16 10:00:56 -04:00
Iuri Matias 7271b00cf4 make file changes in the pipelins 2018-05-15 18:21:00 -04:00
Iuri Matias 1f6e386d9b build web3js generation from pipeline to code_generator 2018-05-15 18:05:44 -04:00
Jonathan Rainville e4566f9f81 add more registers but generation one fails in run 2018-04-26 09:40:41 -04:00
Jonathan Rainville f37b09a371 fix build process on windows 2018-04-09 16:14:07 -04:00
Iuri Matias 5a91b2d44a remove unneeded require 2018-04-02 15:32:09 -04:00
Iuri Matias 2ec7589f90 refactor to use dappPath 2018-04-02 15:30:16 -04:00
Iuri Matias e0db5ed61a refactor to use dappPath 2018-04-02 15:06:56 -04:00
Iuri Matias d5a21d579c fallback to shelljs if pwd is empty (windows issue) 2018-03-26 15:08:07 -04:00
Iuri Matias ea8f3a2232 improve gas handling and errors 2018-01-13 11:38:10 -05:00
Iuri Matias 59642b4160 fix web3 versioning 2018-01-10 10:43:25 -05:00
Iuri Matias 947373eafc remove unnecessary if 2017-12-29 18:35:47 -05:00
Iuri Matias b29e865cd6 extract to method duplicated code 2017-12-29 16:29:32 -05:00
Iuri Matias d1a207941d take into account available providers list 2017-12-29 16:11:45 -05:00
Iuri Matias 8956992950 extract communication provider 2017-12-28 18:10:43 -05:00
Iuri Matias 9ca337eeb1 extract storage provider 2017-12-28 17:42:25 -05:00
Iuri Matias 310712567f move whisper to a module 2017-12-28 12:40:11 -05:00
Iuri Matias e833ebd019 move ipfs embarkjs code to module 2017-12-28 12:16:50 -05:00
Iuri Matias 24c34fcbe3 refactor setProvider 2017-12-27 21:04:12 -05:00
Iuri Matias a568835ceb separate components; extract ipfs; add register method 2017-12-27 19:10:05 -05:00
Iuri Matias d005d3f668 fix on deploy 2017-12-20 11:32:11 -05:00
Iuri Matias c4e13f9ea8 minor refactor on setprovider code 2017-12-15 18:02:50 -05:00