Formify AI - AI Powered Decentralized Form with NFT Validation
Inspiration
AI powered form generation
We leverage the power of GPT-3.5 model to magically turn complex prompts into beautiful forms. It’s always time consuming to think about 7and manually add what data is to be collected when creating a form.
"Create a hackathon registration form to accept registrations for students for Make-A-Ton hackathon. Accept necessary personal and contact details. Ask students to upload their profile picture. Accept a registration fee of 0.5 HBR."
Communications like this can be transferred into a perfect form. Form creator does not have to spend time on creating fields and choosing their data types.
Decentralized form
We collect public opinions through centralized forms, there is no way one can ensure the opinions are genuine and not manipulated by the owner or controller of server. How can someone trust the legitimacy of political opinions or exit poll surveys collected this way. We have no way, but to trust their word. We worried on this a lot and it lead us to the creation of Formify AI.
Mass data collection is essential for various purposes. It can be for feedback forms, opinion surveys, event registration forms. But the large amount of personal data and public opinion filled on these forms are stored in central servers of companies like Google, which are infamous for using citizen’s personal data for advertising, social profiling and even sell these data to external agencies. This may feel normal to people who are not aware about personal data issues. But, we should realize that from these personal data and opinions, companies like Google or Facebook can control the fate of elections, even in a large democracy like India.
We were so concerned when we had to fill our data on a social opinion survey some days back. That’s when we thought about the concept of collecting mass data and store it in secure, immutable way. Blockchains can do that. We didn’t found any solution that solves this problem. With WeaveDB and IPFS, there will not be any trust issues about public data collection. We believe that, data should be owned by ones who really own it, not the owners of the server or the application.
Validating people by NFT ownership
What if Tailor Swift is conducting a musical concert, but only want her true fans to be attended. It’s possible if Tailor publishes some NFT (Non Fungible Token) and decides only the people holding her NFT can register for the event. That’s how we find the true community in Web3. This is the future of ticketing in Web3. This also boosts NFT sales of celebrities, organizations, sports teams, tech communities who want to conduct closed events using NFT validation.
NFT validation is a feature we are proud of in Formify and we believe this is the future. It is an optional feature. That means, normal forms like the one in Web2 can also be hosted in Formify, with data security.
What it does
After connecting crypto wallet, Formify AI let users create a form from AI prompt or by the traditional way of adding input fields manually. When we choose to build a form using prompt, Formify accept user prompt and generate a complete form ready to be shared. More form fields can be added manually. Forms can accept file upload and even crypto payments as inputs. Event registration fee payments can be accepted using the form itself.
A shareable public link is provided instantly to accept form responses form the public. The responses are securely saved in WeaveDB and file uploads in IPFS. These platforms guaranty the security of stored data forever. Because, when it is in chain, no need to be in pain.
Organizers of events, while building forms can choose whether to implement NFT validation or not. If yes, they just need to provide contract address of the NFT they published. That’s it.
To fill in responses, people have to connect their wallet. If the event organizers are opted for user validation by NFT ownership, Formify checks for ownership of same in user’s wallet. If the desired NFT exists, user is allowed to fill in the form.
After filling the response, it is saved in WeaveDB and IPFS.
Form creator can export responses into PDF of XLSX format.
How we built it
Crypto wallet connection
We implemented wallet authentification using RainbowKit.
User Interface & User Experience
We built our UI with Next.js and styled it using TailWindCSS.
In-form payment
We created a payable smart-contract in Solidity and deployed it on blockchain using Remix. Then we used the payable function in payment.
NFT Ownership Validation
Form creator provides the contract address of an NFT while creating the form. When a user tries ro access the form, Formify AI check if the user’s wallet contains the same NFT, only if then gives permission.
Blockchain storage
We created a WeaveDB instance and made the form responses store in blockchain. File uploads are into IPFS.
Challenges we ran into
We had a hardtime creating and validating our own NFTs. As we were new to the realm of Web3, we had to face a lot of hurdles. We learnt so much in the course of building this product.
We worked hard to implement osme features using Hedera SDK but the limit of time and knowledge was our restrictions from successfully completing what we aimed. We will implement them in the future.
We implemented in-form payments using
Accomplishments that we're proud of
We are proud to introduce the NFT ownership validation feature. We can ensure that it is the first and only of its kind. The thought of how future events can leverage this feature to both selling their NFTs and finding the true community is making us feel like we’ve done something ahead of the time.
We can’t be more proud that our vision of collecting and storing mass data using blockchain is finally succesful and live on web to be used.
What we learned
We learned a lot of prompt engineering while prompting out perfect forms from the most imperfect user prompts.
We had to learn how to create, manage, and validate our own NFTs, which was a challenging but rewarding experience. We learnt about networks, chains, wallets, tokens and how to work with them.
We learnt to use Hedera Blockchain which was entirely new for us. We implemented in-form payment using Hedera chain. We could not succesfully use Hedera SDK to implement some new features that we aimed to include, as we were completely new to this. But we learnt a lot in the process.
What's next for 8_BitLords_Formify-AI
create unlimited forms accept unlimited responses accept file upload upto 1GB accept crypto payment of unlimited amount
We are planning to scale Formify AI into a revenue generating Software as a Service (SaaS). We are planning to implement revenue models which are consistent and value adding to the users.
Event ticket validation using NFT
We are planning to implement a NFT ticket validation feature in the future. When an event registration form response is submitted, event organizer sends a NFT ticket to the wallet of those who submitted the form. This NFT ticket can be validated at the venue of event to give access.
Reward system for community survey responses
We are planning to implement a optional reward feature using which survey creators can gift crypto tokens (NFT) to people who participate in public opinion surveys, open polls, etc.
Premium access to Formify AI
We can push customers to pay for premium after they created first 15 forms or surpassed 1000 form respose submissions.
Premium feature will allow customers to —
- create unlimited forms
- accept unlimited responses
- accept file upload upto 1GB
- accept crypto payment of unlimited amount
Built With
- daisyui
- ipfs
- next.js
- solidity
- tailwindcss
- weavedb
Log in or sign up for Devpost to join the conversation.