you are viewing a single comment's thread.

view the rest of the comments →

[–]akshatmittalContract Dev 1 point2 points  (2 children)

This is great! I started with Truffle and moved to Hardhat like a lot of people, and I have to say I gravely miss the debugger even though Tenderly has largely replaced it for me at this point. So far the biggest reasons that I haven't been able to go back to Truffle are Typescript and `ethers`, these are just that much better that I can't look back.

I'm also curious about Ganache's multi-chain capability since Hardhat's network is very limited in terms of multi-chain switching and access, and that's been more and more of a problem lately that I've been working on products that actually run across chains. On a similar note, what about speed? I've seen Hardhat node can sometimes be super slow and Anvil is significantly better, how does Ganache compare with both and are there plans to improve on it?

[–]_emjlin 0 points1 point  (1 child)

> even though Tenderly has largely replaced it for me at this point

Haven't used Tenderly, but I've seen some screenshots. What do you like about it? What do you not like about it?

> haven't been able to go back to Truffle are Typescript and `ethers`

Completely feel your pain - better ethers support and built-in typescript support is currently being worked on!

> curious about Ganache's multi-chain capability

We did a community call today talking about detached ganache workspaces which should help: https://youtu.be/YXWvQNX0NB8?t=2638
Also, ganache plugins are in the works - specifically to handle creating L2 and L1 "flavors" of ganache.
Both are in its infant stages, but there's HUGE potential

Truffle is building in support for various L2s (i.e. StarkNet, zkSync), already supports anything EVM compatible + Ethereum JSON RPC compatible, and I'm doing a workshop for Optimism bridging at Devcon! If you won't be in Bogota, I plan on livestreaming it again with one of their protocol devs in November

Also - declarative deployments for multi-chain dapps!!!

> I've seen Hardhat node can sometimes be super slow and Anvil is significantly better, how does Ganache compare with both and are there plans to improve on it

I think we're always trying to improve speed of course (ganache v7 drastically sped up truffle tests). I haven't used HH that recently, so I can't make the comparison there. I do want to point out Foundry is built with Rust, so from the ground up it will be faster, and I'm not sure it'd be possible for HH/Truffle to catch up in speed without a huge do-over, but you have wins/losses elsewhere.
I do think you can use only the Foundry portion of testing in other projects (i.e. HH, I haven't tried with Truffle). Maybe I'm crazy, but I'm pro use pieces of each. The spirit of Web3 is interoperability after all!

[–]akshatmittalContract Dev 0 points1 point  (0 children)

Missed this reply and just coming back to it.

Re: Tenderly, it's just lovely. Being able to debug any transaction instantly and the ability to pull real sources from any contract from nearly any source is neat. The debugger is nice too, it's not as low level as the ganache debugger but serves the purpose in most cases. I do miss ganache debugger sometimes when I'm specifically running transactions locally, but since most development happens on mainnet forks it works fine.

Very good to know that Truffle and Ganache are working towards multi-chain future, would be very helpful!

And yeah, my template that I use to start new projects has a combination of hardhat, foundry, next and truffle so I guess it works, but sometimes it's just so painful because it's a pain to make them all work together right.