/cryptocurrency-exchange

This simple test demonstrate a cryptocurrency bank that allow customers to sell and buy cryptocurrencies, where price is defined using Metcalfes's Law.

Primary LanguageJava

Build Status codecov

Cryptocurrency Exchange Test

A cryptocurrency exchange is a business that allows customers to trade cryptocurrencies.

This simple test demonstrate a cryptocurrency bank that allow customers to sell and buy cryptocurrencies without any fees.

  • The cryptocurrency bank support a list of cryptocurrencies
  • The cryptocurrency bank have a list of customers that are selling The cryptocurrencies
  • The cryptocurrency price calculation is based on the Metcalfes's Law.
  • The cryptocurrency price = n^2-n where n is the number of customer that are buying the cryptocurrency.