Skip to content

This module allows you to launch airdrops leveraging web3

License

Notifications You must be signed in to change notification settings

DVDope/airdrop

 
 

Repository files navigation

Airdrop

This module allows you to launch airdrops.

Usage Example

The following example airdrop drops 1 MannheimCoin on Ropsten to each recipient.

deno run --allow-net example-airdrops/launch-airdrop-for-wwi19seb.ts <your provider url - e.g. from infura.io or via an own ethereum node>

Background Info for Solidity Smart Contract Newbies

The solidity smart contract which defines the ERC20 based MannheimCoin Currency looks as follows:

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 < 0.9.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.4/contracts/token/ERC20/ERC20.sol";

contract MannheimCoin is ERC20 { 
    
    constructor () ERC20("MannheimCoin", "MANN") { 
        _mint(msg.sender, 2000*10**18);
    }
    
}

This smart contract was developed and deployed to Ropsten using the remix online IDE

Contributions are Welcome

Feel free to raise issues and to open Pull Requests.

About

This module allows you to launch airdrops leveraging web3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 67.6%
  • Svelte 25.6%
  • CSS 3.3%
  • HTML 2.8%
  • JavaScript 0.7%