How the giveaway works
Red Envelope presents each giveaway as an “envelope” with a defined total $GAS amount, a limited number of claim slots, and an expiry timer. Eligible users can claim an available slot and then open their envelope to reveal the $GAS reward.
The interface also displays the remaining $GAS in the pool and the number of claimed slots, allowing users to track participation as the envelope progresses.
Users can create their own red envelopes
Beyond Liao’s giveaway, Red Envelope also supports user-created envelopes. When creating an envelope, users can configure:
- Total $GAS to distribute
- Number of claim slots (up to one hundred)
-
$NEO Gate settings, including minimum $NEO required and minimum holding days
- Expiry (in hours)
- A custom blessing message
The app offers two envelope formats:
- Red Envelope Pool: $GAS is deposited into a pool and split across claim slots. Each claimant receives one claim $NFT, then opens it to receive $GAS. The $NFT remains transferable.
- Lucky $NFT: A single Lucky $NFT is passed along between holders. Each holder must open the envelope to receive a reward, then can pass it on. Any unclaimed $GAS can be reclaimed after expiry, while the $NFT remains transferable.
Built with Solidity on Neo N3
Red Envelope is also notable for its development stack. The contract was written in Solidity – the language most commonly associated with Ethereum smart contracts – and compiled for deployment on Neo N3 using the neo-solidity compiler.
Neo News Today previously reported that the neo-solidity compiler targets Solidity 0.8.x and outputs Neo N3-compatible .nef bytecode and .manifest.json files. The toolchain is designed to let developers write contracts using Solidity while deploying them natively on Neo N3, rather than requiring Neo’s native smart contract languages.
The compiler also detects common Ethereum token patterns such as ERC-20 and ERC-721 and maps them to Neo equivalents NEP-17 and NEP-11, supporting a workflow intended to make it easier for Solidity developers to build on Neo N3 using familiar conventions.
In this context, Red Envelope serves as a live, user-facing example of Solidity-authored code running as a Neo N3 contract through compilation rather than an EVM deployment environment.
The original announcement can be found at the link below:
https://x.com/r3ejimmy/status/2023363764364689554