Merkle Tree Airdrop Tooling
SCF #28 Activation Award Reusable Contract Building Blocks $48 View in SCF
Open-source tool for efficient Stellar airdrops enabling scalable and cost-effective token & NFT distribution via smart contracts
Team

findolor

Technical Architecture Doc

https://docs.google.com/document/d/1YCjpbpr-qAZcnD9hpJuFgRaa6DjD07AGS3FN0UNjrwI/edit?usp=sharing

Project URL

N/A

Code URL

Video URL

https://www.loom.com/share/dd8fa363e8084969b217f2b7151b1f60?sid=bde11a68-a997-45f6-9e7c-1bd5a9d095fd

Pitch Deck URL

Project Categories

Product Type [If Other Developer Tooling]

Section

read

Requested Budget in USD ($)

48.000

Section

read

Team bio

Team members are a part of the Squad community, an invite-only community for experienced crypto devs. All engineers that join Squad go through a rigorous vetting process to validate technical ability and crypto-nativeness. 

Arda Nakisci (Discord: findolor)

Project Lead - Smart Contracts & Full-Stack

  • Lead Developer at Pantheon Contracts and Juno, a platform for aidrops and contract rewards and payments streams on Cosmos
  • Built SoroSplits on Stellar, currently deployed and in pilot phases with teams within the ecosystem
  • 3 years of experience developing Smart Contracts in the Cosmos ecosystem; including
    • A no-code platform for token creation/distribution
    • A platform for executing peer-to-peer token swaps including both native and cw20 tokens in Cosmos Ecosystem
    • Open-source tools for building NFT based applications that range from marketplaces, ticketing systems, game infrastructures and more.
  • Twitter, GitHub 

We will most likely add 1-2 other backend and smart contract developers to the project for additional support. As members of Squad we have the benefit of quick access to experts with specialized knowledge (e.g. smart contracts, frontend) and the ability to quickly expand our team with additional talented members as needed.  

Our team is set up for success because:

  • Have already successfully built projects on Stellar / Soroban
  • Experience building similar products in a Rust-based smart contract ecosystem (Cosmos)
  • Comprehensive expertise in all other crucial areas, including experience in building smart contract infrastructure and proficiency in Rust, backend and frontend.
  • We are all members of Squad. A Web3 talent collective that gives us the advantage of quick access to vetted experts with specialized knowledge and the ability to expand our team with additional talented members as needed.
  • Squad community members have built on Stellar before (Constellation, Soroban Explorer), and will be able to support as advisors as needed throughout the project.

Section

read

Product & Architecture

Problem:

Sorodrop addresses a significant gap in the Stellar ecosystem: the lack of an efficient, scalable, and low-cost solution for conducting large-scale airdrops of tokens and NFTs. Currently, projects wanting to distribute tokens or NFTs to a large audience face technical challenges, high gas fees, and inefficient distribution mechanisms, which hinders their ability to reach wider audiences effectively.

 
  • Wasted effort:Teams currently develop their own airdrop solutions from scratch, wasting valuable developer time and SCF funds. Sorodrop eliminates this inefficiency by providing ready-made airdrop functionality, ensuring no team has to start from scratch again.
  • Inefficient Distribution: Existing methods are slow and can't handle large recipient numbers effectively.
  • High Costs: High gas fees make large-scale token and NFT distribution expensive.
  • Lack of Automation: Manual interventions increase errors and reduce efficiency.
  • Resource Wastage: Unclaimed tokens or NFTs often go to waste without a clawback mechanism.
  • Rigidity in Distribution: Current solutions lack flexibility to pause, resume, or stage airdrops as needed.
 

Audience:

Sorodrop caters to various groups within the Stellar ecosystem:

 
  • Project Owners: Launching new tokens or NFTs and needing a cost-effective way to distribute them widely.
  • Developers: Seeking robust tools for efficient token and NFT distribution without high costs.
  • Community Managers: Rewarding community members efficiently and transparently.
  • Marketers: Conducting promotional campaigns to attract or retain users through airdrops.
  • Fundraisers: Using airdrops to support fundraising events and achieve milestones.
 

As an example, we recently had an exploratory conversation with the growing Token Tails community. They need to airdrop their tokens and NFTs to over a thousand addresses. Currently, this isn’t possible on Stellar without manual effort or writing a custom contract.

 

This need is already evident in the ecosystem, and it will become more apparent as more projects and communities grow on Stellar. SoroDrop will save teams and SCF thousands of dollars and hours of work.

 

Impact on Stellar: 

Solving this problem will positively impact the Stellar ecosystem:

 

Increased Adoption: Easier, cost-effective distribution attracts more projects to the Stellar network.

Enhanced Engagement: Efficient airdrops foster higher community engagement and participation.

Innovation Encouragement: Reliable distribution tools encourage developers to innovate on Stellar.

Resource Optimization: Clawback functionality prevents resource wastage, boosting ecosystem efficiency.

Market Expansion: Projects reach larger audiences without technical and financial constraints, growing the user base and market penetration for Stellar-based assets.

 

Product

Sorodrop streamlines the creation and distribution of tokens and NFTs on the Stellar network using the Soroban framework. Sorodrop addresses the aforementioned issues in several ways:

 

Efficient Distribution through Merkle Trees: Sorodrop uses Merkle tree structures to handle large-scale airdrops efficiently, reducing computational load and ensuring quick, accurate distribution.

Cost Reduction: The platform minimizes gas fees, making token and NFT claims more affordable.

