-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
dev-toolingkusama hackathon track 3kusama hackathon track 3
Description
Substrate & EVM Hybrid DApp Toolkit
- π Track: Smart Contract Development Tools
π Summary
Background
Polkadot dApps can combine runtime (Substrate) features with EVM-based contracts on PolkaVM. However, developers typically need to stitch together Polkadot API or Polkadot.js and ethers.js/viem manually. This project aims to simplify hybrid dApp development.
Project Summary
Develop a toolkit or library that exposes common utilities for interacting with both Substrate pallets (via the Polkadot API) and EVM contracts (via ethers or viem) in a single frontend. Include wallet connection logic, unified account handling, and examples.
π‘ Value to Polkadot
Bridges the tooling gap between Polkadot-native features (like governance, staking, or identity) and EVM-compatible smart contracts. Makes hybrid applications easier to build and maintain.
β Feasibility (MVP in 3 Days)
- Focus on a handful of utility functions (e.g. read native balance, call contract)
- Use known libraries (ethers + papi or polkadot.js)
- Provide demo frontend for test interaction
βοΈ Proposed Approach
- Create a JS/TS utility library that exports functions:
- getPolkadotBalance()
- getEvmTokenBalance()
- sendContractTx()
- fetchSubstrateEvents()
- Set up unified wallet connection using Talisman or MetaMask
- Build a demo React UI to showcase both types of interactions
- Document integration examples
π¦ Deliverables
- NPM package or GitHub repo with utility lib
- Demo frontend or Storybook-style demo
- README with:
- Setup steps
- Example hybrid calls
- Known caveats
Metadata
Metadata
Assignees
Labels
dev-toolingkusama hackathon track 3kusama hackathon track 3