Giter Club home page Giter Club logo

erc-20-crypto-exchg's Introduction

ERC-20-crypto-exchg

This is a Repository for learning about Blockchain Applications and cryptocurrencies. And also creating an blockchain application. The cryptocurrency I have used is Ether.

This is a web site for buying and selling tokens ERC-20 tokens for a fixed price

=> This is just for understanding how ERC-20 tokens, smart contracts works.

=>This is NOT A REAL TOKEN TRADING WEBSITE<=

I highly Recommend you to visit the setup.md file of this repo to setup the environment for DApp Development.

Dependencies

=> If you have done setting up the development environment as given in setup.md then you can skip the below mentioned prerequisites and continue to Step 1.

Install these prerequisites.

Step 1. Clone the project

git clone https://github.com/Emmanuel1237/ERC-20-crypto-exchg.git

Step 2. Install dependencies

$ cd ERC-20-crypto-exchg
$ npm install

Step 3. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.

Step 4. Compile & Deploy Election Smart Contract

$ truffle migrate --reset 

You must migrate the Testchain smart contract each time you restart ganache.

Step 5. Configure Metamask

  • Click on the metamask icon on top right corner of the chrome browser
  • Create an account on metamask.
  • In metamask ,from networks section select custom RPC.
  • In the new RPC URL section paste the RPC server URL displayed on the top tab of Ganache. And click save after giving a name for the network. Now we connected metamask to your local Etherum blockchain provided by Ganache.
  • Now Import an account provided by ganache. Goto Ganache and click on the KEY icon corresponding to any account. It will diplay the private key of that account, copy in and open metamask, and click on the account icon ,select import account option and set the type to private key and paste the private key coppied below and click import.
  • Now in metamask ,from networks section select the name of the network that you have created now.

Step 6. Run the Front End Application

$ npm run start

This will automatically star the web server and open up the client side website

step 7.

Now start buying and selling tokens from your localhost network.

erc-20-crypto-exchg's People

Contributors

emmanuelkiranr avatar

Stargazers

 avatar

Watchers

 avatar

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.