augmint-web
augmint-web copied to clipboard
"care to help" should check if target address is a contract
We should only worry about zero ETH balance at recipient if it's a plain address.
const code = web3.eth.getCode(address);
const isPlainAddress = code === '0x';