You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-4Lines changed: 45 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,11 @@ The low-level API is as follows:
204
204
205
205
For examples how to use them, please refer to the README of the above mentioned solc-js releases.
206
206
207
+
**Note**: These low-level functions remain available for compatibility reasons.
208
+
However, they were superseded by the `compile()` function and are no longer required.
209
+
Starting from version `0.5.0+commit.1d4f565a`, the functions `compileSingle`, `compileMulti`, and `compileCallback` are always `null` when using newer solc binary versions.
210
+
It is recommended to use the latest release of solc-js, but it should also handle all the older solc binaries down to `0.1.x`.
When using libraries, the resulting bytecode will contain placeholders for the real addresses of the referenced libraries. These have to be updated, via a process called linking, before deploying the contract.
@@ -308,13 +323,39 @@ Add the version of `solc` you want to use into `index.html`:
308
323
```html
309
324
<script
310
325
type="text/javascript"
311
-
src="https://binaries.soliditylang.org/bin/{{ SOLC VERSION }}.js"
0 commit comments