- instead of using the hack of forceUpdate(). use the useMachine hook in order to update the state.
- set context properly instead of passing it from the event, use assign instead of passing it.
- update the the machine to 3 different machines with the domains of:
- locking machanisem
- transaction logic & persistence
- wallet persistence.
- generate a dynamic config, also the transactions are very much different so maybe generating 2 different actos for each would be perferable.
- add tests to the machine, view, models using jest
PS disclaimer: ChatGPT helped with: generator, componentes ( view )