Contract
Setup the contract.
1. Deploy Contract
First and foremost, we must deploy a contract with the source code of which we want to enhance our EOA with. In our case, it's a going to be a very simple batch execution contract.
For simplicity, i'll asusume you know how to deploy this contract on Ethereum Sepolia, I suggest using one of these tools:
OR
if you just wanna quickly go through this and not mess around with contracts, you can use my already deployed contract
2. src/lib/contract.ts setup
We gotta fill in the details like abi and address of the contracts that we're interacting with from our frontend.
Note: the MNT contract details are already added, you don't need to modify that. As well as the Delegate contract's abi, assuming you're using the same contract code as me.
After updating the Delegate contract's address, you should have a structure like this:
Once that's finished, we should be good to move forward.