Need help understanding Bitcoin DeFi?
→ START HERE
Need help understanding Bitcoin DeFi?
→ START HERE
Need help understanding Bitcoin DeFi?
→ START HERE
Need help understanding Bitcoin DeFi?
→ START HERE
Need help understanding Bitcoin DeFi?
→ START HERE

Five Ways to Prep for the EasyA Hackathon at Consensus

On May 29-31, over 500 hackers will be in Austin to compete in the Consensus Hackathon, hosted by EasyA and Coindesk. Over the course of 3 days, devs will compete in this multichain event for a wide range of bounties. In this blog, we’ll share 5 tips for devs interested in the Stacks track, where you can compete for $25K in prizes.

Type
Announcement
Topic(s)
Events
Published
May 23, 2024
Author(s)
Developer Advocate
Developer Advocate
Building on Bitcoin Hackathon
Contents

Not gonna be at the hackathon? Not a problem. These steps will still help you start your development journey on Stacks regardless.

1. Set Up Your Account in the Hiro Platform

The Hiro Platform enables you to create, test, and deploy smart contracts directly from a web browser. The platform comes pre-installed with a number of handy tools, such as VS Code, Clarity for VS Code, and Clarinet, which offer easy-to-use contract syntax support and debugging capabilities. With the Hiro Platform, you can write and deploy your code, create event streams for Stacks and Bitcoin, generate API keys, and more.

With the Hiro Platform, you can go from an idea for a contract to deploying that idea on mainnet faster than you can say “Nakamoto.”

2. Leverage the Power of Devnet

Devnet is a private blockchain environment for testing and validating your code before deploying on a public network like testnet or mainnet. Devnet comes with miners and nodes and will produce blocks on your local machine, but unlike a public network, you can tear devnet down and sprin it up again at will, allowing for rapid prototyping and quick feedback loops.

Through the Hiro Platform, you can use use devnet to call functions in your contract, pay devnet transaction fees with preloaded wallets, make API requests to inspect output data, integrate contracts into your app with an API url, and more.

Devnet is one of the most powerful tools in your toolkit. Discover 5 ways to interact with devnet in the Hiro Platform.

Note: ongoing issues with Bitcoin testnet have impacted Stacks testnet. For this hackathon, focus your efforts on devnet and mainnet via the Hiro Platform.

3. Brainstorm Hackathon Ideas

Hackathons are an opportunity to push the boundaries of your creativity. What do you want to build? What will put you in the best position to win prize money?

One of the best ways to get inspired is to see what apps are already on the market. You can see a list of Stacks apps here, and for further inspiration check out this list of Bitcoin DeFi app ideas for inspiration. From decentralized exchanges to lending protocols, crowdfunding mechanisms or stable swaps, the world of Bitcoin is yours to explore!

4. Jumpstart Your Front-End With Stacks.js Starters

Stacks.js is a collection of JavaScript libraries that handles a lot of the basic functions you need when building a web app, and Stacks.js Starters are the fastest way to get started with Stacks.js.

With these templates, you can pick your favorite framework and the basic features you need (e.g. connecting a wallet, sending/receiving tokens, interacting with NFTs, etc.), and then generate a new project template with just a few clicks. You’ll be miles ahead of the competition in no time.

5. Check Out These Clarity Coding Tutorials

There are a number of tutorials out there to jumpstart your Clarity coding. Check out the tutorials in Hiro docs, as well as the community tutorials in Stacks docs, which cover a wide range of use cases from basic “hello, world” contracts to advanced DEX applications.

If you want a more guided experience, you can also try the Bitcoin Builders Primer, which will take you through the basics of building on Bitcoin and teach you how to mint an NFT on Stacks, as well as the Clarity book, which is a great resource for learning Clarity.

Note: all tutorials are for demo purposes only to illustrate how to build with Clarity smart contracts and should not be used in production.

Conclusion

With these 5 steps under your belt, you’re ready to excel at the Consensus hackathon. Good luck hacking!

Product updates & dev resources straight to your inbox
Your Email is in an invalid format
Checkbox is required.
Thanks for
subscribing.
Oops! Something went wrong while submitting the form.
Copy link
Mailbox
Hiro news & product updates straight to your inbox
Only relevant communications. We promise we won’t spam.

Related stories