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.
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.
To use this airdrop contract:
- Deploy the contract to the Cardano blockchain using the provided script.
- Interact with the contract by submitting transactions that meet the specified conditions for airdrop eligibility.
- Monitor the contract's address for airdrop distributions and recipient claims.
To get started with this contract, follow these steps:
- Ensure you have the necessary prerequisites installed, including the Plutus development environment.
- Clone this repository to your local machine.
- Navigate to the project directory and build the contract using the Plutus compiler.
- Deploy the compiled contract to the Cardano blockchain using your preferred deployment method.
- Interact with the deployed contract using transaction inputs that satisfy the airdrop conditions.
For support or feedback regarding this contract, please reach out to the repository owner or submit an issue on GitHub.
Happy airdropping!