Pattern α : Bob and Alice have already done the initial DMTP setup.

{ "messages":"ENCRYPTED_MESSAGE_WITH_COMBINE_KEY", "sender": "SENDER_WALLET_ADDRESS", "receiver": "RECEIVER_WALLET_ADDRESS", "timestamp": "TIMESTAMP" }{ "ROOM_ID_A": ["CID", "CID", "CID", "CID", "CID"], "ROOM_ID_B": ["CID", "CID", "CID", "CID", "CID"], "ROOM_ID_C": ["CID", "CID", "CID", "CID", "CID"], }string[] cids; function storeCID(string memory _cid) public onlyOwner{ cids.push(_cid); }
Last updated