Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Follows List #24

Open
michaelsena opened this issue May 23, 2020 · 3 comments
Open

Follows List #24

michaelsena opened this issue May 23, 2020 · 3 comments

Comments

@michaelsena
Copy link
Member

michaelsena commented May 23, 2020

cip: 
title: Follows List
author: Michael Sena (@michaelsena), Joel Thorstensson (@oed)
discussions-to:
status: Idea
category: Standards
type: RFC
created: 2020-05-22
requires: Tile Doctype (CIP-8)
replaces: 

🚨 This is a placeholder for an idea, and we will work to draft the CIP at a later time. Feel free to leave comments and ideas on this issue.

Simple Summary

Follows List contains a list of DIDs that a DID is following.

Abstract

The follows list aims to provide permissionless, platform-agnostic storage for a list of DIDs followed by this DID.

Motivation

Follows are often a critical aspect of identity on many digital platforms. The follows list provides a unified social graph that can be shared across platforms, eliminating the need for users to redundantly replicate the same information on each new platform.

Specification

The Follows List specification consists of a doctype, schema, and tags.

Doctype

Follows List is a Tile Doctype (CIP-8).

Schema

The Follows List utilizes the DID Array schema, which simply stores an array of DIDs. A reference to this schema should be included in your Follows List document when it is created.

Tags

When creating a Follows List document, add FollowsList to the tags field.

Example

An example Follows List document.

"doctype": "tile"
"schema": "<insert canonical schema for DID Array>"
"tags": ["FollowsList", "DIDArray"],
"content": {
  ["DID1","DID2","DID3",...]
}
This was referenced May 23, 2020
@michaelsena michaelsena changed the title CRC: Following Document CRC: Following Schema May 23, 2020
@michaelsena michaelsena changed the title CRC: Following Schema CRC: Follows Schema May 24, 2020
@michaelsena michaelsena changed the title CRC: Follows Schema CRC: Follows Document May 25, 2020
@michaelsena michaelsena mentioned this issue May 25, 2020
@michaelsena michaelsena changed the title CRC: Follows Document Follows Document Jun 25, 2020
@michaelsena michaelsena changed the title Follows Document Follows List Jul 21, 2020
@michaelsena
Copy link
Member Author

michaelsena commented Jul 21, 2020

@oed the schema for the follows list would likely just be an array of DIDs, but I could imagine that being useful for other documents as well. Should we create a new CIP for a DID Array Schema, similar to what we did for DocId Map and String Map?

@Geo25rey
Copy link

Geo25rey commented Oct 8, 2021

Well this is an interesting find. My team and I actually discussed this a while ago. We came to the conclusion that, in addition to the follows list, there should be a following list. This would allow both the follower and the DID being followed to confirm if a relationship exists or not.

@stbrody
Copy link
Contributor

stbrody commented Oct 12, 2021

The problem with a "who is following me" list is that it's hard to update that list in a trustless way. When Alice decides to follow Bob, it's easy for Alice to update her own IDX to include a record that she is following Bob. She cannot, however, write to Bob's IDX to add herself as a follower as she won't have write access to the necessary streams that Bob owns.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants