Skip to content

Jevith17/Crypto-Exchange-Platform

Repository files navigation

MerkleRex: A C++ Cryptocurrency Trading Platform Simulation

MerkleRex is a command-line based cryptocurrency trading platform simulation developed in C++. This project was created as part of the Object-Oriented Programming Specialization offered by University College London (UCL) on Coursera, demonstrating core OOP principles.

Key Features

  • Command-Line Interface: All user interactions are handled through a simple and intuitive command-line interface.
  • Trading Simulation: Simulates basic cryptocurrency trading functionalities, allowing users to interact with a mock market.
  • Object-Oriented Design: Built from the ground up using the Object-Oriented Programming paradigm in C++, showcasing concepts like encapsulation, inheritance, and polymorphism.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To compile and run this project, you will need a C++ compiler. The g++ compiler, which is part of the GNU Compiler Collection (GCC), is a common choice.

  • To check if you have g++ installed, open a terminal and run:
    g++ --version

Compilation & Execution

  1. Clone the repository (or use your local project folder):

    # This step is for others once you've published it. For now, just navigate to your project folder.
    cd path/to/your/MerkleRex
  2. Compile the source code: Navigate to the directory containing the source files and run the following command:

    g++ -std=c++17 *.cpp -o merklex

    This command compiles all .cpp files in the current directory and creates an executable file named merklext.

  3. Run the application:

    ./merklext

How to Use

Once the application is running, you will be greeted by the MerkleRex command-line interface. You can interact with the platform by typing commands. Here are some of the basic commands you might have implemented:

  • help: Displays a list of available commands.
  • list: Lists the available cryptocurrencies for trading.
  • market: Shows the current market statistics.
  • ask <currency> <amount>: Place an ask order.
  • bid <currency> <amount>: Place a bid order.
  • wallet: Displays your current wallet balance.
  • next: Moves to the next time step in the simulation.

(Feel free to customize this section to reflect the actual commands you implemented in your project.)

Built With

  • C++ - The core programming language used.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages