npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datamodels/3id-keychain

v0.2.0

Published

DataModel implementation of the **3ID Keychain** schema and definition specified in [CIP-20](https://github.com/ceramicnetwork/CIP/blob/main/CIPs/CIP-20/CIP-20.md).

Downloads

43

Readme

3ID Keychain DataModel

DataModel implementation of the 3ID Keychain schema and definition specified in CIP-20.

Installation

npm install -D @datamodels/3id-keychain

Rationale

3ID Keychain uses public-key cryptography to store a series of encrypted seeds that can be used to control a 3ID DID. This allows multiple different wallets to have the ability to authenticate to the same DID, by having control over just one of the auth secrets in the keychain.

The 3ID Keychain stores data which allows the DID to be authenticated using any number of external wallet keys. As a result, this document allows the DID, and by extension its associated resources, to be controllable and accessible using many different wallet key pairs. Each key pair added to the document is considered an equal owner, and has the ability to add or remove any other key pairs found in the document by performing a key rotation in the users 3ID document.

Adding a new key pair to the 3ID Keychain does not disclose a public link between that account and the DID, which serves the purpose of providing privacy to the user. If you would like to create a public link between a DID and a given cryptographic account, it would need to be achieved by additionally adding that account to a Crypto Account Links (CIP-21) document.

A few reasons why having a multi-key, cross-chain, technology-agnostic keychain is beneficial for DIDs:

  • Simplified, seamless user experience across platforms
  • Interoperability of resources across contexts that may rely on different keys or key types
  • Integration with existing wallets already possessed by a user
  • Integration with and interoperability across many different blockchain networks, web3 technologies, and wallet providers
  • Delegate the DID "key management problem" to wallet providers
  • Resilience against DID loss, since a user could only lose control of a DID if they simultaneously lose control of all auth keys at the same time

Schemas

ThreeIdKeychain

Discussion

License

Dual licensed under MIT and Apache 2