Skip to content

Instantly share code, notes, and snippets.

@MaHu6
Last active March 13, 2018 03:43
Show Gist options
  • Select an option

  • Save MaHu6/267f39f4b426c6bf2bb8f274e7355bc5 to your computer and use it in GitHub Desktop.

Select an option

Save MaHu6/267f39f4b426c6bf2bb8f274e7355bc5 to your computer and use it in GitHub Desktop.
部署步骤

部署步骤

  • clone 项目后在项目根目录运行 dapp test 以生成合约abi和code
  • 修改 ~/.sethrc 文件中 export ETH_KEYSTORE=要使用账户的key文件夹路径
  • 账户中要有ETH余额,部署合约和操作合约会消耗少量ETH
  • 在 bin/deploy 文件中可修改合约的初始参数
  • 运行 make deploy 在提示输入passphrase时键入账户密码即可
  • 完成后将显示Token合约地址和Sale合约地址
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment