{"repo":"DimensionDev/RedPacket","free":true,"listed":false,"github":"https://github.com/DimensionDev/RedPacket","clone":"git clone https://github.com/DimensionDev/RedPacket.git","description":null,"language":"TypeScript","stars":18,"topics":["smart-contracts","solidity","redpacket"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"RedPacket Introduction This project( RedPacket smart contract) is a Dapplet based on the Mask browser extension. Inspired by Red Packet. It enables you to put cryptocurrency tokens(ETH or ERC-20) into red packets and send them to your friends and family. Besides, Mask Network developed a new red packet for ERC721/NFT token. Getting Started This is a hardhat project. To install required node.js modules To compile the solidity source code To run ERC20 RedPacket unit test To run ERC721/NFT RedPacket unit test To deploy the smart contract on Ethereum ropsten testnet NOTE: Before run deploy scripts, please configure the .env file according to .env.example file. - For verify : if set false , the contract won't be verified during deployment, and vice versa. - For upgrade : if set false , the script will deploy a new contract on the specified chain. Otherwise, the script will upgrade the contract. If you don't configure the .env file properly, the script will deploy a new contract and won't verify contract by default; Deployed Contract Address Chain HappyRedPacket HappyRedPacket ERC721 ------------------- -------------------------------------- ----------------------------------------- mainnet [ 0xaBBe1101 ][rp-mainnet] [ 0x8d285739 ][rp721-mainnet] ropsten [ 0x0722507c ][rp-ropsten] [ 0x8fF42e93 ][rp721-ropsten] bsc [ 0x0ca42C17 ][rp-bsc] [ 0xf8968e1F ][rp721-bsc] matic [ 0x93e0b87A ][rp-matic] [ 0xf6Dc0427 ][rp721-matic] arbitrum rinkeby [ 0x4A77E797 ][rp-arbitrum rinkeby] arbitrum ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DimensionDev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DimensionDev/RedPacket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}