Sentio Docs
Ask or search…
⌃K
⚙️

Simulation

The Sentio simulator allows you to run simulations quickly and inspect the simulation result with great detail.
You could quickly start the simulation as follows or calling API.

From existed transaction

The simplest way to start a simulation is to click the simulator button as shown below, on a transaction that is been browsed.
In this case, it will copy all the parameters from the existing transaction and you could make adjustments on top of it. Like block number, block index, gas fee, block header, state, etc.
Click the simulate transaction button will save this run to the simulation history of your project and show you the result, just like what you see from the normal debugger UI.

Direct Build

You can also click the simulator button on the left navigation bar and go to the simulator page which shows all the history simulations. Click the simulation button on the right corner will pop a similar UI but without prepopulated transaction data.

Override Contract

Use the compilations tab to upload a local contract compilation folder. See Upload Compilation for more details.
​
​
When doing the simulation, choose the contract override.