https://github.com/OriginProtocol/demo-dapp
(Disclaimer: I was a big contributor)
Also note that `ganache-cli` is not strictly required in addition to truffle, as one can use `truffle develop` to get a local test chain.
41–50 of 84 posts
https://github.com/OriginProtocol/demo-dapp
(Disclaimer: I was a big contributor)
Also note that `ganache-cli` is not strictly required in addition to truffle, as one can use `truffle develop` to get a local test chain.
Earlier quoted context omitted.
Forget the word “smart”. A contract is just code that is run by all the nodes in a P2P system to achieve outcomes that everyone can agree on. Add in some crypto to make it impossible for anyone except the author of the code to modify it, and to ensure that the code all runs in the right sequence.
And what can this be used for? I can hardly imagine any real-world application for this but distributed calculations like Folding@home, SETI@home, password cracking, DDoS-ing etc. And I totally can't imagine what can this have to do with a GUI framework like vue.js.
Earlier quoted context omitted.
That's probably because people think decentralised apps should be decentralised.
What does having mutable state have to do with being decentralized?
Awesome! Since you use Truffle, it would be even better if your code was wrapped in a truffle box, so that it can be installed very easily with the "truffle unbox" command. If you are interested, I have actually just published a video about the "truffle unbox" command: https://youtu.be/LlVj1wAEMAU And here you will find the official docs for how to publish your own truffle box: http://truffleframework.com/docs/advanc…
A trifle to Truffle.
What exactly does it do? Although it is such a buzzword nowadays I still have absolute zero idea about how are these "smart contract" things used and what Ethereum is if not "a better BitCoin" (and if it is - what kind of applications can you build with it? money exchange/ecommerce/gambling?).
If it's on Ethereum, it's not decentralised. Their state is mutable -- as per the DAO.
Ethereum -> ETC.
New Coin -> Ethereum.
The market said New Coin a.k.a. Ethereum is worth more. But who cares about fiat, eh?
Earlier quoted context omitted.
The idea is not to make an app but to have as a starting point for people to do apps in Ethereum. The contract is there just to have something so you can get feedback.
Quick, someone name an Ethereum app that does something useful and is in widespread use.
Earlier quoted context omitted.
What does having mutable state have to do with being decentralized?
Mutable history is the problem. What's written to the blockchain is supposed to be immutable forever and independently verifiable by everyone. If an entity can rewrite history (eg drop or revert transactions), it becomes a problem. This is what happened after the DAO hack and it resulted in the Ethereum classic fork.
The chain still includes the transaction history of what happened with the DAO, but the hard fork added a special case unique state change which undoes most of the effects of the transactions that happened with the DAO.
So, the transactions still are recorded as having happened, but the state was edited?
Not that that necessarily is a particularly important distinction, but I think it is one that can reasonably be made.