Skip to content

CPChain/cpchain-dapps-red-packet

Repository files navigation

Red Packet Contract for Group Chat

This is a dapp for creating and grabbing red packets(luck money). This is the first application on Group chat.

Setup

npm install

# test
truffle test

Message

The message from red packet send to the group chat.

{
    "message": {
        "seq": 1
    },
    "type": "redpacket",
    "version": "2.1"
}


Releases

No releases published

Packages

No packages published