Questions tagged [holochain]

Use this tag for all questions related to both the Go-based prototype and the Rust-based official version of Holochain. Additionally tag with `holochain-proto` or `holochain-rust` if you need to be specific.

Holochain is a framework for building peer-to-peer, cryptographically secure applications that non-technical users can enjoy. Unlike blockchain smart contracts and dApps, Holochain apps do not use global consensus or leader selection algorithms, tokens, or central ledgers. Each agent interacts directly with agents it cares about, and public data is published to a DHT, where a small number of peer validators (randomly selected based on distance of the data's hash to their node address) notarize it and keep a backup copy. This results in blockchain-level data integrity with Git-level data storage and energy consumption.

Additional links

Holochain https://www.holochain.org/

Holochain-proto

Documentation https://developer.holochain.org/

GitHub https://github.com/holochain/holochain-proto/

Holochain-rust

Documentation https://holochain.github.io/holochain-rust/

GitHub https://github.com/holochain/holochain-rust

8 questions
3
votes
2 answers

What are the step by step actions needed to upgrade a holochain rust back end from 0.0.1 to 0.0.2?

I started by reviewing the Api notes and comparing them: https://developer.holochain.org/api/ What I have done so far: Preparation: Downloaded and installed 0.0.2, and then updated the bash_profile following this…
2
votes
1 answer

In holochain-rust what is the best way get and show a list of all users?

I am wanting to show a list of all users for a particular app in holochain to enable an active user to make an agreement with someone. What is a best practice for getting a list of all users given the linking nature of the data flow? Would it…
1
vote
0 answers

Wasm directly on holochain?

I am looking for having a basic OS running on holochain, as it would possibly allow more computations/services to run directly from it, including from existing code designed for other platforms. I have saw that holochain can compile code to Wasm to…
1
vote
1 answer

Holochain: how to query instances with the production conductor?

When running a holochain application using the production conductor (i.e. with holochain -c hcconfig.toml), How do I query the instances from the front-end with @holochain/hc-web-client (v0.5.0) ? I have tried with: import { connect } from…
Nicolas Marshall
  • 4,186
  • 9
  • 36
  • 54
1
vote
1 answer

For holochain rust, when does it make sense to break an app into more than one Zome?

So let's say I have an app with two resources User and Messages. Currently, these resources are in their own zomes, where each Zome has only one entry. But now I am thinking about moving everything into one zome (to reduce code and logic…
Akritrime
  • 95
  • 1
  • 6
1
vote
1 answer

What is the best way to import data into holochain from another source, like mongo?

MongoDB => Holochain Rust DHT How to import, if possible If I am using a different app backend, like mongo, and I get my holochain set up correctly and configured, is there a way to get the data from mongo to holochain? How would I do that? Here is…
0
votes
0 answers

Does Holochain do anything to prevent excessive storage use?

If one peer's source chain receives far more events than average, and ends up needing much more storage (and compute) than a typical peer, does the network punish that or mitigate the cost to others, in any way? Is anything for that planned? (As an…
mako
  • 1,201
  • 14
  • 30
0
votes
1 answer

Origin of files `holoclient.js` and `holoclient.map` in holochain application?

In https://github.com/holochain/holochat-rust, how are the files ui/holoclient.js and ui/holoclient.map obtained ? Also, is there any official documentation about that that I missed and is this still the way to get a UI to talk to the holochain…
Nicolas Marshall
  • 4,186
  • 9
  • 36
  • 54