Skip to content
Dmitry Sorokin (@sorydima) edited this page Oct 6, 2024 · 1 revision

dChange Wiki

Welcome to the dChange decentralized exchange platform wiki. This documentation will guide you through all the essential aspects of the project, from setup and architecture to contributing and frequently asked questions.


Table of Contents

  1. Overview
  2. Getting Started
  3. Architecture
  4. Smart Contracts
  5. API Documentation
  6. Contributing
  7. Roadmap
  8. Frequently Asked Questions
  9. License

Overview

dChange is a decentralized exchange platform designed for seamless, secure, and efficient digital asset exchanges. Built on blockchain technology, it eliminates the need for centralized authorities, giving users full control over their assets.

Key Features:

  • Decentralized: No reliance on intermediaries.
  • Secure: Blockchain ensures safe and transparent transactions.
  • User-Friendly: Simple and intuitive interface.
  • Efficient: Fast transactions with low fees.

Getting Started

Prerequisites

Before installing dChange, ensure you have the following tools:

  • Node.js
  • Flutter
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/REChain-Network-Solutions/dChange.git
    cd dChange
  2. Install dependencies:

    npm install
  3. Run the app:

    flutter run

Architecture

The dChange platform follows a decentralized architecture with the following components:

Frontend

  • Developed using Flutter, the user interface offers a responsive Progressive Web App (PWA).

Backend

  • Built with a server-less architecture, leveraging decentralized protocols for operations.

Blockchain Layer

  • Smart contracts manage asset transfers and trades, stored on-chain for transparency and security.

Smart Contracts

The following are the key smart contracts in the dChange platform:

Exchange Contract

Handles asset exchanges between users, managing trade initiation, confirmation, and cancellation.

Wallet Contract

Manages user wallets and balances for different assets.


API Documentation

Endpoints

  • GET /assets
    Fetch the list of assets available on dChange.

  • POST /exchange
    Initiates an exchange between two users, specifying the asset and amount.


Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Submit a Pull Request.

Coding Standards

  • Ensure code passes all lint checks.
  • Write unit tests for any new features.

Roadmap

Planned features and milestones for the dChange platform include:

  • Liquidity Pool Integration
  • Cross-Chain Support
  • Governance System

FAQ

What is dChange?

dChange is a fully decentralized exchange for digital assets.

How do I start trading?

First, set up your wallet, then use the platform's intuitive UI to trade assets.


License

dChange is released under the MIT License. For full details, see the LICENSE file in the repository.


End of Wiki.