Sitelet https://github.com/harshabing/first-dapp-tutorial
Skip to content
 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

first-dapp-tutorial

Simple example of DApp (decentralized application) built on the Ethereum platform. Here's the tutorial: https://medium.com/@fabiosalzano/yet-another-build-your-first-ethereum-based-simple-dapp-77efb615946b

Installation and usage steps

Download the repository. Open a command prompt and place it within the project folder.

First of all, you need to have NodeJs installed on your pc. After installing NodeJs, in your command prompt type the following commands:

$ npm install ganache-cli web3 solc

To start listening for communications between the Dapp and Ganache, you have to type:

$ node_modules\.bin\ganache-cli

Open another command prompt window, and deploy the smart contract you found in the project just typing this command:

$ node deploy.js --contractPath=contracts/Booking.sol --contractName=Booking --contractInputParams=OrangeRoom,YellowRoom

Now you just have to run the index.html file in your browser and start trying the simple Dapp

About

Simple example of DApp (decentralized application) built on the Ethereum platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages