I am planning a token swap for an old pre-ERC-20 token. The new token will have its ledger smart contract written from a scratch. While doing it, I would like to integrate new EIP features to the token core itself.
Some features I hope to add
- Easier approve() for smart contract interaction - permit() as done by MDAI, but could not find official discussion for this
- Gasless transactions or somebody else pays the gas for txs
- Anything that would support microtransactionsn easily or making token transactions scale
Are there any EIP proposals or other proposals out there for microtransactions that would require active support from the token?
Are there wallet support (MetaMask / WalletConnect) and standardisation for layer 2 that I should look into when upgrading the token contract?
approveAndCall
or some other standardized methods that make L2 integration less painful for users. It would be handy to know about these upfront.