Skip to content

Latest commit

 

History

History

suave-web-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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