1. Environment Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
We recommend you install the latest Node LTS version for the
caver-js
compatibility.
Download Node.js (npm) from the official site:
Install the package by clicking the download file.
Type $ node --version
in your terminal to verify node
has been successfully installed.
⚠ At the time of writing, the latest LTS version that is compatible with caver-js
is 10.16.0. If you have a higher Node version, caver-js
cannot be installed. Reinstall the Node or use to set up a stable environment.
Truffle is a great tool for compiling and deploying contract files.
Type $ sudo npm install -g truffle
in your terminal to install the truffle.
Type $ truffle version
in your terminal to verify truffle
has been installed successfully.
⚠ If the version is lower than 5, install the truffle version 5.
$ sudo npm install -g truffle@5