bankofthecommons / coopshares

0 stars 1 forks source link

Identity, Groups and Wallets #3

Open vmatekole opened 6 years ago

vmatekole commented 6 years ago

This issue collates the various topics/discussions related to identity (for identifying an Agent) and groups (for identifying cooperative investments) and wallets (for managing share attribution and currency). Scope is limited to the pilot for Coopshares using Freecoin to manage share attribution.

Three main abstractions that originate from their respective systems that combine to make up Coopshares system: — Identity (OCP/Chip-Chap/Freecoin) — Groups (OCP) — Wallets (Freecoin/Chip-chap)

Some background information concerning accounts/sub-accounts in OCP/Chip-chap — https://board.net/p/BotC_Groups_and_Subaccounts)

In scope

Out of scope

Open questions

  1. Given the current constraint of Freecoin — in that wallets cannot be created using MongoDB only, blockchain(Faircoin) must be used. The assumption is share attributions for an Agent are linked to a Faircoin wallet. Given this dependency on blockchain, it might be that case key mgmt is a requirement.

  2. How should unincorporated/incorporated projects listed in coopshare relate to groups/collectives?

  3. Shares offered are limited to BOfC shares, does this mean the pilot shouldn't cover the creation of new projects?

fosterlynn commented 6 years ago

@vmatekole thanks for this!

One other thing to add to the mix, unless you have already looked into it. The scope of the pilot is BotC shares. BotC shares already exist in OCP and somewhere else in blockchain land (chip-chap?). There is code that keeps these in sync I assume, but haven't looked. The quantities are not in OCP, but the records are, and other data relationships (including ownership of the shares), and possibly "business" logic, is there too now.

Do we want to get that out of OCP? I think @ivanminutillo proposed that initially. Which is fine with me, in general. But for CoopShares for BotC shares, we will have to figure out how to do that, or continue to maintain the relevant data in OCP. (Share ownership for sure, not sure what else there is to worry about for this scope.)

In scope Identity Wallets (share attribution only)

Group will need to be in scope to the extent that we will need to find BotC members and shares. Should be minimal, just mentioning.

vmatekole commented 6 years ago

Updated as per your comments @fosterlynn.

fosterlynn commented 6 years ago

Discussion on telegram on this topic

From @enricduran : The data is in ocp, and we need it to keep there because it holds the relationships that then can influence access to different services based in such membership

this doesnt means that have to be the first source of the data, it can just copy it, from the blockchain,

From @ivanminutillo : It's not mandatory imho, relationship can stay on ocp and can be updated based on shares variations that can be stored outside

@vmatekole When you say copy, you mean to reference, correct? Having two distributed systems maintaining the same copy of information, is scary...

(general agreement on the scary-ness)

@fosterlynn I guess even in OCP there is some duplication of data: OCP keeps track of economic events, such as transfering a share to someone else (although I don't know if it is doing this when shares are created as part of becoming a member). OCP also keeps track of explicit relationships between resources (like a botc share) and agents. For ownership relationships, you could derive this from the economic events. So, following on that, if the economic events that transfer shares are on the blockchain, OCP could theoretically derive current ownership from that. (Sometimes derived data will be useful though, for performance reasons or data access reasons. )

@enricduran Anyway the important is that members continue seeing their shares there

fosterlynn commented 6 years ago

Shares offered are limited to BOfC shares, does this mean the pilot shouldn't cover the creation of new projects?

I see no reason the pilot should cover creation of new projects.