&
operator on types in Typescript
type AppState = State & CustomState
This is how I use it:
(also I’ll investigate the listener issues as I saw that a lot of them are getting created.)
Hey, gonna probably finish what I had to do this week and start working on ethvtx.
I’m going to look into the listener issue, add erc20 support and add eip712 signatures support.
For the erc20 support, I’m planning on doing helpers for the whole payment process, with live status and dynamic dispatchers that should be called on every step in order to do both transfer and allowance within the same process.
For this I think I will add something like a Payment object with status and a “proceed()” method that will make the user go further in the allowance / transfer steps.
Does this sound good to you @androolloyd ? I think you have more experience at working with erc20 than me so what are the main pain points rn ?
Currently working on the listener issue. Identified the problem from VtxContract from inside the store. I will refactor this into a hook (similar to connect from react-redux) to load instances at this point, and properly give the store at this moment only. The issue is coming from the store behing statically stored in the VtxContract class.
I will keep you updated about this, but this means breaking changes