Run Hello World!

Running the most important Hello World on Lilypad!

Before you run a Lilypad job, make sure you have Lilypad CLI installed and have set a WEB3_PRIVATE_KEY env variable in your environment.

Your WEB3_PRIVATE_KEY can be retrieved from the MetaMask account details menu. For more info, check out the official guide from MetaMask on how to get a your private key.

Run Cowsay

Run the command:

lilypad run cowsay:v0.0.4 -i Message="moo"

Wait for the compute to take place and for the results to be published:

View your results:

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

Last updated