{"id":19374906,"url":"https://github.com/dappcoderr/uniswap_v1","last_synced_at":"2026-04-15T07:38:57.083Z","repository":{"id":216502148,"uuid":"741497731","full_name":"DappCoderr/Uniswap_V1","owner":"DappCoderr","description":"Uniswap v1: Effortlessly swap tokens with Ethereum using its liquidity-rich smart contract. Simplifying decentralized finance with ease and efficiency.","archived":false,"fork":false,"pushed_at":"2024-04-04T17:07:05.000Z","size":295,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T22:29:23.684Z","etag":null,"topics":["blockchain","defi","ethereum","hardhat","solidity-contracts","uniswap-exchange","uniswap-v1"],"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/DappCoderr.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-10T14:18:16.000Z","updated_at":"2024-01-16T14:11:23.000Z","dependencies_parsed_at":"2024-01-10T16:48:04.133Z","dependency_job_id":"96900347-cd9c-498c-810f-ee676fbe918d","html_url":"https://github.com/DappCoderr/Uniswap_V1","commit_stats":null,"previous_names":["dappcoderr/uniswap_v1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DappCoderr/Uniswap_V1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FUniswap_V1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FUniswap_V1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FUniswap_V1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FUniswap_V1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DappCoderr","download_url":"https://codeload.github.com/DappCoderr/Uniswap_V1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DappCoderr%2FUniswap_V1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31831849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["blockchain","defi","ethereum","hardhat","solidity-contracts","uniswap-exchange","uniswap-v1"],"created_at":"2024-11-10T08:36:30.332Z","updated_at":"2026-04-15T07:38:57.062Z","avatar_url":"https://github.com/DappCoderr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decentralized Exchange (DEX) like Uniswap v1\n\n## Introduction\n\nThis project aims to guide developers in building a decentralized exchange (DEX) reminiscent of Uniswap v1. The DEX facilitates the exchange of Ethereum (ETH) with a custom ERC-20 token. The implementation includes key features such as token swapping, liquidity provision, a fee on swaps, and the ability for Liquidity Providers (LPs) to redeem their tokens for ETH and the custom token.\n\n## Build Process\n\n### 1. **Hardhat Setup:**\n\n- Created a new project folder and configured a Hardhat environment.\n- Installed necessary dependencies, including Hardhat, Hardhat Toolbox, OpenZeppelin contracts.\n\n### 2. **ERC-20 Token Contract:**\n\n- Developed an ERC-20 Token contract (Token.sol) representing the custom token for swapping.\n- The ERC-20 contract includes basic functionalities, such as minting initial tokens to the contract creator.\n\n### 3. **Exchange Contract:**\n\n- Implemented an Exchange contract (Exchange.sol) responsible for managing token swaps, liquidity provision, and LP token handling.\n- Features of the Exchange contract include:\n  - ETH \u003c\u003e TOKEN swapping with a 1% fee on transactions.\n  - LP token issuance to users providing liquidity.\n  - LP token redemption, allowing users to burn tokens and receive back ETH and TOKEN.\n\n### 4. **Deployment:**\n\n- Developed a deployment script (deploy.js) to deploy both the ERC-20 Token and Exchange contracts using the Hardhat framework.\n- Verified the deployed contracts on Etherscan to ensure transparency and reliability.\n\n### 5. **Testing on Etherscan:**\n\n- Interacted with the deployed contracts on the Sepolia Testnet through Etherscan.\n- Conducted various tests, including adding liquidity, swapping ETH to TOKEN, TOKEN to ETH, and LP token redemption.\n- Verified that the contracts functioned as expected and provided the intended decentralized exchange experience.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappcoderr%2Funiswap_v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappcoderr%2Funiswap_v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappcoderr%2Funiswap_v1/lists"}