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: contracts/README.md
+56-4Lines changed: 56 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,24 +12,76 @@ The goal of this guide is to lay out best practices regarding writing, testing a
12
12
13
13
## Prerequisites
14
14
15
-
### NodeJS and NPM
15
+
### Go
16
16
17
-
First, install the LTS (long-term support) version of [nodejs](https://nodejs.org/en). This is `18.16.0` at the time of writing. NodeJS bundles `npm`.
17
+
This project requires Go 1.21 or later. Install from [golang.org](https://golang.org/dl/).
18
+
19
+
### Solidity Compiler (solc)
20
+
21
+
The Solidity compiler version 0.8.30 is required to compile contracts. In CI, this is installed automatically via the [setup-solc](https://github.com/ARR4N/setup-solc) GitHub Action.
22
+
23
+
For local development, install solc 0.8.30:
24
+
-**macOS**: `brew install solidity`
25
+
-**Linux**: Follow instructions at [solidity docs](https://docs.soliditylang.org/en/latest/installing-solidity.html)
26
+
-**CI**: Automatically installed via GitHub Actions
27
+
28
+
After installation, create a version-specific alias or symlink:
29
+
```bash
30
+
# Option 1: Symlink (works in all contexts including go generate)
31
+
sudo ln -sf $(which solc) /usr/local/bin/solc-v0.8.30 # Linux
0 commit comments