We’ve all read about the mempool, the infamous Dark Forest, where nothing is certain except getting front ran. The mempool is such a pain to deal with because it’s extremely hard to know what’s in there and how it’s going to affect the blockchain state. We’ve looked at our Simulator and thought:
You want to simulate the execution of your smart contract code on the mainnet without actually deploying it to the mainnet? Done.
You want to simulate the execution of several contracts in a chain of transactions, and see how it affects various on-chain states? Also done.
You would like to see all the pending transactions in the mempool, as well as their expected outcomes using the most recent blockchain state, on all supported networks? You can now do that on Tenderly as well, with the addition of mempool support.
So, this is the Tenderly Simulator?
Yes it is, and as always, there is more. If you have a live product, you might find yourself in a situation where you want to monitor and react to certain interactions within your system. Monitoring your contracts or wallets one by one is both tedious and counterproductive compared to a detailed, system-wide overview. By adding all entities you want to monitor to your Tenderly project, you will be able to see all relevant in-flight data for your system, including various function calls and simulated mempool transaction outcomes, so you know what will happen even before it actually happens on-chain. All of this is in addition to the already versatile Tenderly monitoring.
Alternatively, you can choose the starting point for your simulations to be either the pending block, which will slot your simulation into the next block to be mined, or any historical block going back to when the network you are working on first went live.
What if I want to use Tenderly in a live production environment?
You are able to react to anything you deem relevant or critical by setting up custom triggers and getting alerted via any channel you or your team use. When the transaction is mined and you get alerted, you will be able to jump into Tenderly and react manually, or even better - set up automated Actions, which can help you handle critical (or any) events that your system encounters so you can sleep soundly knowing Tenderly has got you covered.
Moreover, we are working on enabling you to set up alerts and actions for transactions that are still pending in the mempool, where Tenderly will simulate the expected outcomes, notify you and even let you automatically react before it actually happens.
You can also jump into the Debugger at any point and see every single thing that happened in call and function traces, with comment and priority features for much easier collaboration.
Tenderly is the only blockchain development platform which provides this level of detail, for both historical on-chain and current mempool data - decoding everything without compromise, no matter what you are building.
If you need access to the whole simulated mempool, ping us here - we know that projects often need tailored solutions which we can provide.