{"id":23201571,"url":"https://github.com/allan7yin/middlemandapp","last_synced_at":"2026-04-11T03:35:00.573Z","repository":{"id":189608211,"uuid":"658090357","full_name":"allan7yin/middleManDapp","owner":"allan7yin","description":"Middlware application for web3 - A smart, safer scam-blocking ETH JSON-RPC","archived":false,"fork":false,"pushed_at":"2023-08-21T00:08:20.000Z","size":16920,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T20:49:26.208Z","etag":null,"topics":["metamask","nodejs","react","rpc-server","tenderly","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/allan7yin.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,"governance":null}},"created_at":"2023-06-24T18:27:52.000Z","updated_at":"2023-06-29T14:42:00.000Z","dependencies_parsed_at":"2023-08-21T00:44:40.228Z","dependency_job_id":null,"html_url":"https://github.com/allan7yin/middleManDapp","commit_stats":null,"previous_names":["allan7yin/middlemandapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allan7yin%2FmiddleManDapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allan7yin%2FmiddleManDapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allan7yin%2FmiddleManDapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allan7yin%2FmiddleManDapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allan7yin","download_url":"https://codeload.github.com/allan7yin/middleManDapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318689,"owners_count":20919479,"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","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":["metamask","nodejs","react","rpc-server","tenderly","web3"],"created_at":"2024-12-18T15:15:50.710Z","updated_at":"2025-12-30T23:07:22.262Z","avatar_url":"https://github.com/allan7yin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MyMiddleMan\n\nSubmission for [ETHGlobal Waterloo 2023 Hackathon](https://ethglobal.com/showcase/mymiddleman-e0ps2). This poject is a web3 middleware application aimed to provide security to user transaction occurred on the blockchain. Using Tenderly to simulate and test a virtual transaction our product aims to guarantee 100% safe User transaction.\n\n### Description\n\nWe act as a middleman, every communication that occurs between a user and the blockchain through a wallet ([MetaMask](https://metamask.io)) occurs through our platform. We insure each transaction is scam free by using a stable and versatile platform called Tenderly. Tenderly provides a simulation that runs the transaction on a virtual fork of the blockchain allowing the users to remove the barrier between a transaction and its execution.\n\n### How it's Made\n\nFirstly some of our tech stacks include `node.js`, `react`, and `web3` frameworks. We made a custom rpc server in `node.js` that is able to directly connect to `MetaMask` which for the sake of the hackathon connects to the `Sepolia` test net for development and testing purposes. Using the latest frameworks we received the data from `MetaMask` requests and send it directly to tenderly in the right format which simulates it in a forked blockchain. Next `tenderly` returns the results which we store in a database(`SQLite`) and it is inflected in a user interface on our website allowing the user to clearly analyze the impact of their transaction. Lastly, the User can click on the submit transaction button if they feel safe to commit the transaction given the result of the simulation.\n\n### Prerequisities\n\n- Have `Metamask` Account\n- Make `Infura` account (will provide `0.5 ETH` for mock usage on forked blockchain)\n\n### How to Run\n\n1. First clone the project\n\n```\ngit clone https://github.com/allan7yin/middleManDapp.git\n```\n\n2. Navigate to backend folder and install dependneices\n\n```\nnpm install\n```\n\n3. Configure environment variables in `.env`. To do so, will need to create account with [Tenderely](https://tenderly.co). Within [Tenderely](https://tenderly.co), create a project, create virtual fork of blockchain on testing network `Sepolia`. For that project, obtain `api key`, and place into `.env`.\n4. Once configured, run application (default is port `3000`)\n\n```\nnpm start\n```\n\n5. Navigate to frontend folder and install dependencies\n\n```\nnpm install\n```\n\n6. Run the fronend (default is port 3001)\n\n```\nnpm run start\n```\n\nOpen `MetaMask` in your browser extension, and add the network as the backend server. By default the parameters are:\n\n- `Network Name:` (your choice)\n- `New RPC URL: http://localhost:3000`\n- `Chain ID: 11155111` (since `Sepolia` test network is used)\n- `Currency Symbol: ETH`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallan7yin%2Fmiddlemandapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallan7yin%2Fmiddlemandapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallan7yin%2Fmiddlemandapp/lists"}