ÐApp - devopstaku/ERC20_DApp GitHub Wiki
What is ÐApp
- it's because that letter is called ETH in greek. Technically Ðapp can be read as Ethapp. Also it looks cool.
- http://gavwood.com/paper.pdf, Section 2.1
To address this issue, Ethereum has an intrinsic currency, Ether, known also as
ETH and sometimesreferred to by the Old English Ð
ÐApps on the Ethereum Platform
- The Ethereum Platform created a protocol for building decentralized applications.
- It is an open-source public, blockchain-based distributed computing platform which features smart contracts functionality, also called scripting.
- It provides a decentralized Turing-complete virtual machine, the Ethereum Virtual Machine (EVM), which execute scripts using an international network of public nodes.
- ÐApps are more flexible, transparent, distributed, and resilient and have a better incentivized structure software model.
- A Ðapp is an application that has its back-end code running on a peer-to-peer network instead of a centralized machine. A Ðapp can have front-end code written in any way you desire and Ethereum has created a web3.js library to be used for Ðapp development.
-
3 ways of instantiating web3:
https://gist.github.com/frozeman/fbc7465d0b0e6c1c4c23 -
Contract deployment by code:
(Outdated, useweb3.contract(abiArray).new({}, function(e, res){...})
) https://gist.github.com/frozeman/655a9325a93ac198416e -
Test a contract transaction with a
call
before actually sending: https://gist.github.com/ethers/2d8dfaaf7f7a2a9e4eaa
Typically Ðapp Structure with web3.js
- Frontend provides a user interface
- Backend executes the computation and storage.
Smart Contract
- Smart contracts are the user-defined applications that enumerate rules controlling the transaction and are stored in the blockchain.
- Smart contracts consist of program codes, a storage file, and an account balance.
- They can read and execute other contracts, make decisions, store data and send ether to others.
Reference
- https://www.reddit.com/r/ethereum/comments/5blnhv/why_do_people_often_write_%C3%B0app_instead_of_dapp/
- https://www.stateofthedapps.com/whats-a-dapp
- https://github.com/ethereum/wiki/wiki/Useful-%C3%90app-Patterns
- https://medium.com/hci-wvu/how-to-build-your-first-%C3%B0app-fe0c89d8f95f
- https://steemit.com/ethereum/@daynewright/learning-crypto-what-is-a-dapp