LoginSignup
0
0

More than 5 years have passed since last update.

CentOSにTruffleとOpenZeppelinの環境構築

Posted at

スマートコントラクトの環境構築は、だいたいUbuntuベースですが
CentOSで環境を構築する際のメモ
既にnodejsがインストールされている場合はアンインストールしておく。

環境

CentOS release 6.9

nodejs 9をインストール

curl --silent --location https://rpm.nodesource.com/setup_9.x | bash -
yum -u install nodejs

Truffleをインストール

npm install -g truffle
mkdir test_truffle
cd test_truffle/
truffle init

OpenZeppelinをインストール

npm init
npm install zeppelin-solidity

/node_modules/zeppelin-solidity/contracts ディレクトリが生成されていれば成功。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0