简短的回答是下载最新版本的宠物店应用程序,但可以在以太坊堆栈交换中找到更多信息
https://ethereum.stackexchange.com/questions/61794/metamask-now-longer-interacts-with-petshop-dapp/61803#61803
我昨天试过它,它对我有用。只需转到页面,他们就升级了代码。 https://truffleframework.com/tutorials/pet-shop