Truffle 初始化项目 truffle init

初始化项目 truffle init

truffle init会帮我们创建一个空工程

E:\workspace\KnowledgeManagement\BlockChain\Solidity\study>tree truffle /F
文件夹 PATH 列表
卷序列号为 65F3-3762
E:\WORKSPACE\KNOWLEDGEMANAGEMENT\BLOCKCHAIN\SOLIDITY\STUDY\TRUFFLE
│  truffle-config.js            //Truffle的配置文件
│
├─build
│  └─contracts                  //编译目录
│          Migrations.json
│
├─contracts                     //Truffle默认的合约文件存放地址
│      Migrations.sol
│
├─migrations                    // 存放发布脚本文件
│      1_initial_migration.js
│
└─test                          //用来测试应用和合约的测试文件
        .gitkeep


E:\workspace\KnowledgeManagement\BlockChain\Solidity\study>

猜你喜欢

转载自blog.csdn.net/jc0803kevin/article/details/109091698