GithubHelp home page GithubHelp logo

mprogrammer2020 / airdrop-cardano Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

The smart contract defines an airdrop where a specified amount of ADA is distributed to recipients who claim the airdrop. Recipients can only claim the airdrop once, and the contract ensures that the correct amount of ADA is locked in the transaction.

Haskell 100.00%

airdrop-cardano's Introduction

Airdrop Contract

Overview

This repository contains a Plutus smart contract for managing airdrops of digital assets on the Cardano blockchain. The contract is designed to distribute specified amounts of tokens to recipients based on predefined conditions.

Contract Structure

  • Airdrop.hs: Haskell code implementing the airdrop contract logic.
  • AirdropDatum: Custom data type representing the airdrop parameters and state.
  • mkAirdropValidator: Validator function ensuring the correct execution of airdrop transactions.
  • airdropValidator: Wrapped validator for use in Plutus scripts.
  • airdropScript: Script instance for the airdrop contract.
  • airdropScriptAddress: Address associated with the airdrop contract on the Cardano blockchain.
  • Airdrop: Validator type instance and default data for the airdrop contract.

Usage

To use this airdrop contract:

  1. Deploy the contract to the Cardano blockchain using the provided script.
  2. Interact with the contract by submitting transactions that meet the specified conditions for airdrop eligibility.
  3. Monitor the contract's address for airdrop distributions and recipient claims.

Getting Started

To get started with this contract, follow these steps:

  1. Ensure you have the necessary prerequisites installed, including the Plutus development environment.
  2. Clone this repository to your local machine.
  3. Navigate to the project directory and build the contract using the Plutus compiler.
  4. Deploy the compiled contract to the Cardano blockchain using your preferred deployment method.
  5. Interact with the deployed contract using transaction inputs that satisfy the airdrop conditions.

Support and Feedback

For support or feedback regarding this contract, please reach out to the repository owner or submit an issue on GitHub.

Happy airdropping!

airdrop-cardano's People

Contributors

mprogrammer2020 avatar

Watchers

 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.