Live data from Hacker News

Show HN: Decentralized application starter with Vue, Ethereum and IPFS

github.com

71–80 of 84 posts

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#71

Earlier quoted context omitted.

You probably live in one of the less corrupt countries in the world, where the public record the ownership you hold over your house won’t disappear over night. More than 4 billion people don’t, and even those of us who do, should probably use our non-corrupt climate to implement these anti-corruption use cases while our political leadership isn’t corrupt. I mean, even if we never turn to corruption it’s infinitely ea…

> You probably live in one of the less corrupt countries in the world, where the public record the ownership you hold over your house won’t disappear over night. In sufficiently corrupt countries they don't even have to disappear, they just can be either ignored easily or proclaimed illegitimate. A blockchain record saying you own something means nothing in countries where these are not legally recognized and I don't…

I understand that even Estonia requires a manual process, with two witnesses at site to a property transaction. Then the question becomes how you digitize this on the blockchain?

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#72
post #61

Can someone explain what this does? Like, what should a user expect to see when visiting the application, and what a developer could expect to make developing this application further? I see a "gas" and a "gasprice" used, but ctrl-f doesn't show anything in HN comments, nor in the readme outside of the code, indeed the code itself is commented with: // Someone help me understand this.

Just to add to echelon answer, gas represents the computational effort of a specific EVM (ethereum virtual machine) instruction. For example, deploying a contract cost a certain amount of gas, storing a variable another, etc...

However when you send an ethereum transaction (i.e you modify data in the blockchain) you need to pay the miner in ether. You cant pay in gas. So you have to specify how much ether you are willing to pay for each unit of gas, i.e the gasprice. The combination of both (gas x gasprice) will give you the maximum amount of ether you are willing to spend for this transaction.

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#73
post #21

Earlier quoted context omitted.

You can easily google what smart contracts are. A good starting point is also ethereum.org, which has three easy to understand examples.

A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties. Smart Contracts are self-executing contractual states, stored on the blockchain, which nobody controls and therefore everyone can trust. Etc... So what exactly can these be used for other than fo…

In theory smart contacts remove the need for law & lawyers to enforce contracts. In practice any useful contract will need some data that isn't present in blockchain, from 3rd party providers/oracles. It is nice solution for gambling - if you bet on future blockchain state, since betting on sport events need an oracle that will provide smart contract with sport event results.

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#74
post #56

Earlier quoted context omitted.

many classes of transactions and economic activities that require the facilitation of real-world middlemen (drafting & enforcing contracts, coordinating buyers & sellers, etc) can be turned into something that exists entirely on the network and automated. a straightforward example is a gambling pool that exist purely in software, on no particular device. vue.js is just for a pretty frontend for the apps.

Is there a reasonably simple (and reasonably documented) yet reasonably usable free open-source application of this kind available to study? By the way, can I use the blockchain as a decentralized replacement for a database (e.g. instead of MongoDB/CouchDB) for my app so that all the data submitted (provided it's lightweight immutable semantic data, i.e. "facts" accompanied with small (never bigger than 256 symbols,…

you could take a look at openbazaar, which (as far as i know) is the leading decentralized market software currently being developed. it uses cryptocurrency for payments and ipfs as a filesystem.

you surely could use the blockchain as a database, because you can attach small amounts of arbitrary data to blocks[1], but it would be very inefficient (transaction fees!). something like ipfs is probably a better solution.

i'm not a software developer, i just think this stuff is really cool and follow projects. someone with more technical chops could definitely give you some better pointers! i do have this bookmarked, though: https://dappsforbeginners.wordpress.com/

[1] https://poex.io/about

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#75
post #61

Can someone explain what this does? Like, what should a user expect to see when visiting the application, and what a developer could expect to make developing this application further? I see a "gas" and a "gasprice" used, but ctrl-f doesn't show anything in HN comments, nor in the readme outside of the code, indeed the code itself is commented with: // Someone help me understand this.

Just to add to echelon answer, gas represents the computational effort of a specific EVM (ethereum virtual machine) instruction. For example, deploying a contract cost a certain amount of gas, storing a variable another, etc... However when you send an ethereum transaction (i.e you modify data in the blockchain) you need to pay the miner in ether. You cant pay in gas. So you have to specify how much ether you are wil…

Just to add to this, here's a website listing some real time stats for ether gas: https://ethgasstation.info/

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#76

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?).

"Programmable money" is one shorthand example for smart contracts. As a simple example, you could create a payroll smart contract that pays a fixed amount of coins/tokens/whatever at a certain time each month to a given ERC20 compliant address. You can contrast this with Bitcoin, whose two main functions are securely storing and sending bitcoin (limited by design).

For a more in-depth answer regard smart contracts, here is an article by Vinay Gupta where he sets the context for Ethereum, smart contracts and blockchain against the existing way of organising and sharing data (SQL, the web, how organisations share data, protocols, and more):

https://medium.com/humanizing-the-singularity/by-the-end-of-...

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#77

Earlier quoted context omitted.

You're right. I also cannot think of anything useful that "smart" contracts can accomplish that a normal contract cannot. Also, wtf does "apps" mean? Can I run this "app" on my phone? Is it like instagram?

Secure and untampered voting. In centralized server (server in AWS), the gate keeper can tamper the voting records (UPDATE voting set your_champion_voting = 100). With smart contracts on top of Ethereum, that is impossible.

The important properties here are immutability, transparency and authentication. This could be done by a centralized server. For instance by keeping an append-only log with signed voting records which is regularly published, where each entry contains previous entry ID. Like git...

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#78

If it's on Ethereum, it's not decentralised. Their state is mutable -- as per the DAO.

Only the names mutated: Ethereum -> ETC. New Coin -> Ethereum. The market said New Coin a.k.a. Ethereum is worth more. But who cares about fiat, eh?

Just had a nasty though. Don't tell the tax office about this. They'll could tax you as income on the "New Coin" a.k.a. Ethereum you got for free, and you claim a capital loss on the drop in price of the old coin (Etherium Price - Classic Price). Yikes!

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#79

There has gotta be an encryption enthusiast out there that can explain to me how secure multi-user private communications can occur in a decentralized web. Assuming the crypto was strong enough to guarantee privacy, how does an application automatically allow a user to transparently decrypt topics they’re invited to? Point to point trust seems relatively easy with asymmetric encryption but point to point to point to…

Privacy is not a feature of Etherium or "smart contracts". It's the opposite, in fact. All transactions are public. The only "private" aspect is your address used to make a transaction but it has the same problem as Bitcoin in that regard: When you turn it back into real money your identity can now be attached to that address.

Re: Show HN: Decentralized application starter with Vue, Ethereum and IPFS

#80

Earlier quoted context omitted.

> If it's on Ethereum, it's not decentralised. You didn't mention it not being a blockchain. Words matter. I think the fork was a mistake as well, but that doesn't make something centralized.

I hadn't realised that people didn't know what type of data structure Ethereum used.

whoosh
Post reply on HN