A smart contract example for a commit-reveal protocol to transact based on an established ID without requiring a pre-established wallet.
Import into REMIX IDE: https://remix.ethereum.org/, compile and run
This is only an example, and most likely contains security vulnerabilities. Do not use for production purposes.