Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 653 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 653 Bytes

suave-web-demo

Simple Vanilla JS web app that sends a mev-share bid to suave.

setup

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