Skip to content
/ dex Public

Instant decentralized cryptocurrency exchange

License

Notifications You must be signed in to change notification settings

gumastro/dex

Repository files navigation

Logo

Decentralized Exchange Catto

Instant decentralized cryptocurrency exchange

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. License
  6. Contact

💻 About The Project

  Decentralized Exchange Catto Screen Shot

Instant decentralized cryptocurrency exchange powered by the ethereum blockchain that allows for ERC20 cryptocurrency transactions to take place at a fixed price

(back to top)

Built With

(back to top)

🛠️ Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/gumastro/dex.git
  2. Install NPM packages
    npm install
  3. Open Ganache and run the migrations
    truffle migrate --reset
  4. Start NPM packages
    npm run start
  5. Import an address to Metamask
    • Make sure your Metamask is connected to the right network (same as Ganache test network)
      • RPC URL http://localhost:7545
      • Chain ID 1337
  6. Swap!

(back to top)

🌟 Usage

Buy

  1. Click on Buy option
  2. Select desired amount of Ether to pay
  3. Click on Swap!

  Buy Catto Screen Shot

  1. Confirm transaction on Metamask pop-up
  2. Enjoy your tokens!

Sell

  1. Click on Sell option
  2. Select desired amount of Catto to sell
  3. Click on Swap!

  Sell Catto Screen Shot

  1. Give permission to access your Catto on Metamask pop-up
  2. Confirm transaction on Metamask pop-up
  3. Enjoy your tokens!

(back to top)

✅ TODO

  • Add fee exchange to collect profit
  • Make exchange rate dynamic
  • Support multiple tokens

(back to top)

📝 License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

📫 Contact

Gustavo Tuani Mastrobuono - gumastro@usp.br

(back to top)