Skip to main content


  • Team Name: Polytope Labs
  • Payment Address: 0x486cbad2d704bc76f8d0cdda6aa93c94d53297b9 (Ethereum DAI)
  • Level: 2

Project Overview 📄


This project aims to deliver an implementation of the parity trie verifier as required by state proof checking algorithms (read_child_proof_check, read_proof_check_on_proving_backend) in the Solidity programming language, which would include various sub implementations (for example NodeCodec for both layoutv0 & layoutv1) required to build trustless bridging protocols from the Polkadot ecosystem to the EVM ecosystem.

Goal: To create a primitive for more generalized bridging protocols like IBC, it is more efficient to verify Parachain state/storage than to use custom implementations which Darwinia and Snowfork do.

Project Details


function VerifyProof(root bytes32, proof bytes[], keyValues KeyValue[]) public external returns (bool)

struct KeyValue {
key bytes;
value bytes;

Technology Stack

  • Solidity

Team 👥

Team members

  • Seun Lanlege,
  • Sam Omidiora, Femi Bankole


  • Registered Address: Harneys Fiduciary (Cayman) Limited, 4th Floor, Harbour Place, 103 South Church Street, Cayman Islands
  • Registered Legal Entity: Polytope Labs Ltd.

Team's experience

Polytope Labs is a collective of core blockchain engineers, researchers & scientists from varying blockchain protocol backgrounds passionate about the proliferation of networks over platforms and enabling this future through blockchain research & education, tooling and core infrastructure development.

  • Seun Lanlege: Previously core developer at Parity Tech, Ethereum and Polkadot with over 4 years of industry experience, core contributor of the code utilized by the ecosystem who recently joined the Polkadot fellowship program and Mad Scientist at Polytope Labs.
  • Sam Omidiora: Senior Blockchain Engineer with over four years of industry experience, previosly at Aave, Ambire and Advanced Blockchain working with the solidity programming language and Lab Scientist at Polytope Labs.
  • Femi Bankole: Blockchain engineer at Matchx_iot + MXC Foundation and Lab Intern at Polytope Labs.

Team Code Repos

Team GitHub Profiles

Team LinkedIn Profiles

Development Roadmap 🔩


  • Total Estimated Duration: 6 Weeks
  • Full-Time Equivalent (FTE): 2.5 FTE
  • Total Costs: 30,000 USD

Milestone 1 Implementation

  • Estimated duration: 6 Weeks
  • FTE: 2.5
  • Costs: 30,000 USD
0a.LicenseApache 2.0
0b.DocumentationA documentation on how to use this library in form of a README on the project repository.
0c.Testing and Testing GuideCore functions will be fully covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests.
0d.DockerWe will provide a Dockerfile(s) that can be used to test all the functionality delivered with this milestone.
0e.ArticleWe will publish an article that covers what was done/achieved as part of the grant.
1Solidity SCALE CodecThis will include support for enum{option/result}, Vec<Vec<u8>> decoding and other types required for verifying state proofs as current implementations(Darwinia, Snowfork) don't support.
2.KeyspacedDBProvide the solidity implementation of the following;
3.MemoryDBProvide the solidity implementation of the following;
4.NodeCodecProvide solidity implementation of the following;
5.NodeProvide the solidity implementation of the following;
6.NodePlanProvide the solidity implementation of the following;
7.NodeHeaderProvide the solidity implementation of the following;
8.NibbleSlicePlanProvide the solidity implementation of the following;
9.NibbleSliceProvide the solidity implementation of the following;
10.Layoutv0Provide the Solidity implementation of following;
11.Layoutv1Provide the Solidity implementation of the following; .
12.Trie VerifierProvide the Solidity implementation of the following;

Additional Information ➕

How did you hear about the Grants Program? Web3 Foundation Website.