This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
feat: multicall cairo precompile #1464
Closed
Description
Feature Request
Create a precompile multicall that receive an array of (contract address, selector, calldata)
and execute those starknet calls. It can only be called through a normal call and not delegatecall. This will allow to craft directly in the frontend starknet transaction with starknet sdk leading to a generic integration of every starknet contract
Steps:
- create precompile.
- Add test:
- deploy a starknet contract and craft a starknet transaction: a simple one would to query the balance of several starknet tokens or a approve of token
- craft a multicalll transaction to the multicall contract and execute it
Metadata
Metadata
Assignees
Labels
No labels