Categories
Cryptocurrency Ethereum Mastering Development

Is there any way to avoid calling these 2 separate transactions?

We need to call 2 methods of 2 different contracts in Ethereum, and this should be batched in one transaction, either both of them be confirmed or both of them be rejected. Exactly We want user to pay some ERC20 tokens to a method of a contract X, so first he should call .appove() method […]

Categories
Cryptocurrency Ethereum Mastering Development

Is there any way to avoid calling these 2 separate transactions?

We need to call 2 methods of 2 different contracts in Ethereum, and this should be batched in one transaction, either both of them be confirmed or both of them be rejected. Exactly We want user to pay some ERC20 tokens to a method of a contract X, so first he should call .appove() method […]