foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.

Home Page:https://foundry-rs.github.io/starknet-foundry/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a `deal` cheatcode for getting erc20 token

Arcticae opened this issue · comments

Which components does the task require to be changed? (think hard pls)

snforge

Description

It can be based on foundry, but the interface or name may vary if we want to change it.

We should consider some flexibility when it comes to address of the popular tokens (different addresses for different ETH/STRK tokens on different forked networks - we can provide some constants, or helper functions).

It should be implemented via a wrapper over store + load, and be working with standard tokens like STRK/ETH by default (taking into account the implementations they use)