DApp to be used in Dappcon
Go to file
Eric Mastro 343a6d4f5a
update installation instructions
remove `npm uninstall -g embark`
2018-07-19 15:53:12 +02:00
app updated our unsubscription from tweet events 2018-07-18 15:38:21 +02:00
config updated our unsubscription from tweet events 2018-07-18 15:38:21 +02:00
contracts Updated instructions and readme, fixed error with tests 2018-07-18 23:36:41 +02:00
instructions update installation instructions 2018-07-19 15:53:12 +02:00
test Updated instructions and readme, fixed error with tests 2018-07-18 23:36:41 +02:00
.babelrc modified contract so that interactions with an existing account require a hash of the username. 2018-07-08 15:33:36 +10:00
.gitignore Moved most functionality to react. Update profile still needs to be moved. And the UI needs a bit of a makeover. 2018-07-01 19:17:41 +10:00
README.MD Updated instructions and readme, fixed error with tests 2018-07-18 23:36:41 +02:00
chains.json updated our unsubscription from tweet events 2018-07-18 15:38:21 +02:00
embark.json Fixed missing description on the update profile page 2018-07-10 00:39:22 +10:00
package-lock.json Added accounts dropdown UI for account switching 2018-07-17 17:22:39 +02:00
package.json Added accounts dropdown UI for account switching 2018-07-17 17:22:39 +02:00

README.MD

Decentralized Twitter dApp built using Embark by Status

Developed for a DappCon workshop, this dApp provides an example of how to build a dApp using Embark.

Instructions

To follow along, please use the instructions.

FAQ

  1. Can I use embark simulator? Yes, you can. You can even use ganache-cli directly if desired. We are not using for this dApp due to websockets limitations of ganache.

  2. Do we have some success stories of people using embark and delivering projects?

  3. Where can I learn more about the API of the EmbarkJS object?

  4. What are the "key" differences between Embark and Truffle? Advantages

    • Embark is focused on the trinity of web3 components that can be used to create truly decentralised applications
      • The original trinity of web3, from the ethereum platform perspective, includes consensus, blockchain, and smart contracts. As well as swarm for decentralized storage and whisper for decentralized communication.
    • Embark is a “true” dapp framework to build real dApp, while truffle, for the most part, focuses mostly on the smart contract side. Embark can also be used just for developing contracts as well.
    • Embark is meant to help the developer easily integrate with other decentralized technologies, like storage, communication, and (in 3.2) naming systems.
    • Embark is meant to be both advanced and easy to use
    • Embark has reasonable defaults and tries to make your life easier, but it can always be overridden for configurable for your specific needs
    • Embark has a very plugin-driven architecture, so developers can also extend it to their own needs

    Disadvantages

    • Integrated debugger - we are currently working on this, and the developer can always use remix as an alternative

Known issues with this dApp

Issues on localhost
  1. Create account - hangs with metamask
Issues on testnet (rinkeby)
  1. Sometimes errors with the “known transaction” when deploying a contract.
    • Cause: not yet known
    • Solution: only solution so far is to increase the gasPrice in contracts -> testnet -> deployment. Embark team currently investigating.
  2. Getting contract events (tweets in this case) doesnt work
    • Cause: Metamask known issue “The current provider doesnt support subscriptions: MetamaskInpageProvider”
    • Solution: open issue
  3. Websockets errors