0xgui / faucet

Faucet is a simple project to test and understand more about smart contracts in the Ethereum Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faucet

Faucet is a simple project to test and understand more about smart contracts in the Ethereum Network.

faucet

Run Faucet

First make sure that Ganache is running. After that, in the project directory, you can run the following commands:

  • truffle migrate --reset to deploy the smart contracts into the Ganache Network.

  • npm install to install the dependencies.

And finally:

  • npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Metamask

To interact with the application Metamask is needed. More info at https://metamask.io.

You need also to configure the Ganache network inside Metamask. Example.

Ganache Network

Ganache is a personal blockchain for rapid Ethereum and Corda distributed application development. Use Ganache across the entire development cycle; enabling you to develop, deploy, and test your dApps in a safe and deterministic environment.

Truffle

To deploy the smart contract into the Ganache Chain we need Truffle.

After installing and configuring Truffle deploy the smart contracts with:

  • truffle migrate --reset

If you want to interact with the smart contract without the Faucet UI you can use:

  • truffle console

About

Faucet is a simple project to test and understand more about smart contracts in the Ethereum Network.


Languages

Language:JavaScript 77.1%Language:Solidity 10.0%Language:HTML 9.9%Language:CSS 3.1%