question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better document loadRemoteVersion

See original GitHub issue

I’m trying to download versions of solidity using loadRemoteVersion, however, when I run:

solc.loadRemoteVersion("0.8.7", (resp) => {})

If I do a console.log where that method is defined, I get:

https://binaries.soliditylang.org/bin/soljson-v0.8.10.js

Which is blank. However https://binaries.soliditylang.org/bin/soljson-latest.js isn’t

Am I doing something wrong?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Elyx0commented, Jan 21, 2022

Yes please, keep it open 🙏 that’s secret knowledge otherwise

2reactions
PatrickAlphaCcommented, Jan 21, 2022

Aha! I see! Thanks!

Could I leave this issue open for the moment till we get a docs PR in?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the solc.loadRemoteVersion function in solc - Snyk
To help you get started, we've selected a few solc.loadRemoteVersion examples, based on popular ways it is used in public projects.
Read more >
Error with "solc.loadRemoteVersion" in js - Stack Overflow
I am following a tutorial on setting up a pipeline to compile and deploy contracts and to do that I use a js...
Read more >
JavaScript solc loadRemoteVersion Examples
JavaScript loadRemoteVersion - 2 examples found. These are the top rated real world JavaScript examples of solc.loadRemoteVersion extracted from open source ...
Read more >
solc-js - npm
Please refer to the Solidity compiler documentation for instructions to ... loadRemoteVersion(version, callback) method is available.
Read more >
Verify Ethereum Contracts Using Web3.js and Solc
loadRemoteVersion (version, callback) method is available. ... all the different solidity files into a single file with multiple contracts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found