niiischall / crypto-farming

A decentralized application where an investor deposits a certain number of cryptocurrencies and gets back additional coins as reward.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issues forks stars license

Crypto Farming dApp

About The Project

A decentralized application where an investor deposits a certain number of DAI coins and gets back extra coins as a reward for investing on the platform.

Tech stack and libraries

  • Solidity
  • Ethereum Blockchain
  • Metamask
  • React
  • web3.js
  • Bootstrap

Demo Video

Demo Video

Getting Started

First, run the React development server:

npm run start

Since the dApp is currently not deployed on the ethereum mainnet, you'll need to setup a local blockchain and connect it to your preffered crypto wallet. We'll also need to have a cryptocurrency wallet and a personal ethereum blockchain. Metamask as a wallet and Ganache as a local blockchain are the preffered options.

Next, you'll need to install truffle by using

npm install -g truffle

Once installed, you can now deploy the smart contracts on your local blockchain (Keep an ethereum blockchain environment running in the background with Ganache) by using

truffle compile
and then
truffle migrate

If the above steps are done right, you'll see a message similar to this in your terminal. Terminal Message

Last and final step is to connect your wallet to your blockchain network. This can be done easily by going to the Add Network section in your wallet and connecting with the right RPC server.

Once done, you're good to go. Then open http://localhost:3000/ to see the app.

📝 License

Distributed under the MIT License. See LICENSE for more information.



ForTheBadge 60-percent-of-the-time-works-every-time

About

A decentralized application where an investor deposits a certain number of cryptocurrencies and gets back additional coins as reward.

License:MIT License


Languages

Language:JavaScript 73.4%Language:Solidity 20.4%Language:HTML 6.1%Language:CSS 0.1%