Giter Site home page Giter Site logo

vabhv1903 / cryptoride-erc20-token-based-ethereum-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kuldeep23907/cryptoride-erc20-token-based-ethereum-project

0.0 0.0 0.0 410 KB

CryptoRide is a peer-to-peer car sharing/pooling platform which uses ERC20 based CRET (CryptoRide ERC20 Token) Token for payment across the platform.

License: MIT License

HTML 4.07% CSS 1.60% JavaScript 41.52% Solidity 52.82%

cryptoride-erc20-token-based-ethereum-project's Introduction

Project Title

CryptoRide: ERC20 Token based Car Pooling Services

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Tools needed

  1. Truffle Framework >= 5.1.17 ( npm install -g truffle )
  2. Ganache Tool ( link: https://www.trufflesuite.com/ganache )
  3. Solidity Compiler >= 0.6.0
  4. Dotenv ( npm install --save dotenv )
  5. Text Editor (vs code)

Installing

How to clone the repository on your local machine

mkdir folder_name
cd folder_name
git init
git clone [email protected]:kuldeep23907/CryptoRide-ERC20-token-based-Ethereum-Project.git

Go to the directory where the repo has been cloned. Run the following command as per requirement.

To compile the smart contracts

truffle compile

Before migrating, do ensure that either ganache(local blockchain) is running or select an ethereum testnet(rinkeby etc.) blockchain.

To use any testnet, add that testnet in truffle-config.js network object. Testnet have API_KEY and require MNEMONIC (for account). Create a .env file with the following values:

MNEMONIC="12 words"
API_KEY=api_key

To deploy the contract on blockchain.

truffle migrate -reset --network=network_name

To run the test written for the contracts

truffle test -reset --network=network_name

Drivers List:

System Driver
Platform Ethereum
Framework Truffle
Language Solidity
Blockchain Ganache
UI React
Testnet Rinkeby

cryptoride-erc20-token-based-ethereum-project's People

Contributors

kuldeep23907 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.