Class ContractInstanceDID

Decentralized Identifier (DID) for Concordium smart contract instances. Represents a smart contract that can issue Web3 ID credentials.

Hierarchy

  • ContractInstanceDID

Constructors

Properties

Methods

Constructors

Properties

address: ContractAddress

The contract address (index and subindex)

network: Network

The Concordium network (Mainnet, Testnet)

Methods

  • Serializes the contract instance DID to a string format.

    Returns

    DID string in format: ccd:{network}:sci:{index}:{subindex}

    Returns string

Generated using TypeDoc