Coder Social home page Coder Social logo

findolor / sorodrop Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.38 MB

Open-source tool for efficient Stellar airdrops enabling scalable and cost-effective token & NFT distribution via smart contracts.

Home Page: https://sorodrop.vercel.app

Rust 45.35% TypeScript 51.21% Shell 2.36% CSS 0.83% JavaScript 0.25%

sorodrop's Introduction

Sorodrop - Merkle Airdrop Tooling

Sorodrop is a scalable and cost-effective solution for conducting large-scale airdrops of tokens and NFTs on the Stellar network. By leveraging Merkle tree structures, Sorodrop ensures efficient distribution with minimal gas fees. It offers a user-friendly interface for automating airdrops through CSV uploads, supports multi-stage distributions, and includes clawback functionality to reclaim unclaimed assets. Sorodrop is fully open-source, allowing for customization and flexibility in airdrop execution.

Features

  • Efficient Distribution: Uses Merkle trees for large-scale airdrops.
  • Cost-Effective: Minimizes gas fees.
  • Automation: Easy CSV uploads for recipient addresses.
  • Resource Optimization: Clawback functionality for unclaimed tokens/NFTs.
  • Flexible Airdrops: Pause, resume, and stage airdrops as needed.
  • Open-Source: Customizable and adaptable to project-specific needs.

Getting Started

Smart Contracts

Contracts folder contains the smart contracts for the Sorodrop airdrop tooling. The contracts are written with Soroban smart contract language. To learn more about Soroban, visit their website.

Scripts

Scripts folder contains some helper scripts that can be used to generate merkle root and merkle proofs for each recipient of an airdrop.

Bun is used to manage dependencies and run scripts. To check out Bun and install it, visit their website.

After installing Bun and project dependencies, you can run the following commands:

Build and Deploy Smart Contracts

bun deploy

Generate Merkle Root and Merkle Proofs for Recipients

  1. Create a CSV file with recipient addresses and amounts.
  2. Run the following command:
bun merkle

Generate Merkle Root and Merkle Proofs for Recipients with Test Accounts

bun merkle:test

sorodrop's People

Contributors

findolor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.