Godtide / Dappfund

Bring you idea to the world managed on ethereum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DappfUND

This project is a simple Dapp that allows underrepresented founders to receive funding for their ideas using ethereum Blockchain.

Simple dapp project using Drizzlehooks by Tide Ayoade

Prerequisites

To engage with Dappfund you will need the following:

Configuring Truffle

The project folder will contain a truffle-config.js file which is the configuration file, located at the root of the project directory.

module.exports = {
  networks: {
    development: {
      host: "localhost",
      port: 8545,
      network_id: "*" // Match any network id
    }
  }
};
 
## Deployment
>  Assuming you have set up all of the above correctly, with a test-net in the back running on port 8545, we can continue and deploy our main contract.
>  
Use truffle to migrate the main contract `Dappfund.sol`. This can be done by running the following commands in the root directory of the project:

> $ truffle migrate

Then we change into the client directory by executing `cd app` and install the neccessary modules by executing the following command:
> $ npm install
>
Having successfully installed everything within the client directory, we execute `npm start` to boot up the front-end locally.

##  Unit Tests // to be completed
To test with truffle you can execute the following command:
> $ truffle test

## DAPP Interface

> The user interface was developed using Truffle drizzle with its new feature Drizzle Hooks, which allow us through functional components make a more understandable code management of state all through the project.

> A final consideration this project interacts with the blockchain on multiple pages using `react-router-dom`.

>FORK
>IMPROVE
>MAKE A PR

About

Bring you idea to the world managed on ethereum


Languages

Language:JavaScript 73.7%Language:Solidity 19.4%Language:HTML 4.0%Language:CSS 2.9%