Our First Community-built Smart Module

Our Builderkit helps smart contract developers build Smart Modules on the Hyperverse. Using the Builderkit, one of our community members successfully built a mint pass Smart Module on the Hyperverse, making it the first Community-built Smart Module. Read more!

Our First Community-built Smart Module

Our Twitter Space on April 26th featured Prabhu, one of our fantastic community members. We wanted to learn more about his experience of building a mint pass Smart Module on the Hyperverse. So, here’s the lowdown!

The first Community-built Smart Module on the Hyperverse

The mint pass Smart Module is the first Community-built Smart Module and would allow users to access an item, participate in an activity, etc., contingent upon the user holding some other NFT. You may have come across something like this before, and now it has just become easily composable and usable by any JavaScript developer because of Prabhu and the Hyperverse.

What is the Builderkit?

The Builderkit is a composable package that we developed to help smart contract developers easily build Smart Modules on the Hyperverse. Once these Smart Modules are on the Hyperverse, it would allow JavaScript developers to import these modules like NPM and build Dapps without writing a single line of smart contract code. The creators of the Smart Modules, could make income from how much they are being used by the Dapps.

👉 Learn more about Smart Modules  

👉 Builderkit Repo

The Mission:

We wanted an experienced Solidity developer to use our Builderkit to create a smart module and give us feedback. This would give us a sense of a real-world scenario to test out our Builderkit and see how intuitive it is for a smart contract developer to build a Smart Module. This is where our community member Prabhu came in to help us! The challenge was for him to build a mint pass Smart Module using the Builderkit and the resources that are already out there.

Meet Prabhu:

Prabhu comes from a traditional Solidity background, so the Builderkit was very new for him at first. To take time to understand the Hyperverse, he used the following resources:

That’s where the Magic Happens!”

After looking into the Builderkit, Prabhu said, “the main difference between the regular smart contracts I used to develop and compared to the smart modules is the factory pattern.” The factory pattern is pretty familiar and he points out how you can clone that particular contract to make and deploy your contract with its tenant - in Prabhu’s own words, “That’s where the magic happens!”

This means that the base structure reuses some of the original contract code and encompasses your data independently under your tenant or tenants. This is also how the Smart Modules are designed. Another essential benefit of reusing the base contract code is security.

“Smart Contracts are already Audited and Trustworthy”

Prabhu mentions that you can make millions of copies of the contract. He also goes on to note that one doesn’t have to worry about the copied contract having malicious code, because the Smart Modules are already audited and trustworthy. He says, “You can peacefully work on the modules which already exist.” But, if you want to build a new Smart Module use-case, you can use the Builderkit and start developing on top of it.

Start Building, Start Earning!

If you want to start building Smart Modules like Prabhu and apply for paid grants, pop into our Discord, or follow Decentology and Nik to be the first to know.

Also, don’t forget to give Prabhu some love on Twitter for taking on this challenge.

Browse more from our latest stories and announcements!