You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 contractSteps:
The text was updated successfully, but these errors were encountered: