# 以太坊智能合约开发001

By [养生](https://paragraph.com/@0xebf967fcfbe6689e3ae9c239a9639319a580ba23) · 2022-02-15

---

1、使用Truffle智能合约开发框架来开发以太坊智能合约

2、安装之前需要安装Node.js，npm install -g truffle

3、开发智能合约还需要在开发环境跑一个以太坊客户端以便调试开发、开发环境建议使用[EtherumJS TestRPC](https://github.com/ethereumjs/testrpc) npm install -g ganache-cli

4、用编辑器新建一个目录，cmd在当前目录运行 truffle init，初始化开发工程

---

*Originally published on [养生](https://paragraph.com/@0xebf967fcfbe6689e3ae9c239a9639319a580ba23/001)*
