Giter Club home page Giter Club logo

waffleswap-v2's Introduction

WaffleSwap

A Decentralized-Exchange on Ethereum

WaffleSwap is a DEX built on ethereum with a custom token called Waffle Coin. You can use this DApp to buy or sell Waffle Coin in exchange for Ethereum.

Technologies Used

  1. Nextjs and Tailwind CSS for the Frontend Application
  2. Ganache Blockchain
  3. Truffle and Web3.js for building and testing Smart Contracts
  4. Solidity for defining the Smart Contracts backend

How to run:

  1. Clone the repo and install the required dependencies using "yarn -install"
  2. Download Ganache Suite
  3. Install Metamask for your browser
  4. Create a custom RPC server in Metamask and copy the RPC URL from ganache. Chain ID is 1337. (For RPC: Either 7545 or 8545 should work). (Custom server should already exist on Metamask, delete that.)
  5. Import test accounts from Ganache to Metamask by copying the account private keys from Ganache and import on Metamask via private key option.
  6. With ganache running and metamask on stand-by, run cmd command "truffle migrate --reset" in the folder. This migrates all the contracts over to the blockchain. Then run command "truffle test". This command tests all the smart contracts to ensure their integrity.
  7. After both the commands execute successfully, run command "yarn dev" to start the project.

Screenshots

image image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.