laalaguer / thor-requests.py

Easy to use Python SDK that talks to VeChain Thor blockchain like a pro. Covers most topic on contract interaction, vet transfer and transaction debug.
GNU General Public License v3.0
18 stars 5 forks source link

Use transact() for Solidity functions which receive structs #14

Open JoaoMorais96 opened 1 year ago

JoaoMorais96 commented 1 year ago

Fisrt of all, thank you for this library as it has helped a lot with developing in the Vechain space!

That being said, I'm trying to use the connector.transact() for a solidity function which receives a struct as input with some addresses and uints, but get the error:

eth_abi.exceptions.NoEntriesFound: No matching entries for 'tuple' in encoder registry

Would be cool to add some support to it if possible.

laalaguer commented 1 year ago

Thanks for your interest. Tuple structure will be supported in V2.