Call the write function of the contract

Hi,
I have a contract which has a ‘mint’ function. This mint function can be only called by the owner.

Is it possible to call this function using relay_sendTransaction request?

Welcome, @Michael_Bell! Please check the ERC20Mintable mint API

Hi Serena,
Thanks for your reply.

I have a function that can be only called by the owner in my smart contract.
When I tried to call this function using relay_sendTransaction, it sends the transaction from an anonymous address.
https://ropsten.etherscan.io/address/0xcA28C66D9054d00d539F1fdD3fDeEBc99fD658f7

When I use sendTransaction, it is working.

@Michael_Bell I believe this is a limitation of ITX right now, see https://infura.io/docs/transactions#section/Limitations
You might want to check if using meta-transactions could be a solution for you.

Thanks, Traian,

Yeah, it is the limitation of ITX.
I tried to use meta transaction, but not sure how to use it.

I don’t have much experience with it either but maybe this would help: https://soliditydeveloper.com/meta-transactions