Inspiration

Polyield was inspired by a major gap in the Polkadot ecosystem: despite Polkadot’s powerful native XCM, users still manage yields manually across parachains. With no native aggregator available, the opportunity to automate cross-chain yield optimization was clear.

Our goal: Build the first yield optimizer that uses XCM to deploy capital across parachains automatically, securely, and efficiently.


What We Built

Polyield is a cross-chain yield aggregator that discovers, evaluates, and deploys funds to the best yield opportunities across Polkadot parachains.

Core components include:

  • Cross-chain Yield Aggregator smart contract
  • XCM Manager for message execution
  • Strategy vaults (staking, LP, lending)
  • Risk-adjusted optimization engine
  • Next.js dashboard for visualizing yields and positions

How We Built It

  • Smart contracts in Solidity, compiled for PolkaVM
  • XCM interactions via the 0xA0000 precompile
  • Frontend built using Next.js, TypeScript, Tailwind

Challenges

  • Constructing and SCALE-encoding complex XCM messages
  • Simulating multi-parachain flows locally
  • Handling XCM-specific failures and callbacks
  • Creating a unified risk-scoring framework across parachains

What We Learned

  • Effective use of XCM for cross-chain automation
  • Differences between EVM execution and XCM failures
  • Designing safe cross-chain vaults and strategies
  • Building a usable interface for complex multi-chain logic

Polyield ultimately demonstrates how native cross-chain DeFi becomes possible when leveraging Polkadot’s architecture correctly.

Built With

Share this project:

Updates