-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from eosnetworkfoundation/arhag/readme-solcjs-…
…version-to-main [0.1->main Update README to prescribed particular solcjs version
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ The `erc20` contracts (both within `solidity_contracts` and `antelope_contracts` | |
+ Used to compile the .sol files. | ||
+ We chose to use solcjs because it is more actively maintained than the solc available from the package manager. | ||
* First install node.js and npm. | ||
* Then install solcjs: `npm install -g solc` | ||
* Then install solcjs: `npm install -g [email protected]` | ||
+ Make sure to install version 0.8.21. | ||
* Confirm with `solcjs --version`. You should get `0.8.21+commit.d9974bed.Emscripten.clang` | ||
- Install `jq` used to compile solidity contracts | ||
+ `apt-get install jq` | ||
- Install `xxd` used to compile solidity contracts | ||
|
@@ -37,4 +39,4 @@ Run the command `make -j`. | |
|
||
The build steps above will build the test as well. | ||
|
||
After building, `cd` into the `build` directory and then simply run `ctest`. | ||
After building, `cd` into the `build` directory and then simply run `ctest`. |