story: storage of parameters (dapp/lpms) #37
Labels
C-lpms-server
Components: server
C-stays
Component: stays dapp
D-average
Difficulty: average
P-high
Priority: high
T-story
Type: user story
Milestone
Problem
The smart contracts for
videre
are only concerned about enforcing settlement and term conditions - and in doing so the contracts only retain a the EIP712 state hash of the typed structured data that makes up the state of thestay
.To paraphrase, the only thing recorded on chain is a hash of the state - therefore there is NO readable "I check in on date dd/mm/YYYY and check out on date aa/bb/CCCC". This data MUST be stored somewhere, otherwise the state cannot be reconstructed, and therefore smart contract execution will be impossible.
Solution
Store the state data in a structure such that:
lpms-server
#100stays
dapp to maintain a copy of the state in local storage.stay
, thestays
dapp could generate QR code, as well as a signed hash in the structure so that the QR code could have all data embedded within to allow "no-wallet" check-in.The text was updated successfully, but these errors were encountered: