Skip to content

Instantly share code, notes, and snippets.

@retotrinkler
Last active September 18, 2017 09:11
Show Gist options
  • Save retotrinkler/1f9500857ffce1fdda3b364a7e9227ca to your computer and use it in GitHub Desktop.
Save retotrinkler/1f9500857ffce1fdda3b364a7e9227ca to your computer and use it in GitHub Desktop.
Terms and Conditions - Application description

Terms and Conditions

The goal of this is to have a simple application, which users can use to register for our upcoming Melon funds competitions. In order to register for the competition users need to sign (using their private key) that they have read, understood and accepted the Terms and Conditions presented to them.

Approach

Initialize Repo
Example on how to get ECDSA params (r,s,v)
Create a simple, client-side only, one page application that
  • Displays the legal text (==Terms and conditions), ideally using some markdown format (for now u can just assume some Terms and Conditions and use them as a placeholder for the actual ones, which are curr being finalized)
  • Button: "I hereby confirm to have read, understood and accepted above Terms and Conditions", which on-click creates the ECDSA params (r,s,v) created w the users private key.
  • Second Button: "Register for competition", which on-click send tx to registerForCompetition
Deploy to IPFS
  • Here it might be helpful to ask Simon, Jenna and/or Ferran for how this works.

Can be useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment