๐Ÿƒ  Lilypad Project Report: June 19, 2023

๐Ÿƒ Lilypad Project Report: June 19, 2023

Working on integrating with IPC, planning Bacalhau CLI integration, HackFS Submissions are in, Developer Docs & new networks integrations!

ยท

5 min read

๐ŸŒ Overview

The main engineering focus last week was continuing work on IPC integration, as well as designing the first major change to MODICUM to enable you to launch jobs on it directly from the existing Bacalhau CLI.

We've accelerated our plans to get to testnet by mid-July!!

And we launched docs for the existing Lilypad v0 - see below! The plan is to enable users to continue use the same interfaces to trigger Bacalhau jobs via smart contract with the Lilypad v1 network, so we should be able to smoothly transition the community of builders on Bacalhau + Lilypad v0 (of which HackFS has brought many!) to the new Lilypad v1 network.

๐Ÿ—บ๏ธ Roadmap Released!

We're working to deploy a Modicum-based minimal Lilypad Testnet (Lilypad v1) over the next month. We will use trusted mediators in this network, but later decentralise this aspect moving into the launch of the next milestone - Lilypad Testnet v2.

โš’๏ธ Lilypad Engineering Update

๐Ÿ‘‰ IPC debugging

Integrating the MODICUM prototype with Interplanetary Consensus took up most of our engineering effort last week. We've had to put in quite a lot of workarounds in the code, mostly around retrying things on spurious errors, but are still blocked on a basic issue where we deploy a contract and then can't call a function on it. We're currently working on a minimal reproducer, which will help the IPC team narrow it down more quickly.

๐Ÿ‘‰ Filecoin data prep use case

We also made a decision - the first target use case for Lilypad v1 will be Filecoin data prep. Basically, onboarding large datasets onto Filecoin right now is slowed down by the client needing to do a lot of compute work to convert a set of input data files into car files and metadata needed for a deal engine to submit them to the network. Lilypad v1 will support crunching this data, assuming an S3-compatible storage interface, exposing an HTTP interface, all with re-runnable, hashable input data, deterministic compute and a built-in anti-cheating mechanism based on verification via replication. So users will be able to pay in FIL to do the compute-intensive step of preparing their data for Filecoin!

๐ŸŽ“ Lilypad Research Update

Continuing our work on autonomous agents, we are integrating out thoughts with traditional ideas in game theory and economics, as well as newer ideas that have emerged in recent years in the field of artificial intelligence. The combination of these ideas should result in a robust protocol that can not only handle anti-cheating and pricing mechanisms, but a host of other thorny issues in trustless and permissionless distributed computing as well.

On the topic of actually implementing these protocols, we are currently building on top of MODiCuM, a protocol for a distributed computing marketplace. Our current plan is to iterate on this protocol, for example, by replacing their Mediator (which is effectively a trusted third party), with a group of nodes, giving the protocol a BFT-ness that it didn't have before. This should bring us to a testnet as soon as possible.

๐ŸŒŸ Lilypad "All The Things" Update

This week, the Lilypad v0 docs were released in line with a deployment of the Lilypad bridge to multiple other networks in the ecosystem including Mantle, Polygon and Sepolia testnet - adding to the current deployment on the Filecoin Calibration Testnet and Filecoin mainnet.

The 3-week HackFS hackathon also finishes this week, with judging commencing on Wednesday for the $10,000 bounty of the top uses of Bacalhau and/or Lilypad.

๐ŸŽ‰ Lilypad now has docs!

Check out the docs - focussed currently on Lilypad v0. Lilypad v0 is a proof of concept that allows users to call Bacalhau jobs (on Docker or WASM) directly from their smart contracts! It was built to provide an initial solution to accessing off-chain verifiable compute via Bacalhau for web3 users and is the foundation for the Waterlily.ai Generative-AI Attribution app.

๐ŸŒ Lilypad v0 Network Compatibility

Chain Name

LilypadEvents Contract Address

RPC

ChainID

BlockExplorer

Faucet

Filecoin Calibration Net

0xdC7612fa94F098F1d7BB40E0f4F4db8fF0bC8820

https://api.calibration.node.glif.io/rpc/v0

314159 (0x4cb2f)

https://calibration.filscan.io/,

https://faucet.calibration.fildev.network/

Filecoin Mainnet

0xc18879C0a781DdFa0258302467687413AaD5a4E6

https://api.node.glif.io/rpc/v1, https://filecoin-mainnet.chainstacklabs.com/rpc/v1, https://rpc.ankr.com/filecoin

314 (0x13a)

https://fvm.starboard.ventures/, https://explorer.glif.io/, https://beryx.zondax.ch/, https://filfox.io/

Requires Filecoin token See docs

Mantle Testnet

0xdC7612fa94F098F1d7BB40E0f4F4db8fF0bC8820

https://rpc.testnet.mantle.xyz

5001 (0x1389)

https://explorer.testnet.mantle.xyz/

https://faucet.testnet.mantle.xyz/

Sepolia Testnet

0xdC7612fa94F098F1d7BB40E0f4F4db8fF0bC8820

see https://chainlist.org/chain/11155111

11155111 (0xaa36a7)

https://sepolia.etherscan.io/

https://www.infura.io/faucet/sepolia, https://sepoliafaucet.com/, https://sepolia-faucet.pk910.de/

Polygon Mumbai

0xdC7612fa94F098F1d7BB40E0f4F4db8fF0bC8820

see https://chainlist.org/chain/80001

80001 (0x13881)

https://mumbai.polygonscan.com/

https://faucet.polygon.technology/, https://mumbaifaucet.com/

๐Ÿ† HackFS Judging!

It has been inspiring to see an influx of ideas and innovations in both the Slack channel and looking through the dashboard of milestone submissions.

Some of our early checkins include projects building AI & ML DataDAOs and leveraging Bacalhau/Lilypad for training or analysis, including De- datacollabria and DatAgentDAO:

There's also projects building defi models and connecting to IPFS & databases like Tableland.

Stay tuned for the winner's update next week!

๐Ÿ”ฎ What's Next?

  • Get IPC team minimal reproducer

  • Progress on adapting Bacalhau CLI to MODICUM

  • More RL/AI/game theory research

  • Progress on whitepaper

  • HackFS winners!

โ˜Ž๏ธ Contact Us

๐Ÿ’ฌ Chat to us on Slack: https://bit.ly/bacalhau-project-slack #bacalhau-lilypad

Did you find this article valuable?

Support Lilypad Network by becoming a sponsor. Any amount is appreciated!

ย