Cadence Cup Round 2 is here, along with improvements and fixes to Cadence and the Flow Playground. If you submitted to Round 1, amazing. We hope you had a great time designing and building your NFT smart contracts and creative minters. Let’s see you flex your skills again in Round 2.
New to Cadence Cup? No worries! Start where you are and get cracking on a project for this week’s challenge.
Continuing the theme of the first challenge, Round 2 is all about how blockchains and smart contracts can help us connect with each other even if we are physically separated. How can we share our ideas and goals when we’re apart?
The challenge if you choose to accept it is: Create a smart contract that uses resources that enables groups to vote on various actions and outcomes. There are many different types of voting mechanics, and you can choose any one you want, or better yet make up one on your own. Voting is one part of creating a system of governance using Smart Contracts. We believe that governance is one of the most compelling use-cases for Smart Contracts in general.
Here is a voting tutorial that outlines a very simple example of a voting contract. In this tutorial, we walk you through creating a simple Approval Voting smart contract, show you how to directly transfer a resource object by having two accounts sign the transaction, and tally votes. You can use this as a starting point, or come up with something completely new! It's all up to you.
Judges will score each project on readability, effectiveness, and creativity. We'll be there to assist you along the way. If you have any questions during this challenge, please post them in the #developer channel on Discord.
You may have noticed an extra week was added to the Round 1 challenge. We hear you that you might need a little more time for your projects, so the Round 2 challenge will also span 2 weeks.
Start Date for Round 2 Challenge: April 2, 2020
End Date for Round 2 Challenge: April 15, 2020 (11:59 PM PST - time subject to change)
SUBMIT YOUR ENTRY FOR CADENCE CUP Round 2 HERE.
To help you complete your projects for the second challenge and to continue improving Cadence and the playground, we are also releasing an update to the Cadence runtime and the playground that fixes bugs and introduces some improvements and breaking changes to the language. Many contracts and transactions that worked in the previous version of the playground will need to be updated with the changes.
See the #general channel in the Flow Discord for a deeper explanation of these changes with examples.
These changes will not affect how we judge the Cadence Cup entries from Round 1, but in order for your code to still work for you, you will need to update it to reflect these breaking changes.
Stay up to date with the latest news on Flow.