1. Start the Micro-Rollup
2. Interact with the Micro-Rollup
The template comes with a simple HTTP server that can be used to interact with the rollup. It exposed 2 endpoints for getting current state and also sending new actions. There is also a test script that can be used to send a bunch of actions to the rollup. This script is located attest/stress-test.ts
. You can run it like so in a separate terminal:
3. Check the state
if you query thehttp://localhost:3000/
endpoint as a GET request on you should see something like this:
Congratulations! 🎉
This is your first Micro-Rollup.Next Steps
You can now start building your own rollup by modifying the code insrc/state.ts
and src/index.ts
files.