Automation and User-Friendly Interfaces: Sorodrop automates airdrop execution by allowing CSV uploads of recipient addresses, reducing errors and enhancing efficiency.

Resource Optimization through Clawback Functionality: Unclaimed tokens or NFTs can be reclaimed by the project owner, preventing resource wastage.

Distribution Flexibility: Project owners can pause and resume airdrops, offering greater control over the distribution process.

Multi-Stage Airdrops: Supports staggered distributions, beneficial for complex tokenomics or tiered reward systems.

 

All of Sorodrop’s software components will be open sourced and this will allow users to tailor their airdrop however they want. Application specific airdrops can be made possible with custom development on top of Sorodrop’s smart contracts.

 

Differences with similar solutions:

There have been several attempts at airdrop tools on Stellar, but none have gained traction or are widely considered by projects in the Stellar ecosystem. Our airdrop project on Stellar stands out with several key features that will change this:

 
  • We support airdrops with over a thousand recipients by implementing merkle calculation for greater gas efficiency.
  • Project owners can customize airdrop terms, including start time, expiration time, name, and logo.
  • Our platform allows multi-stage airdrops, enabling tiered structures within a single contract.
  • Owners can pause and resume airdrops for enhanced security.
  • We are open-source, providing users and project owners access to our tools and contracts for secure use.
  • We also offer the capability to airdrop NFTs to large audiences.

Other Chain Description

Ethereum In the Ethereum ecosystem, several solutions for airdrops have successfully distributed tokens to potential users of decentralized applications. For instance, Uniswap on Ethereum used the merkle tree logic, which we plan to implement in Sorodrop, to conduct their airdrop and reach many users. Cosmos On the Juno Network, airdrops are conducted similarly to Sorodrop. More than 50 projects have created airdrops easily and without issues. Projects connected with users effortlessly, and users discovered airdrops through a central listing page. Stellar There is another airdrop related project that is on Stellar and we differ in terms of some features: We allow project owners to create airdrops with more than thousand recipients. This is possible with implementing merkle calculation for a more gas efficient process. We allow project owners to configure airdrop terms such as the start time, expiration time, airdrop name and airdrop logo. We allow the airdrop to be in several stages, meaning project owners will be able to create tiered airdrop structures through a single airdrop contract. We allow project owners to pause and resume the airdrop to have maximum security over their funds. We are open sourced, meaning users and project owners will be able to access our tools and contracts, making it secure to use everything. We will also include the ability to airdrop NFTs to large audiences.

Deliverables List

Deliverable 1 - Initial Smart Contract Development Using Soroban

Implement the base layer of smart contracts on the Stellar network using Soroban for creating and managing airdrops. This includes setting up the initial state, configuring user roles, and basic functionality.

 

Functions to Implement:

- Init Function

- Update Config Function

 

How to Measure Completion:

- Smart contracts for initial setup and configuration are written and deployed.

- Basic functionality of Init and Update Config functions is tested.

 

Estimated Date of Completion: 1-2 weeks from the project start date.

Budget: $12,000

 

Deliverable 2 - Implement Smart Contracts for Main Logic and Claiming

Further develop smart contracts to enable verification, and claiming of tokens.

 

Functions to Implement:

- Create airdrop

- Claim

 

How to Measure Completion:

- Smart contract code for creating airdrops and claims are written and deployed.

- Preliminary testing of Create Airdrop and Claim functions is completed.

 

Estimated Date of Completion: 3-4 weeks from the project start date.

Budget: $13,000

 

Deliverable 3 - Implement Smart Contract for Additional Operations and Queries

Complete the implementation of additional smart contract operations and query functions.

 

Functions to Implement:

- Burn

- Clawback

- Pause

- Resume

- Query Functions: Config, Is Claimed, Total Claimed, Is Paused.

 

How to Measure Completion:

- Smart contract code for additional operations and query functions are written and deployed.

- Preliminary testing of the new functions is completed.

 

Estimated Date of Completion: 4-5 weeks from the project start date.

Budget: $13,000

 

Deliverable 4 - Comprehensive Testing and Initial Testnet Deployment

Conduct thorough testing on all components and deploy the initial version of Sorodrop smart contracts on a testnet.

 

How to Measure Completion:

- Unit and integration tests are completed, covering all functionalities.

- Initial deployment on the Stellar testnet is successful.

- Performance tuning and issue resolution based on test feedback are completed.

 

Estimated Date of Completion: 5 weeks from the project start date.

Budget: $10,000

Total Expected Roadmap

Phase 1 (4-5 weeks, $48k) - Smart Contract Development

Develop and refine smart contracts on Stellar using Soroban, implementing essential functions and conducting thorough testing and initial testnet deployment.

 

Phase 2 (8-10 weeks, $100k) - Backend and Frontend Implementation

Establish the backend infrastructure, including API gateways and databases, implement Merkle tree processing, and create an intuitive user interface with minimal gas fees and token clawback functionality. Launch with users and gather feedback.

 

Potential additional phases:

  • NFT Features and Oracle Template: Enable seamless NFT creation and efficient airdrops using merkle trees, and develop an oracle template to manage and integrate off-chain data for NFT airdrops.
  • Vesting and Staking Smart Contracts and TypeScript Library: Implement a vesting mechanism and epoch-based staking contracts with automated rewards, and create a TypeScript library for easy integration of Sorodrop’s smart contracts.
  • Ecosystem Integration: Token Swaps, DAO Integration, and Decentralized Nameservice: Introduce a built-in token swap feature and tools for DAO creation and management, along with developing a decentralized nameservice for simpler user interactions and transactions.