使用Node.js部署智能合約(Smart Contract)
yaohsin
663

Sheng Fang Wang

應該是版本問題,web3 1.0之後就沒有isConnected()方法,相關API可以參考這邊 http://web3js.readthedocs.io/en/1.0/index.html

舊版的API參考這邊
https://github.com/ethereum/wiki/wiki/JavaScript-API

Like what you read? Give yaohsin a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.