dojo icon indicating copy to clipboard operation
dojo copied to clipboard

Add support for paying fee using STRK

Open dkatzan opened this issue 1 year ago • 3 comments
trafficstars

Starknet have recently released transactions v3, where fees are paid with STRK instead of ETH currently when starting katana, it is setting up the fee paying token as ETH with the hardcoded address of ETH on mainnet 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 and it also funds the funded addresses with that token

it would be nice to add a config flag to start katana with STRK instead i.e the fee paying token should be at address 0x04718f5a0Fc34cC1AF16A1cdee98fFB20C31f5cD61D6Ab07201858f4287c938D instead and it wil have the relevnat name and symbol of STRK instead of ETH

prehaps an option flag that can accept one of 2 values --fee-paying-token STRK --fee-paying-token ETH

where --fee-paying-token ETH is the default to remain backward compatible thx

dkatzan avatar Sep 10 '24 11:09 dkatzan