- All Implemented Interfaces:
- Contract
public class HelloWorld
extends AbstractContract
Sample contract to demonstrate the basic operations
To trigger the contract, send a message transaction or transaction with attached message, set the recipient to the
contract runner account, set the message text to {"contract":"HelloWorld"}
In response the contract will send a message transaction back to the sender account.
Note the validation at the beginning, the code to create the new transaction and the usage of Json objects.