An open API service indexing awesome lists of open source software.

https://github.com/devlyn37/relay-rs


https://github.com/devlyn37/relay-rs

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Relay

An Ethereum Transaction Relay that:
- Manages the nonce of a single address
- Makes sure transactions get included

## Routes

`POST /transaction`

`GET /transaction/:id`

## Database Setup

This Project uses `MySQL` and `sqlx` right now.

First, make sure to set `DATABASE_URL` in `.env`

next, install sqlx-cli
```
cargo install sqlx-cli
```

run migrations
```
sqlx migrate run
```

You're good to go, everything should compile at this point!

## Making Schema Changes

Create a new migration file

```
sqlx migrate add
```

Then add SQL to the newly created file.
## TODO
- Init/Recovery Sequence
- Multiple Addresses
- Multi Chain
- Make sure gas estimation works reasonably across 1559 chains (looking at you polygon)
- All EVM Chains