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.
- 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.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
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
-
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
-
Compile the source code: Navigate to the directory containing the source files and run the following command:
g++ -std=c++17 *.cpp -o merklexThis command compiles all
.cppfiles in the current directory and creates an executable file namedmerklext. -
Run the application:
./merklext
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.)
- C++ - The core programming language used.
- This project was guided by the curriculum of the Object-Oriented Programming Specialization by University College London (UCL) on Coursera.