Giter Club home page Giter Club logo

wandxoptionsdapp's Introduction

WandXOptions-Dapp

Dapp for Put options on ERC20 Tokens

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

1. Node js
2. Node Package Manager
3. Angular v2 or above
4. Mongo DB to run the local database

Installing

A step by step series on how to get the development env running

Setting Up the Backend Environment

  1. Download this github project.
  2. Open WandXOptionsDapp
  3. Run the below commands in the Command Window by moving to the exact location where the project is inside the terminal.
> npm install
> npm install -g nodemon

Setting Up the Angular Environment

  1. Now open the Angular folder (here it is app folder) inside the terminal in another command prompt
  2. Run the below commands in the terminal
> npm install
> npm install @angular/cli
> ng serve

Setting up the MongoDB Local evnironemtn

  1. Please refer to the video links attached to setup Mongo, Express, Node, Angular

Video Links to setup the environment

  • MEAN - Mongo, Express, Angular, Node. This video will explain you how to setup the mongo environment and the rest of the environment also.

Development

WandXOptions-Dapp Front End Deployment over dev environment

  • cd app/
  • npm install (Have to do one time only, when setting up the project)
  • cd node_modules/wandx-options
  • npm install (Have to do one time only, when setting up the project)
  • npm run ganache-cli --> this will keep in running in background. Open a seperate terminal for rest of the commands --> import private key of 2nd address generated by ganache into metamask --> confirm that metamask is connected to localhost
  • npm run compile-dummytoken
  • npm run migrate-dev
  • Manual step, this will be changed in compile-dummytoken script in next update Open app/node_modules/wandx_options/build folder, open file dummyTokenBaseInfo.json. Replace address in the file with {"address":""} example, original file data -> 0xf322BE32FEb8ac0Bd75216BcB8d07214251C4376 new file data -> {"address":"0xf322BE32FEb8ac0Bd75216BcB8d07214251C4376"} Repeat the same for dummyTokenQuoteInfo.json file
  • cd ../.. (this should take you back into app folder, if not, adjust path accordingly so that you end up in app folder)
  • ng serve

wandxoptionsdapp's People

Contributors

rbnishant avatar bssrdev avatar amitnirala avatar nithinlatha avatar satyamsb avatar sangramsam avatar abhinavramesh avatar

Watchers

James Cloos avatar EAN IE RAMBO avatar

Forkers

inflav-com

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.