Simple Vanilla JS web app that sends a mev-share bid to suave.
This project requires a local suave-geth devnet to be running. See instructions here to spin one up.
Start by building the library:
# in project root (suave-viem/)
bun install
bun run build
Next, go to the suave example and run ./deployContracts.sh
:
cd examples/suave
./deployContracts.sh
Next, install the project's dependencies.
cd ../suave-web-demo
bun install
Finally, run the webserver:
bun dev