Clarity, the smart contract programming language for Stacks, is so close to meeting the recognition requirements to be an official language on GitHub, and we need your help crossing the finish line. Need more of a reason? If we accomplish our goal by January 14, Hiro will make a donation to one of our favorite non-profits, the Electronic Frontier Foundation.
We know you diehard hackers are looking for side projects over the holiday break, so grab a hot cocoa and get ready to fire up Clarinet.
Github requires at least 200 unique :user/:repo repositories before a language can be supported in Linguist. The total for Clarity is currently 170. GitHub language recognition makes it much easier for new developers entering the Stacks ecosystem to search and discover Clarity contracts, as well as enabling automated language tagging for any new contract containing Clarity syntax that gets uploaded.
Why January 14? It marks the one year anniversary of the Stacks 2.0 mainnet launch!
Ready to help? Here are some tutorials and sample apps available online to begin learning Clarity and customizing your own smart contracts:
- Complete one of the Clarinet tutorials: Hello World, Counter, Billboard, or NFT.
- Complete one of the Clarity Book tutorials: Time-Locked Wallet, Smart Claimant, Multi-Signature Vault, or Tiny Market.
- Play around with one of the Clarity projects from: Awesome Stacks, Friedger’s Contracts, Hiro Samples, or other public Clarity projects on GitHub.
The only requirement is to make sure your repository is public, and the Clarity file contains the “.clar” file extension in the filename. Upload the results of a tutorial, tweak a sample app into something new, or finally open-source that private side project for the world to see. If it’s Clarity, it counts! Hiro will query GitHub over the next few weeks and report progress on Discord.
Keep in mind that forks are not counted towards unique repositories. Therefore you will have to upload code to a totally new, independent, user-owned repository.
Hack on Clarity, we’ll donate to a cause that matters. It’s that simple.
Happy Holidays and Happy Hacking!