Nutmeg Plundering Muse

    TypeScript icon, indicating that this package has built-in type declarations

    0.2.0 • Public • Published

    Crypto Accounts DataModel

    DataModel implementation of the Crypto Accounts schema and definition specified in CIP-21.


    npm install -D @datamodels/identity-accounts-crypto


    Users may want to publicly associate any number of cryptographic key pairs or accounts, such as Ethereum accounts, Flow accounts, smart contracts, etc. to their DID. Creating and storing public links to these various accounts in the Crypto Accounts record document enables anyone to observe these associations and as a result resolve a DID and its resources by looking up a specific crypto account or vice versa.

    Adding an account to the Crypto Accounts document does not allow that account to control or authenticate the DID. Rather it is simply just a verifiable public mapping.

    Publicly associating one or more public key pairs, accounts, or contracts to a DID offers a number of benefits.

    • Public, two-way resolution between a DID and any number of accounts
    • Users and developers can utilize DID-based resources (i.e. profiles, data, connections, etc.) in the context of any blockchain or other Web3 app
    • Provides a better user experience for users in a multi-key, multi-chain world by eliminating the need to redundantly create new DIDs and resources for each new key and network
    • Provides interoperability of DIDs and resources across applications, networks, and wallets where users have different keys
    • Serves as a foundation for building aggregated reputation on an identity comprised of multiple accounts, not individual one-off accounts
    • Provides a common interface for creating a list of linked crypto accounts, making discoverability and query predictable





    Dual licensed under MIT and Apache 2


    npm i @datamodels/identity-accounts-crypto

    DownloadsWeekly Downloads





    (Apache-2.0 OR MIT)

    Unpacked Size

    7.54 kB

    Total Files


    Last publish


    • paul_lecam