Skip to content
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

Use local solc #23

Closed
SCBuergel opened this issue Apr 5, 2017 · 7 comments
Closed

Use local solc #23

SCBuergel opened this issue Apr 5, 2017 · 7 comments

Comments

@SCBuergel
Copy link

I have installed solc 0.4.10. However, it seems that the extension ships with some default version that currently is at 0.4.9 (pragma solidity ^0.4.10; gives an error). I can change this version to a remote compiler version via the settings. This change requires me to be online. For train-coders like myself it would be very useful to simply use the locally installed solc in whatever version that is.

@juanfranblanco
Copy link
Owner

@SCBuergel Updated now

@SCBuergel
Copy link
Author

@juanfranblanco this issue is not (just) about updating the default compiler from 0.4.9 to 0.4.10. It is about using the local solc instead of the default provided one. Is that on the roadmap? Would be fantastic!

@juanfranblanco
Copy link
Owner

@SCBuergel yes it might be possible "downloading" solcjs from local storage.

@juanfranblanco
Copy link
Owner

juanfranblanco commented Apr 11, 2017

Note: Check using require-from-string and the wrapper setupMethods()

@SCBuergel
Copy link
Author

@juanfranblanco if you had any more instructions on how to "download" solcjs from local storage that would be helpful. I see that the current version is still on 0.4.10. I just tried simply installing npm install -g solc which did not do the trick, the extension seems to always use its own.

@juanfranblanco
Copy link
Owner

@SCBuergel check the latest, now you can use any of the sol-bin files

@juanfranblanco
Copy link
Owner

@SCBuergel I will be adding a capability (working on it) to install in the project solc from npm and use that as the first option.

1st local
2nd check settings for local bin file (soljs bin)
3rd check settings for remote version ('latest')
4th finally use the version within vs code

juanfranblanco pushed a commit that referenced this issue Mar 18, 2019
Add more information in mardown report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants