联系我们| 设为首页| 加入收藏
热线电话:  400-150-1169
 
物流行业
物流快运
您的位置: 首页 > 新闻详情
教程 | 以太坊智能合约编程之菜鸟教程

作者:万利娱乐-澳门万利-澳门万利官网      发布时间:2019-08-29 19:12:47

  您好,拜读文章后学到了很多。但是我安装的truffle 怎么完全没有deploy 命令?truffle init 和truffle serve 都可以执行,是最新版本修改了部署合约的方法了么?

  Truffle v2.0.8 - a development framework for Ethereum

  Usage: truffle [command] [options]

  Commands:

  build => Build development version of app

  compile=> Compile contracts

  console=> Run a console with deployed contracts instantiated and available (REPL)

  create:contract=> Create a basic contract

  create:migration=> Create a new migration marked with the current timestamp

  create:test=> Create a basic test

  exec => Execute a JS file within truffle environment

  init => Initialize new Ethereum project, including example contracts and tests

  list => List all available tasks

  migrate=> Run migrations

  networks=> Show addresses for deployed contracts on each network

  serve => Serve app on localhost and rebuild changes as needed

  test => Run tests

  version=> Show version number and exit

  watch => Watch filesystem for changes and rebuild the project automatically

万利娱乐-澳门万利-澳门万利官网