morning all. I'm new to development. trying to interact with contract using JS.
after deploying the contract (contrato) I'm trying to transfer some from the owner to another wallet. See below the piece of code:
» await contrato.approve('0x23c63608dDbB5EE00A0628196020CA353aE8351d', 100)
» await contrato.transferFrom('0x23c63608dDbB5EE00A0628196020CA353aE8351d', '0xe0788Ce42F19ae49A7817b865Ac8eed74D2D343A', 100);
I'm receiving the error below:
« The send transactions "from" field must be defined! »
Can someone help me out?

Jul 27, 2021, 12:01 PM

© 2024 Draquery.com All rights reserved.