返回值arent有效,用完了吗

时间:2019-08-21 18:39:06

标签: blockchain geth

在执行以下迁移命令(truffle migration --reset --network rinkeby)之后,已部署合同。但是,当我输入合同地址时,在etherscan网站上看不到它。我应该看看吗?然后我分别编写了这些命令行。

  truffle console
  Election.deployed().then(function(instance) { app = instance })
  app.address

这有效,但是在我键入此命令后它将引发错误。

  app.candidate()

你能帮我吗?

0 个答案:

没有答案