原创 truffle部署智能合約報錯:Could not connect to your Ethereum client with the following parameters

在使用Truffle部署合約的時候,突然發生了這樣一個錯誤: 其實原因很簡單,就是你沒有先打開你的以太坊客戶端,我用的是ganache,但是我又發現,ganache打開之後,還是這樣,這是爲什麼? 就是因爲你的ganache監聽的端口

原创 TypeError: Data location must be "memory" for return parameter in function, but none was given.

在用truffle編譯智能合約時,報錯 TypeError: Data location must be "memory" for return parameter in function, but none was given.這是由於