Skip to main content
Stackr allows applications to perform their own ordering of the actions inside the block It comes with a basic sequencer which can be extended to perform more complex ordering.

Strategies

The basic sequencing strategy bundled with the SDK is the FIFO strategy. It does nothing tbh.

Custom strategies

You can create your own strategy by extending the BaseStrategy and overriding the orderTxLogic class and pass it on to the rollup. Example:
Not sure why but you can randomize the order of the actions inside the block like this 🤷🏻‍♂️