Uses strongly-typed signed messages to send "Uniswap orders" to a block builder (e.g. Flashbots).
-
contracts/
andbackend/
require that youcp .env.example .env
and modify the contents to suit your needs -
yarn start
will runbackend
andfrontend
. -
cd contracts/ && yarn deploy-goerli
Token | Address |
---|---|
MNY | 0x7ebC3778cF08f636805D9382D6c16e79ed9F370E |
MNY2 | 0x3041EfE098e2cde8420DD16c9fBF5bde630f6168 |
PMNY | 0xeBa14FbBbf1B10e7dB7EA5cAdDD52160aa8873f3 |
WETH | 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6 |
graph edges represent existing liquidity pools:
- verify signed message
- upgrade signed message type to V4
- write smart contract (validator/executor) to decode tx and verify signature
- send to uniswap from (validator/executor)
- implement v2 functions, use SwapRouter (v2 + v3) if possible
-
send (validator/executor) tx to flashbots(not important for PoC)