{"id":20795112,"url":"https://github.com/dchobarkar/decentralized-centralized-exchange-system","last_synced_at":"2026-04-08T23:34:33.104Z","repository":{"id":255145032,"uuid":"843263656","full_name":"dchobarkar/decentralized-centralized-exchange-system","owner":"dchobarkar","description":"The Decentralized Centralized Exchange System is a hybrid platform that allows users to trade cryptocurrency tokens on the Solana blockchain with centralized user management and authentication, combining the best of both decentralized and centralized exchanges.","archived":false,"fork":false,"pushed_at":"2024-09-10T09:59:05.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T13:47:07.629Z","etag":null,"topics":["nextauth","nextjs","prisma-client","solana","tailwindcss","typescript","web3js"],"latest_commit_sha":null,"homepage":"https://dec-cen-exc-sys.darshanwebdev.com/","language":"TypeScript","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/dchobarkar.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}},"created_at":"2024-08-16T06:09:42.000Z","updated_at":"2024-11-21T11:02:23.000Z","dependencies_parsed_at":"2024-08-28T09:05:07.163Z","dependency_job_id":"db0beb66-64a4-404b-b97f-aabeb05b6bbb","html_url":"https://github.com/dchobarkar/decentralized-centralized-exchange-system","commit_stats":null,"previous_names":["dchobarkar/decentralized-centralized-exchange-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dchobarkar/decentralized-centralized-exchange-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Fdecentralized-centralized-exchange-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Fdecentralized-centralized-exchange-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Fdecentralized-centralized-exchange-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Fdecentralized-centralized-exchange-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dchobarkar","download_url":"https://codeload.github.com/dchobarkar/decentralized-centralized-exchange-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Fdecentralized-centralized-exchange-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["nextauth","nextjs","prisma-client","solana","tailwindcss","typescript","web3js"],"created_at":"2024-11-17T16:19:49.209Z","updated_at":"2026-04-08T23:34:33.087Z","avatar_url":"https://github.com/dchobarkar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decentralized Centralized Exchange System\r\n\r\n## About the Project\r\n\r\nThe **Decentralized Centralized Exchange System** is a hybrid cryptocurrency exchange platform where users can trade tokens in a decentralized manner while maintaining the benefits of a centralized system for enhanced performance and security. Users can connect their wallets, trade tokens on the Solana blockchain, and view transaction history.\r\n\r\n## Features\r\n\r\n- **Decentralized Token Exchange** on Solana blockchain.\r\n- **Centralized User Management** with authentication via NextAuth.js.\r\n- **Trade Cryptocurrency** using Solana SPL tokens.\r\n- **Real-time Price Data** using APIs (Axios).\r\n- **User Authentication**: Google login with `next-auth`.\r\n- **Prisma ORM** for database interactions with PostgreSQL.\r\n- **Hybrid Architecture**: Leveraging both decentralized and centralized mechanisms.\r\n\r\n## Tech Stack\r\n\r\n- **Frontend**: React, Next.js, Tailwind CSS\r\n- **Backend**: Next.js API routes, Prisma ORM\r\n- **Blockchain Integration**: Solana Web3.js, Solana SPL Token\r\n- **Authentication**: NextAuth.js with Google Provider\r\n- **Database**: PostgreSQL (Managed via Prisma ORM)\r\n- **Containerization**: Docker (Optional)\r\n\r\n## Getting Started\r\n\r\nTo get a local copy up and running, follow these steps.\r\n\r\n### Prerequisites\r\n\r\n- **Node.js**: Ensure you have Node.js installed.\r\n- **PostgreSQL**: Install PostgreSQL on your machine and create a new database.\r\n- **Solana CLI**: Install Solana CLI for blockchain interactions.\r\n\r\n### Installation\r\n\r\n1. Clone the repository:\r\n\r\n   ```bash\r\n   git clone https://github.com/dchobarkare/decentralized-centralized-exchange-system.git\r\n   ```\r\n\r\n2. Navigate to the project directory:\r\n\r\n   ```bash\r\n   cd decentralized-centralized-exchange-system\r\n   ```\r\n\r\n3. Install dependencies:\r\n\r\n   ```bash\r\n   npm install\r\n   ```\r\n\r\n4. Fill in the required environment variables in the `.env` file:\r\n\r\n   - `DATABASE_URL` for PostgreSQL connection.\r\n   - `NEXTAUTH_SECRET` for NextAuth authentication.\r\n   - `NEXTAUTH_URL` set to your domain.\r\n\r\n5. Run the Prisma migrations to set up the database schema:\r\n\r\n   ```bash\r\n   npx prisma migrate dev\r\n   ```\r\n\r\n### Development Setup\r\n\r\n1. **Run the development server**:\r\n\r\n   ```bash\r\n   npm run dev\r\n   ```\r\n\r\n2. Open `http://localhost:3000` to view the app in the browser.\r\n\r\n### Build for Production\r\n\r\n1. To build the application for production, use the following command:\r\n\r\n   ```bash\r\n   npm run build\r\n   ```\r\n\r\n2. Start the production server:\r\n\r\n   ```bash\r\n   npm run start\r\n   ```\r\n\r\n## Usage\r\n\r\n- Visit `http://localhost:3000` after starting the app.\r\n- Log in using Google via NextAuth.\r\n- View token balances, make trades, and track transactions.\r\n\r\n## **Contributing**\r\n\r\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\n1. Fork the Project\r\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\r\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\r\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\r\n5. Open a Pull Request\r\n\r\n## **License**\r\n\r\nDistributed under the MIT License. See `LICENSE.txt` for more information.\r\n\r\n## Contact\r\n\r\nDarshan Chobarkar - [@dchobarkar](https://www.linkedin.com/in/dchobarkar/) - contact@darshanwebdev.com\r\n\r\nProject Link: [https://github.com/dchobarkar/decentralized-centralized-exchange-system](https://github.com/dchobarkar/decentralized-centralized-exchange-system)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchobarkar%2Fdecentralized-centralized-exchange-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdchobarkar%2Fdecentralized-centralized-exchange-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchobarkar%2Fdecentralized-centralized-exchange-system/lists"}