How to integrate smart contract via web3 and infura provider
问题 I have created a project with infura provider const web3 = new Web3(new Web3.providers.HttpProvider('https://ropsten.infura.io/v3/07630919731949aa87a45b96c98a834d')) And I try to call a smart-contract's method { to: addressTo, from: addressFrom, data: { name: 'addWhitelisted', inputs: [{ name: 'account', address: '0x57e755461FF79176fC8f14B085A8CBb4AE1fC2f6' }] } } Then I need to sign a transaction and call web3.eth.sendSignedTransaction ? But when i sign i get an error. Pls help. What I'm