The project is based on the original code: https://github.com/DimensionDev/RedPacket/. And make the red packet support on Solana network.
anchor build
anchor test
** right now, withdraw test pass will fail, because time check. Maybe need to use bankrun to rewrite withdraw test.
Any contribution is welcomed to make it better.
If you have any questions, please create an issue.
If you have any security issue, please send to [email protected].
- claimer can specify a recipient account instead of the claimer's account itself
- NFT red packet