Defining good behavior for just-in-time liquidity bots

Role of JIT bots in the Mosaic ecosystem

  • Single-sided liquidity provisioning, which means community members can provide liquidity just for one asset;
  • Liquidity forecasting leveraging machine learning, which allows Mosaic to forecast liquidity shortfalls and rebalances its vaults proactively;
  • Rebalancing of its vaults through external bridges such as Connext or Hop.

Desirable features for the cross-chain liquidity marketplace

Capital efficiency

Decentralization

Desirable features for JIT bots

Provide Liquidity Just In Time

Provide Just Enough Liquidity

Withdraw Liquidity Just In Time

Reap benefits of cross chain extractable value

  • Provide and withdraw liquidity to the same network (Strategy 1)
  • Use the API in the active liquidity SDK to check for lowest network fees for withdraw and then withdraw to where the fee is lowest (Strategy 2)
  • Set a network to withdraw to and wait for when the fee is below a certain threshold, which allows you do transfer to another chain while earning a fee (Strategy 3)
  • Set up two bots on different networks and loop the liquidity provisioning/withdrawal strategis. Provide liquidity on network A, withdraw to B, use the liquidity to provide liquidity on A, then withdraw on A, and repeat (Strategy 4)
  • Convert part of the liquidity to native gas tokens for lower network fees. (Strategy 5)

Conclusion

The face of DeFi's future.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Manipulating Files With Python

Top Database APIS For Your Developers Toolkit

Integrating Etsy sale alerts to Discord

How To Install SQL Server on Docker

Discover the 5 Reasons to Adopt Ruby on Rails

Essential journey and metrics for mobile application

Multilingual Notebooks: A Polyglot’s Playground

Oly Sport Development Update #3

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Composable Finance

Composable Finance

The face of DeFi's future.

More from Medium

PHA/kUSD Bootstrap and Liquidity Incentive Program to be launched on Karura Swap

Using Moonbeam’s On-chain Democracy with MetaMask Through Polkassembly

Bi-weekly Dev Log #2

Turing Network Crowdloan Guide