简体   繁体   中英

Truffle contract deployment stuck

Whenever i use truffle to deploy, my console outputs an empty line and gets stuck

Here is my config : 在此处输入图片说明

When i run truffle migrate --network ropsten the console stops and it doesn't output anything.

Any help would be appreciated

UPDATE

Now im getting this error :

Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: getaddrinfo ENOTFOUND ropsten.infura.io

So as it turns out, Infura do not have functionality to unlock an account using the private key. I ended up moving my code back to remix.Although you cant work and develop locally with remix, it provides a great interface for deploying smart contracts from your meta mask wallet. No migration scripts required!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM