Protected
Readonly
state$Static
STREAM_Static
STREAM_Returns the DID linked to the CAIP10 address this object represents.
Given an AuthProvider that supports the CAIP2 chainid of the CAIP10 address that the Caip10Link object represents, clears the link from the CAIP10 address to its current DID if it exists.
AuthProvider instance from the "@ceramicnetwork/blockchain-utils-linking" package. Must include support for the blockchain that the CAIP10 address associated with this Caip10Link lives on.
Additional options
Given a DID and an AuthProvider which includes support for the CAIP2 chainid of the CAIP10 address that this Caip10Link represents, updates this Caip10Link to create a verifiable link from the CAIP10 address to the DID.
The DID being linked to the CAIP10 address that this Caip10Link object represents. If the 'did' provided is an instance of the DID type, the DID must already be authenticated so that the did string it represents is available.
AuthProvider instance from the "@ceramicnetwork/blockchain-utils-linking" package. Must include support for the blockchain that the CAIP10 address associated with this Caip10Link lives on.
Additional options
Given a LinkProof proving the relationship between a DID and a CAIP10 account, updates this CAIP10Link to contain the proof, thereby making the link from the CAIP10 address to the DID publicly discoverable.
LinkProof as generated by the "@ceramicnetwork/blockchain-utils-linking" package
Additional options
Static
fromCreates a Caip10Link for the given CAIP10 address. Initially created without a link to any DID, use 'setDid' to create the public link between the given CAIP10 account and a DID.
Interface to write to ceramic network
Blockchain account id in CAIP10 format.
Additional options.
Static
fromCreate Caip10Link from the genesis commit
Interface to write to ceramic network
Genesis commit (first commit in stream log)
Additional options
Static
loadLoads a Caip10Link from a given StreamID
Interface for reading streams from ceramic network
StreamID to load. Must correspond to a Caip10Link
Additional options
Static
make
Caip10Link stream implementation