darwin
x86_64
MacOS 12.0.0+
arm64
linux
glibc 2.28+, glibcxx 3.4.25+
not supported
Upgrade from npm:
npm
npm install -g @rei-network/cli
Upgrade from source code:
git clone https://github.com/REI-Network/rei && cd rei git checkout 3.0.2 npm install cd packages/cli npm link
Command line:
Run
Check whether the printed version is3.0.2
3.0.2
RPC:
NOTE: Please make sure the node turns on rpc module, and turns on rei API
rpc
rei
Run (please replace REI_RPC_PORT)
REI_RPC_PORT
Last updated 2 years ago
rei --version
curl -X POST -H 'Content-Type: application/json' --data '{"id":0,"jsonrpc":"2.0","method":"rei_getVersion","params":[]}' http://127.0.0.1:${REI_RPC_PORT}