Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
Should add all known hubs to content.json files (MN and W2).
But problem with hubs without peers. Adding a hub without peer is OK in development and test but not OK for a normal first time visitor. User profile will be stored in an "inactive" hub and publish will fail.
Maybe only create user profile on a hub with peer. But number of peers is only returned from 1) ZeroFrame setSiteInfo (now only saving info about main site) and mergerSiteList. Both requires add site before getting peer info.
A workaround could be checking number of peer after adding a hub and keep adding hubs until finding a hub with peer > 0.
Publish user content on a hub without peer will fail. A workaround could be moving user files to a hub with peer (if any). See also https://github.com/jaros1/Money-Network/issues/312 Publish failed - show number of peers
Should add all known hubs to content.json files (MN and W2).
But problem with hubs without peers. Adding a hub without peer is OK in development and test but not OK for a normal first time visitor. User profile will be stored in an "inactive" hub and publish will fail.
Maybe only create user profile on a hub with peer. But number of peers is only returned from 1) ZeroFrame setSiteInfo (now only saving info about main site) and mergerSiteList. Both requires add site before getting peer info.
A workaround could be checking number of peer after adding a hub and keep adding hubs until finding a hub with peer > 0. Publish user content on a hub without peer will fail. A workaround could be moving user files to a hub with peer (if any). See also https://github.com/jaros1/Money-Network/issues/312 Publish failed - show number of peers