DApp to be used in Dappcon
Go to file
Eric Mastro 3a6ccfeef7
Merge pull request #7 from status-im/features/babel7-revised
Upgrade to Embark 3.2 (babel 7)
2018-10-01 13:55:46 +10:00
app ES6 export 2018-07-20 11:06:02 -05:00
config Update development dapp connection config 2018-09-18 09:26:47 +01:00
contracts Additional instructions and contract update 2018-08-05 17:49:39 +10:00
instructions Updated Embark version to 3.1.7 2018-08-05 18:20:32 +10:00
test Update dtwitter_spec to have `fromBlock: 1` 2018-08-16 19:40:06 +10:00
.babelrc simplify .babelrc 2018-09-27 10:45:03 -05: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 Removed discussing other tech 2018-07-20 09:38:57 +02:00
chains.json updated our unsubscription from tweet events 2018-07-18 15:38:21 +02:00
embark.json rev embark.json versions to match 3.2 template defaults 2018-09-27 10:45:29 -05:00
package-lock.json bump pkg lock 2018-09-27 10:46:39 -05:00
package.json simplify package.json 2018-09-27 10:46:28 -05: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" features of Embark?
    • 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 assist the developer in building real dApps. 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
    • 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