Run Hello World!

Running the most important Hello World on Lilypad!

Make sure you have Lilypad CLI installed and have set a WEB3_PRIVATE_KEY env variable in your environment

A WEB3_PRIVATE_KEY can be retrieved from the Metamask account details menu. For more info, check out this official guide from Metamask on viewing a wallet's private key.

Run Cowsay

  1. Run the command below

lilypad run cowsay:v0.0.4 -i Message="moo"
  1. Wait for the compute to take place and for the results to be published

  1. View your results

cat /tmp/lilypad/data/downloaded-files/Qma2Ds9uGmtDd3GkerqqKLJe9TjcZC4yxuGRUaFBsQi7yr/stdout

Last updated

Logo