Inspiration
We wanted to explore the idea of putting users in charge of their data.
What it does
A company creates a survey by sending funds to our smart contract. Survey takers can go to our site, take a survey, and receive funds after enough people have taken the same survey.
How we built it
We used Solidity, Hardhat, node, NextJS, Moralis, Bootstrap and a whole bunch of libraries. We did the smart contract first, then the back end to our app, and finally the front end.
Challenges we ran into
Lots of challenges! We are dealing in micro payments, so we needed to switch from Goerli to Mumbai to bring transaction fees down. We also had never built an app with NextJS before, nor had we ever written or deployed a smart contract.
Accomplishments that we're proud of
We are proud that we were able to get an MVP functioning enough to showcase our idea. There are so many small accomplishments along the way.. there are too many to name!
What we learned
We learned how much work it is to build a project like this. We learned a lot about NextJS, as well as testing and deploying smart contracts. We learned a lot about Chainlink, and how important oracles are for blockchains!
What's next for Surpay
We would like to finish the app and get it deployed to a host. Maybe explore the feasibility of an app like this more. We are very excited to share the project!
Built With
- alchemyapi
- bootstrap
- chainlink
- ethereum
- ethers
- javascript
- mysql
- nextjs
- node.js
- polygon
- sequelize
- solidity

Log in or sign up for Devpost to join the conversation.