{"id":30741787,"url":"https://github.com/smitbhuva15/cap-stone","last_synced_at":"2026-04-10T15:06:11.321Z","repository":{"id":305540784,"uuid":"1020964165","full_name":"Smitbhuva15/Cap-Stone","owner":"Smitbhuva15","description":"capXchange is a decentralized exchange (DEX) that enables secure deposit and withdrawal of ERC-20 tokens. Users can create, cancel, or fill token swap orders while maintaining fairness, as only creators can cancel their trades. A small fee is applied on each successful transaction, rewarding the exchange owner.","archived":false,"fork":false,"pushed_at":"2025-09-02T13:18:14.000Z","size":2266,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T14:23:16.404Z","etag":null,"topics":["apexcharts","chai","etherjs","hardhat","reactjs","redux-toolkit","solidity","tailwind-css"],"latest_commit_sha":null,"homepage":"https://capxchange.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Smitbhuva15.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-16T16:59:58.000Z","updated_at":"2025-09-02T13:18:17.000Z","dependencies_parsed_at":"2025-08-17T18:04:05.641Z","dependency_job_id":"2119809a-f997-48d6-8ea8-f12fb14fa846","html_url":"https://github.com/Smitbhuva15/Cap-Stone","commit_stats":null,"previous_names":["smitbhuva15/cap-stone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Smitbhuva15/Cap-Stone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitbhuva15%2FCap-Stone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitbhuva15%2FCap-Stone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitbhuva15%2FCap-Stone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitbhuva15%2FCap-Stone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smitbhuva15","download_url":"https://codeload.github.com/Smitbhuva15/Cap-Stone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smitbhuva15%2FCap-Stone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273534565,"owners_count":25122679,"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-09-03T02:00:09.631Z","response_time":76,"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":["apexcharts","chai","etherjs","hardhat","reactjs","redux-toolkit","solidity","tailwind-css"],"created_at":"2025-09-04T01:02:11.453Z","updated_at":"2025-12-30T21:31:13.079Z","avatar_url":"https://github.com/Smitbhuva15.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":" \n  \u003ch1 align=\"center\"\u003ecapXchange\u003c/h1\u003e\n\n\n\u003cbr\u003e\n\n- capxchange is a **decentralized Exchange (DEX) platform**.  \n- It allows users to **deposit tokens, withdraw tokens, create/cancel orders, and execute trades** with a fee mechanism for the exchange owner.\n\n\u003cbr\u003e\n\n##  Features\n\n1. **Deposit ERC-20 Tokens**  \n   - Users can securely deposit their ERC-20 tokens into the exchange.  \n   \n   \u003cbr\u003e\n\n2. **Withdraw Tokens back to User Wallet**  \n   - Users can withdraw their tokens from the exchange anytime.  \n   \n   \u003cbr\u003e\n\n\n3. **Create New Trade Orders (Token Swap)**  \n   - Users can create an order to exchange one token for another.  \n   - Example: User A wants to trade 300 CAP tokens for 2 mDAI tokens.\n   - The order can then be filled by other users on the exchange.\n   \n   \u003cbr\u003e\n\n4. **Cancel Orders**  \n   - Users can cancel any order they created if it has not been filled yet.  \n   - Only the order creator is allowed to cancel.\n   \n   \u003cbr\u003e\n\n5. **Fill Existing Orders and Execute Trades**  \n   - Other users can fill existing orders created by someone else. \n   \n   \u003cbr\u003e\n\n6. **Fee System**  \n   - The exchange charges a small fee on every successful trade\n   \n   \u003cbr\u003e   \n\n##  Tech Stack\n\n### 🔹 Frontend\n- **React.js** → Component-based UI framework  \n- **Tailwind CSS** → Utility-first styling for modern responsive design  \n- **Redux toolkit** → Global state management for balances, orders, and trades  \n- **Ethers.js** → Blockchain interaction (connect wallet, call contract functions)  \n\n### 🔹 Smart Contracts\n- **Solidity** → Powers the decentralized backend logic of CapXchange  \n\n### 🔹 Blockchain Development\n- **Hardhat** → Development framework for compiling, deploying, and debugging contracts  \n- **Chai** → Assertion library for writing unit \u0026 integration tests  \n\n\n\u003cbr\u003e\n\n## Website Preview\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/capxchange1.png\"  alt=\"website demo\"  width=\"1000\" height=\"600\"/\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/capxchange2.png\"  alt=\"website demo\"  width=\"1000\" height=\"600\"/\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/capxchange3.png\" alt=\"website demo\"  width=\"1000\" height=\"600\"/\u003e\n\u003c/p\u003e\n\n\n## ✨ Created By\n\n**Smit Bhuva**  \n Web3 Developer | Solidity | Full Stack Developer  \n\n- GitHub: [Smitbhuva15](https://github.com/Smitbhuva15)  \n- LinkedIn: [Smit Bhuva](https://www.linkedin.com/in/smit-bhuva-1007ba314/)  \n- 📧 Email: bhuvasmit1507@gmail.com  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmitbhuva15%2Fcap-stone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmitbhuva15%2Fcap-stone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmitbhuva15%2Fcap-stone/lists"}