-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
dev-toolingkusama hackathon track 3kusama hackathon track 3kudosAvailable on the Kudos Platform: https://www.morekudos.com/Available on the Kudos Platform: https://www.morekudos.com/
Description
Precompile Interface Library for PolkaVM
- 🛠 Track: Smart Contract Development Tools
📝 Summary
Background
PolkaVM exposes custom system-level functionality via precompiled contracts, such as future support for XCM, staking, or governance hooks. Solidity developers need ABI-safe interface wrappers to use these without relying on raw calldata.
Project Summary
Build a Solidity library that defines typed interfaces to Polkadot-specific precompiles. Package as an npm module or GitHub repo that developers can import in Hardhat/Foundry projects.
💡 Value to Polkadot
Encourages developers to integrate advanced chain features safely and predictably. Lowers barrier to using powerful native Polkadot infrastructure from Solidity.
✅ Feasibility (MVP in 3 Days)
- Start with 1–2 known precompiles (e.g. xcmTransact, staking proxy).
- Use mock addresses and ABI from documentation.
- Validate interface against known examples.
⚙️ Proposed Approach
- Define Solidity interface(s) for precompile functions.
- Provide usage examples in a Hardhat/Remix project.
- Add simple test stubs (mock contract calls).
- Publish code as repo or npm package.
📦 Deliverables
- Solidity interface file(s)
- Example project demonstrating usage
- README with:
- Method signatures and descriptions
- Deployment/usage examples
Metadata
Metadata
Assignees
Labels
dev-toolingkusama hackathon track 3kusama hackathon track 3kudosAvailable on the Kudos Platform: https://www.morekudos.com/Available on the Kudos Platform: https://www.morekudos.com/