-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed solc / Ensure Solidity compiler availability #565
Comments
This is abit strange to me, as I was sure contract deployment was via sendTransaction |
Since solc might be a challenge to embed and execute (will rely on @farazdagi advise on here) https://www.npmjs.com/package/solc |
Some updates on this, the current static library cgo wrapper for solc is about 17mb, if we're supporting 3 architectures thats a ~50mb additional size, now we have our own web3 provider in webview, it makes alot more sense to use the npm emcscripten version of solc, as it is only 7mb and would work across all 3 architectures. |
There is the next error when i'm trying to run
|
That's the part of the code that causes error, as i undertnad var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i; |
|
New emscripten solc in |
We can possibly close this because ethereum/EIPs/issues/209 |
Having solc as a command line option in geth (accessed through a web3 call) is very rarely used and I believe the geth team has deprecated it (see Jarrad's comment above). At Oaken we no longer need this feature. Because it was opened at our request feel free to close it. Thanks! |
|
Project Oaken's DApp fails on Contract Deployment on their DApp here:
http://50.112.52.169/pages/index.html
The method
createMeter
that fails can be found in http://50.112.52.169/ethjs/ethFunctions.jsThey believe it is because of the account being locked, ideally we should intercept this like sendTransaction and make user aware.
The text was updated successfully, but these errors were encountered: