Files
OpenLearnX/chatApp/chatApp.sol
0x5t4l1n df420e8331 update
Signed-off-by: 5t4l1n <stalin78830@gmail.com>
2025-09-14 16:41:18 +05:30

13 lines
305 B
Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract Payment{
event message(address indexed from ,string message ,address to,string timestamp);
function sendMessage(address _to,string memory _message,string memory time) public {
emit message(msg.sender,_message,_to,time);
}
}