import Web3 from 'web3'; const web3 = new Web3(Web3.givenProvider || "http://localhost:8545"); web3.eth.getAccounts().then(console.log);.
確定! 回上一頁