oasisprotocol / playground

Demo dApps running on the Oasis Network.
https://playground.oasis.io
Apache License 2.0
3 stars 4 forks source link

Add opl-secret-ballot #5

Closed aefhm closed 1 year ago

aefhm commented 1 year ago

Why

Add example code to support documentation and tutorials.

aefhm commented 1 year ago

Seems fine for the initial migratiom. I'll test it tomorrow and let you know if I run into any issues.

The only thing that bothers me is whether the folder should be called secret-ballot-opl instead - If we make another non-opl version of the ballot. This would need a change in all package.json files though (eg. @oasislabs/secret-ballot-opl-frontend).

Hmm. I think it is okay to make that change in the future or that resetting a tutorial is reasonable.