Hello, (cow) World!

A cowsay job

Run Hello, ๐Ÿฎ World! Job [CLI]

Ensure you have installed all requirements Installation (CLI)

  1. Start Docker

  2. Open a Terminal window and run the following command

  3. Make sure to have the following env in your shell session

export WEB3_PRIVATE_KEY=YOUR_PRIVATE_KEY
  1. Run lilypad

lilypad run cowsay:v0.0.1 -i Message="hello lilypad" 

(ensure your user is in the docker group if necessary on your platform) Output:

Lilypad: v2.0.0-d58a991

โ €โ €โ €โ €โ €โ €โฃ€โฃคโฃคโข โฃคโฃ€โ €โ €โ €โ €โ €
โ €โ €โ €โ €โขดโฃฟโฃฟโฃฟโฃฟโขธโฃฟโกŸโ €โ €โ €โ €โ €    โ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— 
โ €โ €โฃฐโฃฟโฃฆโก™โขฟโฃฟโฃฟโขธโกฟโ €โ €โ €โ €โข€โ €    โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ•šโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
โ €โขฐโฃฟโฃฟโฃฟโฃฟโฃฆโก™โฃฟโขธโ โข€โฃ โฃดโฃพโฃฟโก†    โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘
โ €โฃ›โฃ›โฃ›โฃ›โฃ›โฃ›โฃ›โ ˆโ €โฃšโฃ›โฃ›โฃ›โฃ›โฃ›โฃ›    โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘    โ•šโ–ˆโ–ˆโ•”โ•  โ–ˆโ–ˆโ•”โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘
โ €โขนโฃฟโฃฟโฃฟโฃฟโ Ÿโฃกโฃฟโขธโฃฎโกปโฃฟโฃฟโฃฟโฃฟโก    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
โ €โ €โขปโฃฟโกŸโฃฉโฃพโฃฟโฃฟโขธโฃฟโฃฟโฃŒโ ปโฃฟโกŸโ €    โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•   โ•šโ•โ•     โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ• v2
โ €โ €โ €โ ‰โขพโฃฟโฃฟโฃฟโฃฟโขธโฃฟโฃฟโฃฟโกทโ ˆโ €โ €                                                  
โ €โ €โ €โ €โ €โ ˆโ ™โ ›โ ›โ ˜โ ›โ ‹โ โ € โ €โ €โ €   Decentralized Compute Network  https://lilypad.tech

๐ŸŒŸ  Lilypad submitting job
2023-12-02T07:01:42+05:30 INF Decenter/lilypad/pkg/module/utils.go:149 > updating cached git repo=/tmp/lilypad/data/repos/bacalhau-project/lilypad-module-cowsay
๐Ÿค”  Results submitted. Awaiting verification...
๐Ÿค  Job submitted. Negotiating deal...
๐Ÿ’Œ  Deal agreed. Running job...
โœ…  Results accepted. Downloading result...
๐Ÿค”  Results submitted. Awaiting verification...
โœ…  Results accepted. Downloading result...

๐Ÿ‚ Lilypad job completed, try ๐Ÿ‘‡
    open /tmp/lilypad/data/downloaded-files/QmYiX2GkDDkqXGsnBaEUuGuNc93ZWoBWPNbNSz2AnFQcMk
    cat /tmp/lilypad/data/downloaded-files/QmYiX2GkDDkqXGsnBaEUuGuNc93ZWoBWPNbNSz2AnFQcMk/stdout
    cat /tmp/lilypad/data/downloaded-files/QmYiX2GkDDkqXGsnBaEUuGuNc93ZWoBWPNbNSz2AnFQcMk/stderr
    https://ipfs.io/ipfs/QmNjJUyFZpSg7HC9akujZ6KHWvJbCEytre3NRSMHzCA6NR

See the Results

  1. see the results by navigating to the IPFS CID Navigate to the IPFS CID result output in the Results -> https://ipfs.io/ipfs/QmNjJUyFZpSg7HC9akujZ6KHWvJbCEytre3NRSMHzCA6NR

This could take up to a minute to propagate through the IPFS network. Please be patient

  1. by navigating to the local folder

open /tmp/lilypad/data/downloaded-files/Qmay5vZ7u5jvn2VkAGMLkkYXGQQd5GFZFuHkbDEFYb5VeF

Here, you can view the stdout and stderr as well as the outputs folder for the run

% cat /tmp/lilypad/data/downloaded-files/QmYiX2GkDDkqXGsnBaEUuGuNc93ZWoBWPNbNSz2AnFQcMk/stdout

 _______________
< hello lilypad >
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Run Hello,๐Ÿฎ World! Job [Smart Contract]

Last updated

Logo