KlaytnGreeter
KlaytnGreeter
is a simple contract that returns a greeting message. Greeting message is set when the contract is deployed.
Writing KlaytnGreeter
Deploying KlaytnGreeter using Klaytn IDE
Please visit the Klaytn IDE website and create a
KlaytnGreeter
contract. The complete source code was given in the above.Prepare your account which will be used to deploy the contract.
If you do not have an account yet, create one at https://baobab.wallet.klaytn.com/create
Get some test KLAY from the faucet - https://baobab.wallet.klaytn.com/faucet
Deploy the contract with initial parameter, a greeting message.
After deploying, you can invoke
greet
from the IDE.
References
For the details of contract deployment and the Klaytn IDE usage guideline, please refer to the following documents.
Last updated