/Crypnance

Primary LanguageJavaScript

CrypnanceπŸͺ™

The project aims at building a cryptocurrency exchange platform where a user can connect its "MetaMask" wallet and can trade using eth. The project uses Solidity language and web3.js framework. This project therefore not only gets us to know about blockchain but also brings us closer to the world of cryptocurrency whose value is increasing day by day in the modern era.

πŸ“ƒTable Of Contents

  • Introduction
    • About Project
    • Tech-Stack
    • File Structure
  • Getting Started
  • Glimpses
  • Contributors

πŸ™‚Introduction

πŸ€”About Project

The project aims at building a cryptocurrency exchange platform where a user can connect its "MetaMask" wallet and can trade using eth. The project uses Solidity language and web3.js framework. This project therefore not only gets us to know about blockchain but also brings us closer to the world of cryptocurrency whose value is increasing day by day in the modern era.Through HTML,CSS,JavaScript,React and Bootstrap,the Blockchain is deployed on a website. The website is on a local-host. This project enhances the knowledge of blockchain technology which has a very high potential in future.

βš™οΈTech-Stack

VS Code Block-Chain Web3.js HTML5 CSS3 JavaScript React Bootstrap

πŸ“File Structure

Crypnance                      
β”œβ”€ migrations                  
β”‚  β”œβ”€ 1_initial_migration.js   
β”‚  └─ 2_deploy_contracts.js    
β”œβ”€ public                      
β”‚  β”œβ”€ favicon.ico              
β”‚  β”œβ”€ index.html               
β”‚  └─ manifest.json            
β”œβ”€ scripts                     
β”‚  └─ seed-exchange.js         
β”œβ”€ src                         
β”‚  β”œβ”€ abis                     
β”‚  β”‚  β”œβ”€ Exchange.json         
β”‚  β”‚  β”œβ”€ Migrations.json       
β”‚  β”‚  β”œβ”€ SafeMath.json         
β”‚  β”‚  └─ Token.json            
β”‚  β”œβ”€ components               
β”‚  β”‚  β”œβ”€ App.css               
β”‚  β”‚  β”œβ”€ App.js                
β”‚  β”‚  β”œβ”€ Balance.js            
β”‚  β”‚  β”œβ”€ Content.js            
β”‚  β”‚  β”œβ”€ MyTransactions.js     
β”‚  β”‚  β”œβ”€ Navbar.js             
β”‚  β”‚  β”œβ”€ NewOrder.js           
β”‚  β”‚  β”œβ”€ OrderBook.js          
β”‚  β”‚  β”œβ”€ PriceChart.config.js  
β”‚  β”‚  β”œβ”€ PriceChart.js         
β”‚  β”‚  β”œβ”€ Spinner.js            
β”‚  β”‚  └─ Trades.js             
β”‚  β”œβ”€ contracts                
β”‚  β”‚  β”œβ”€ Exchange.sol          
β”‚  β”‚  β”œβ”€ Migrations.sol        
β”‚  β”‚  └─ Token.sol             
β”‚  β”œβ”€ flats                    
β”‚  β”‚  β”œβ”€ Exchange_flat.sol     
β”‚  β”‚  └─ Token_flat.sol        
β”‚  β”œβ”€ store                    
β”‚  β”‚  β”œβ”€ actions.js            
β”‚  β”‚  β”œβ”€ configureStore.js     
β”‚  β”‚  β”œβ”€ interactions.js       
β”‚  β”‚  β”œβ”€ reducers.js           
β”‚  β”‚  └─ selectors.js          
β”‚  β”œβ”€ helpers.js               
β”‚  β”œβ”€ index.js                 
β”‚  └─ serviceWorker.js         
β”œβ”€ test                        
β”‚  β”œβ”€ Exchange.test.js         
β”‚  β”œβ”€ helpers.js               
β”‚  └─ Token.test.js            
β”œβ”€ flatten.sh                  
β”œβ”€ package-lock.json           
β”œβ”€ package.json                
β”œβ”€ README.md                   
└─ truffle-config.js           

πŸ’»Project Setup

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

βš’οΈGetting Started

Assuming you have git, follow the following process

  1. Clone the Git Repo:

    $ git clone https://github.com/psankhe28/Crypnance.git
    
  2. Go into the Repo directory

    $ cd ../Crypnance
    
  3. Run npm run start command in terminal

    $ npm run start
    
  4. Connect your metamask account.

  5. Now you can see the transactions done by that particular wallet.

πŸ“·Glimpses

image

πŸ‘¨β€πŸ’»Contributors

πŸ”§ Project Diagram

Project workflow