Divide it up into multiple contracts, remove unnecessary functions, use libraries
the problem is that the token uses DividendTracker for reflection and DividendTracker uses IterableMapping, i can't divide it in different contracts, in hardhat using optimise true and 200 runs works fine, but i don't know how to do it in ethers js
may I ask why you don't want to use hardhat or foundry or others tools?
becouse i'm deploying using telegram bot, users can deploy token easily using the bot, the bot was working fine with a simple token, but after adding Dividend Tracker it exceeds the limit, so I need use ethers js
btw noone blocks you from using hardhat anyway
Mmm on node script?
yes isn't hardhat for node?😜
Yes you're right xD
I solved using hardhat, thanks for your suggestion man 🤜🤛
Обсуждают сегодня