redux-tendermint
v4.0.4
Published
Tendermint state container for javascript applications
Downloads
7
Maintainers
Readme
Redux is a predictable state container for JavaScript apps.
The redux-tendermint package is a modified version of redux that synchronizes state between your frontend redux application and your tendermint chain.
Redux and Tendermint are both state machines that update a state through a state function.
- In the case of tendermint, the state function is usually noted (state, tx) => state
- In the case of redux, the state function is usually written (state, action) => state
Redux-tendermint allows your frontend to use the same state function (=reducer) as a lotion tendermint chain. Your frontend state can now be stored, without the need to set up a database, in a decentralized chain.