Loyalty Harvest
25%
average score over 1 application evaluations
Develop a standardized template for rewarding NFT holders based on duration held, using Merkle proofs for low-cost claims and ECDSA for flexible claiming options. Now refining smart contracts, tests, and building frontend.

The goal of this project is to create a standardized template for Reward Events. These are simply a period in which holders of a certain NFT are rewarded depending on the amount of time they held their NFT. For example, if I create a Reward Event for my NFT collection from block number 10 to block number 20 and fund the event 5 ETH, (for the sake of easy understanding, imagine there are 5 NFTs in total). Then if the user holding tokenId 0 holds all the way until block 20, they would receive 1 ETH since they were eligible for 1 in total (5 / 5 = 1). However, if the user holding tokenId 1 sold at block number 15, they would get 0.5 ETH. These Reward Events, allow anyone to incentivize users to hold an NFT they currently own and for new users to buy one. These rewards can be a portion of the sales or revenue from any avenue, the possibilities are endless depending on the user's desired application. The organizer/creator of the event only has to run a script to generate a merkle root using the nft collection data during the event period. Then any user who held can create a merkle proof, and then claim their rewards. This allows the organizers and the users to only have to create a single transaction throughout the entire duration of the event, and since the organizer is only uploading a Merkle root and some additional information about the event, this has very low gas costs. I've already written the smart contract, tests, scripts to create leaves from an inputted nft address, create a Merkle tree using the leaves, create a proof using the tree and the leaves, create a signature that can be recovered to claim the funds. Using ECDSA isn't required to claim, but an additional feature for users who wish to claim from an address other than the one they held the NFT with. I need to flesh them out, write additional tests, and finish creating my frontend that users can interact with, so far only the create leaves script has a functional API paired with it. On my localhost frontend, I'm able to use an input form that searches the blockchain at nftAddress from blockStart to blockEnd and creates leaves using the data from the period, aka what block the NFT was sold at, if it was sold. This is extremely dynamic and can quickly be used to create events for any collection at any time with any amount of funding, and the entire thing is secured through cryptography on the blockchain, in the Merkle Tree, and if using it, the ECDSA recovery.

Loyalty Harvest History

Explore projects

Used on-chain data analysis for funding decisions in Gitcoin Grants rounds, created monitoring dashboards, and produced data visualizations for impact DAOs, with a reinvestment pledge for further decentralized impact research.
Colombian ReFiDAO Node aims to grow regenerative finance in Atlantico, harnessing the region's diverse ecosystems. It supports local ReFi projects, develops branding, and leads environmental hackathons for sustainability.
Developing a Web3-based financial and circular economy platform for households, including a digital wallet and management tools for clean energy distributors to monitor sales and issue carbon credits.
Decentralized platform for community-driven, verified signatures on open letters and petitions, allowing public, private, or anonymous participation, with a focus on privacy and transparency.
Developing a Solar Network State with a human-centric approach, prioritizing solar energy, economic stability, and societal integrity through an autonomous neuro-social interaction system that merges natural and artificial intelligence.