Creates a DHT storage which can hold [Realm]s containing Flos. A Realm is a configuration of a storage, defining how long it holds the data, and what the replication factor for the data is. It uses the dht_router module to contact other nodes and exchange data.
Before the DHT-Storage system can be used, it needs to be initialized with a Realm. You can find an example of how to set it up in webpage.rs. For instructions how to set it up on the CLI, you can have a look at fledger. If you want to use it in the browser, go to fledg.re and follow the instructions there.
Here is a short overview of the elements of the DHT-Storage. For more details, refer to Flo.
Realmis a configuration for one DHT-storage. Each realm is independant of the others.Flois a Fledger Object and can store any data. Several pre-defined Flos exist, but most usage will be done with theBlob.Badge,ACEandRulesrefer to control structures for the signatures and the verification, allowing flexible configuration of the access to theFlos.