playproject-io-archive / trustlessness

How to make ethereum really trustless?
MIT License
0 stars 0 forks source link

How to run a node with P2P database we're working on? #4

Open serapath opened 4 years ago

serapath commented 4 years ago

I will be working on documentation in the next weeks & also on getting all the source codes we have to the database. Right we only used a subset of 1000 contracts for the demo, but have over 100k of them available.


The most difficult issue here is how does the publisher of this type of data not become what we all fear -- a centralizing "holder of all the data" who can sensor or rent-seek on the delivery of the data but at the same time allow the community to afford to long-term maintain the infrastructure.

I think there might be room for a further discussion about which database to use. I understand there are various options (Swarm, IPFS, DAT). My inclination is that if the Solidity compiler already produces a Swarm address, and if we're making efforts to potentially get the deployment tools (Truffle, Re-Mix) to publish this data by default, then this would be a strong indicator about where the data is stored.


Remix already has the option to save to IPFS (and swarm): image


Hi @gpersoon. Were you in the session in Osaka?

One of the comments that came up in the session was the that while individual coders may not wish to publish their Solidity source, the community as a whole would benefit greatly if publishing the source was the default behavior during deployment.

Someone made the totally understandable point this may cause problems if a junior dev mistakenly publishes source code that should not have been published, and for that reason, perhaps it's better if the default is to not publish the source by default (as it currently works).

I made the point that there may be a middle ground - perhaps the ABI could be published by default (opt-out) and the full source code only be published on user action (off by default).

In many cases, the ABI is enough to do a lot of very useful things such as off-chain analysis, permissionless accounting, and improve wallet interaction.


Hi @tjayrush, no i wasn't. I met @ninabreznik and @serapath at the web3summit in belin and am interested in the subject. The idea above sounds usefull.

tjayrush commented 4 years ago

Is there any activity on this recently?