安装Truffle和Ganache

安装Truffle

NodeJs安装

https://nodejs.org/en/download/

配置npm源为国内源(可选,可加快下载速度):

sudo npm config set registry http://registry.npm.taobao.org 

安装Truffle

sudo npm install -g truffle

安装以太坊客户端

部署到私链上,Truffle官方推荐使用以下两种客户端:
● Ganache
● truffle develop

https://www.trufflesuite.com/ganache下载或github编译
https://github.com/trufflesuite/ganache

猜你喜欢

转载自blog.csdn.net/weixin_41845533/article/details/91899441
今日推荐