3

I read in the manual that programmers can use common languages to program Dapps.

Questions:

  • So I could program a Dapp without Solidity just with JS, node.js, HTML, CSS, and HTML. Or do I still need Solidity?
  • How will users run the app? Don't they require node.js then?
Andi Giga
  • 439
  • 4
  • 15

1 Answers1

4

Separate the Front end from the backend :

Backend to write a Dapp you need to write a contract which is commonly written in solidity (or Serpent).

Frontend in the front end you could use the Css, HTML .. to build the interface, and Web3.js framwork to interact with the contract.

in order to run the dapp you need first to deploy the contract in the ethereum network (you could setup your private chain) and you need a browser to run you application like mist or there is a chrome extension(MetaMask) to browse Dapps.

here you will find a sample i have developed using solidity and web3.js

https://github.com/bellaj/Ballot-Dapp

Badr Bellaj
  • 18,780
  • 4
  • 58
  • 75