Giter VIP home page Giter VIP logo

uniktop / suave-geth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flashbots/suave-geth

0.0 0.0 0.0 180.33 MB

Home Page: https://collective.flashbots.net/t/suave-centauri-open-sourcing-suave-geth/2196

License: GNU Lesser General Public License v3.0

Shell 0.24% JavaScript 3.28% Python 0.08% C 5.00% Java 0.22% Go 89.35% Assembly 0.70% Makefile 0.07% HTML 0.09% Smarty 0.02% NSIS 0.17% M4 0.19% Dockerfile 0.01% Sage 0.22% Solidity 0.35%

suave-geth's Introduction

SUAVE

Goreport status CI status

SUAVE is designed to decentralize the MEV supply chain by enabling centralized infrastructure (builders, relays, centralized RFQ routing, etc.) to be programmed as smart contracts on a decentralized blockchain.

suave-geth is a work-in-progress Golang SUAVE client consisting of two separable components: chain nodes and execution nodes. SUAVE clients offer confidential execution for smart contracts, allowing confidential processing with extended precompiles for enhanced MEV functionalities, including transaction simulation via geth RPC, block building, and relay boosting, all handled by dedicated execution nodes.

For a deeper dive, check out the following links:


Getting Started

Starting a local devnet

You can use suave-geth to start a local SUAVE devnet.

There's multiple ways to get suave-geth:

  1. Install the latest release binary
  2. Build from source
  3. Use Docker

Install the latest suave-geth release binary

curl -L https://suaveup.flashbots.net | bash

Building from source

# build the binary
$ make suave

Now you can go to /build/bin and:

Start the local devnet like this:

$ ./suave-geth --suave.dev

Start the Rigil testnet like this:

$ ./suave-geth --rigil

Using Docker

# spin up the local devnet with docker-compose
$ make devnet-up

# check that the containers are running
$ docker ps

# you can stop the local devnet like this
$ make devnet-down

Testing the devnet

Create a few example transactions:

$ go run suave/devenv/cmd/main.go

Execute a RPC request with curl like this:

$ curl 'http://localhost:8545' --header 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"eth_blockNumber", "params":[], "id":83 }'

What next?

  • suapp-examples is a collection of example SUAVE apps and boilerplate to get started quickly and right-footed.
  • suave-specs is the spec repository for SUAVE which contains all the technical documentation.

suave-geth's People

Contributors

obscuren avatar karalabe avatar fjl avatar holiman avatar tgerring avatar zelig avatar rjl493456442 avatar cjentzsch avatar debris avatar mariusvanderwijden avatar zsfelfoldi avatar gballet avatar ferranbt avatar nonsense avatar s1na avatar ucwong avatar janos avatar jsvisa avatar acud avatar gluk256 avatar renaynay avatar gavofyork avatar arachnid avatar lightclient avatar vbuterin avatar aaronbuchwald avatar s7v7nislands avatar holisticode avatar cubedro avatar ligi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.