All Projects → timqian → dapp-possiblities

timqian / dapp-possiblities

Licence: MIT license
Explore possible usage of dapp

Programming Languages

solidity
1140 projects
javascript
184084 projects - #8 most used programming language

Folder structure

  • contracts/: stores contracts
  • clients/: stores clients interacting with contracts
  • migrations/: stores scripts used to deploy contracts to eth blockchain

Applications

  1. SimpleStorage: Store and manipulating a value on blockchain [contract client]
  2. PetAdoption: Pet Adoption app on blockchain[contract client]
  3. SimpleCoin: create a coin for yourself[contract client]
  4. SimpleBank: create a central bank on blockchain [contract client]
  5. CrowdFund: A crowdfunding example (broadly similar to Kickstarter) [contract client]
  6. Content Management System [TODO]

Deploy Contracts and test locally

  1. Install and start Ganache (local, personal Ethereum blockchain)
  2. Compile contracts
    npm run compile
  3. Migrate contracts to local block chain
    npm run migrate
  4. Interact with contracts
    npm run -- exec clients/01.js
    npm run -- exec clients/02.js
    ...

Sample DAPPs on the main chain

Good Readings

Ideas

Make writing dapp as easy as possible

better than truffle

  1. Write contract
  2. Compile and deploy
  3. Interact with contract

Is migrations script necessary?

compilers: web3; http://solidity.readthedocs.io/en/v0.4.24/installing-solidity.html#solcjs

Decentrialized Github

Questions and Answers

How to host content/app freely on decentrialized network? Currently facebook/github provide free content host and store, because they can get profit by ads etc to cover the cost. But on blockchain, hosting any content cost money, free users are a giant group, Is it possible to win them to blockchain?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].