Trying to learn Solidity.

Playing around with ganache fork to give myself 100 eth to test.
whenever i navigate to a site like 1inch, the ganache instance hangs.

i imagine it's too many rpc calls for ganache to handle? is there a better way to test on mainnet? or am i doing something wrong?

I've been able to get a few txns through before it crashes and stops connecting to the ganache instance. Is it possible to test live sites like instadapp /1inch, etc, on a fork?

Sep 27, 2020, 12:00 PM
tried forking with infura, truffle teams, and alchemyapi, same result. now syncing a local fullnode to see if that will make it all work.
i've also read that it might be easier to 'unlock' any random account that has the tokens i want to dev with instead of trying to 'trade' them on my fork first. is that the way to go?
Sep 27, 2020, 12:04 PM
I just use ganache, it just creates some wallets and it seems to automate the process.
Just running a local testnet right on my machine
Sep 27, 2020, 12:27 PM
I'm a bit unsure what you are doing. If you use Ganache, did you just start your own blockchain? If yes, then naturally it doesn't have any of the contracts the mainnet has. So you should synchronize mainnet to a regular node, then import it into local Ganache and start testing
Sep 27, 2020, 12:32 PM
I might still be interested.
We're starting a DeFi incubator.
Sep 27, 2020, 1:58 PM
i guess i was trying to see if the mainnet apps would still work in my fork. I can spin up an empty instance no problem, but i wanted to write 'combo' type of contracts which interact with various mainnet protocols (testing flashloans, margin trades, etc)

When i navigate to existing mainnet apps with my forked ganache as the server in metamask, my usage is very limited and seems to lock up on sites that makes a lot of eth_call commands.
Sep 27, 2020, 2:08 PM

© 2024 Draquery.com All rights reserved.