Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Latest commit

 

History

History
6 lines (4 loc) · 717 Bytes

design_pattern_desicions.md

File metadata and controls

6 lines (4 loc) · 717 Bytes

Design Pattern Decisions

I though about doing an Ethereum IdentityStore project as a very tiny prototype that solves the problem of identites by having everyone identity stored on the Ethereum blockchain. IdentityStore holds the data for each address and no one can open the data because it's require the correct key which is the transaction sender address.

OpenZeppelin Ownable and Pausable contract modules are linked to provide a layer of security and access control to the smart contract. This allows a selfdestruct function in case it catastrophically goes wrong and needs to die (onlyOwner can run this), and a Pausable function so all contract functions can be paused, creating a circuit breaker function.