{"id":22164849,"url":"https://github.com/net2devcrypto/simple-erc20-airdropserver","last_synced_at":"2026-01-25T16:02:31.543Z","repository":{"id":47921568,"uuid":"502738112","full_name":"net2devcrypto/Simple-ERC20-AirdropServer","owner":"net2devcrypto","description":"🚀🪂A simple NextJS ERC20 Airdrop Server to reward NFT holders with recurring erc20 token rewards!","archived":false,"fork":false,"pushed_at":"2022-08-08T03:30:46.000Z","size":15,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T15:57:24.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/net2devcrypto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-12T22:04:19.000Z","updated_at":"2024-02-06T18:27:42.000Z","dependencies_parsed_at":"2022-08-12T14:10:59.451Z","dependency_job_id":null,"html_url":"https://github.com/net2devcrypto/Simple-ERC20-AirdropServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/net2devcrypto/Simple-ERC20-AirdropServer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net2devcrypto%2FSimple-ERC20-AirdropServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net2devcrypto%2FSimple-ERC20-AirdropServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net2devcrypto%2FSimple-ERC20-AirdropServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net2devcrypto%2FSimple-ERC20-AirdropServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/net2devcrypto","download_url":"https://codeload.github.com/net2devcrypto/Simple-ERC20-AirdropServer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net2devcrypto%2FSimple-ERC20-AirdropServer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T05:11:04.345Z","updated_at":"2026-01-25T16:02:31.506Z","avatar_url":"https://github.com/net2devcrypto.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple-ERC20-AirdropServer\n\n🤩🥳Deploy a simple ERC20 Airdrop Server to reward NFT holders with recurring erc20 token rewards!\n\n** THE FILES ATTACHED TO THIS REPO ARE FOR EDUCATIONAL PURPOSES ONLY **\n\n** NOT FINANCIAL ADVISE **\n\n** USE IT AT YOUR OWN RISK** **I'M NOT RESPONSIBLE FOR ANY USE, ISSUES ETC.. **\n\nYOUTUBE Tutorial: https://youtu.be/jawlU5Bzmpo\n\n############################################################\n\nSTEP 1 - Deploy the required smart contracts.\n\n- First Deploy : N2DPlus.sol (Token Smart Contract), Modify \nthe name and symbol of the token in the smart contract to \nyour preference. \n\nOnce deployed, copy the smart contract address.\n\n- Second Deploy : AirDropERC20-Contract.sol (Airdrop Smart Contract)\nIt is required to input the Token Smart Contract address. Paste\nthe contract address previously copied.\n\nOnce deployed, copy the smart contract address.\n\n############################################################\n\nSTEP 2 - Deploy a NextJS webfrontend server:\n\nnpx create-next-app airdropsrv\n\nnavigate to the project folder,\ndelete README.MD file in the airdropsrv folder.\n\nnpm i hardhat\n\nonce hardhat gets installed,\n\nnpx hardhat\n\nSelect Create basic sample project.\n-leave everything default(press enter)\n\nInstall dependencies:\n\nCopy entire line and paste , and enter: \n\nnpm install --save-dev \"hardhat@^2.9.9\" \"@nomiclabs/hardhat-waffle@^2.0.0\" \"ethereum-waffle@^3.0.0\" \"chai@^4.2.0\" \"@nomiclabs/hardhat-ethers@^2.0.0\" \"ethers@^5.0.0\"\n\n############################################################\n\nSTEP 3 - Replace NextJS Files:\n\nCopy files from AirDrop-Server folder in this repo,\n\nand paste inside \"Pages\" folder in NextJS project\n\nReplace index.js when asked on prompt.\n\n############################################################\n\nSTEP 4 - Update values in Index.js:\n\nObtain the private key of the wallet that was used to deploy\nthe Airdrop smartcontract and update:\n\nvar ethPrivkey = '0xPRIVATEKEY'; (Leave 0x)\n\nAdd YOUR NFT smartcontract address in the field:\n\nvar nftcontract = 'NFTSMARTCONTRACTADDRESS';\n\nAdd the airdrop smartcontract address in the field:\n\nvar airdrop = 'AIRDROPSMARTCONTRACTADDRESS';\n\nOPTIONAL, if using a different blockchain, replace the JSON RPC\naddress in the field: \n\nconst provider = new ethers.providers.JsonRpcProvider('https://matic-mumbai.chainstacklabs.com');\n\nSAVE FILE , go to the shell then run the server:\n\nnpm run dev\n\nAdd the token smartcontract address to your wallet to see the token's.\n\nEnjoy!!\n############################################################\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet2devcrypto%2Fsimple-erc20-airdropserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnet2devcrypto%2Fsimple-erc20-airdropserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet2devcrypto%2Fsimple-erc20-airdropserver/lists"}