Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Store identities as ipld links #273

@oed

Description

@oed

Right now identity objects are stored within each entry. This results in a lot of duplicated data when there is a lot of entries created by the same identity. One way to mitigate this is to store the identity as an ipfs object and in the entry just put an ipld link to this object.

It could looks something like this: (pseudo code)

const identityCID = await ipfs.dag.put(identity)

entry.key = `${identityCID}/publickey`
entry.identity = identityCID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions