{"id":20433898,"url":"https://github.com/flashbots/eip-712-swap-poc","last_synced_at":"2025-08-19T01:20:42.740Z","repository":{"id":37883423,"uuid":"476580322","full_name":"flashbots/EIP-712-swap-PoC","owner":"flashbots","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-17T22:08:56.000Z","size":2171,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-18T01:47:56.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flashbots.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-01T05:05:50.000Z","updated_at":"2024-06-16T16:44:46.000Z","dependencies_parsed_at":"2022-08-09T22:40:15.937Z","dependency_job_id":null,"html_url":"https://github.com/flashbots/EIP-712-swap-PoC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flashbots/EIP-712-swap-PoC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2FEIP-712-swap-PoC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2FEIP-712-swap-PoC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2FEIP-712-swap-PoC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2FEIP-712-swap-PoC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flashbots","download_url":"https://codeload.github.com/flashbots/EIP-712-swap-PoC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2FEIP-712-swap-PoC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271085996,"owners_count":24696808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T08:22:13.490Z","updated_at":"2025-08-19T01:20:42.696Z","avatar_url":"https://github.com/flashbots.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EIP-712 swap PoC\n\nUses strongly-typed signed messages to send \"Uniswap orders\" to a block builder (e.g. Flashbots).\n\n![i think this is how it works](/eip-712-diagram.png)\n\n## Helpful stuff\n\n* `contracts/` and `backend/` require that you `cp .env.example .env` and modify the contents to suit your needs\n\n* `yarn start` will run `backend` and `frontend`.\n\n* `cd contracts/ \u0026\u0026 yarn deploy-goerli`\n\n### Tokens with Uniswap liquidity on Goerli\n\n| Token | Address |\n| ----- | ------- |\n| MNY | 0x7ebC3778cF08f636805D9382D6c16e79ed9F370E |\n| MNY2 | 0x3041EfE098e2cde8420DD16c9fBF5bde630f6168 |\n| PMNY | 0xeBa14FbBbf1B10e7dB7EA5cAdDD52160aa8873f3 |\n| WETH | 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6 |\n\ngraph edges represent existing liquidity pools:\n\n![uniswap LP diagram](/uni-lp-diagram.jpg?raw=true)\n\n## TODO\n\n* [x] verify signed message\n* [x] upgrade signed message type to V4\n* [x] write smart contract (validator/executor) to decode tx and verify signature\n* [x] send to uniswap from (validator/executor)\n  * [x] implement v2 functions, use SwapRouter (v2 + v3) if possible\n* [ ] ~~send (validator/executor) tx to flashbots~~ (not important for PoC)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Feip-712-swap-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflashbots%2Feip-712-swap-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Feip-712-swap-poc/lists"}