TrustWeaveConfig
class TrustWeaveConfig
Unified TrustWeave Configuration.
Centralizes configuration for anchor layer (blockchain), credential keys (KMS), and DID methods into a single configuration point. This makes it easier to configure TrustWeave and provides context for DSL operations.
Example Usage:
val trustWeave = trustWeave {
keys {
provider("inMemory")
algorithm("Ed25519")
}
did {
method("key") {
algorithm("Ed25519")
}
}
anchor {
chain("algorand:testnet") {
provider("algorand")
}
}
credentials {
defaultProofType("Ed25519Signature2020")
autoAnchor(true)
defaultChain("algorand:testnet")
}
}Content copied to clipboard
Types
Link copied to clipboard
data class CredentialConfig(val defaultProofType: ProofType = ProofType.Ed25519Signature2020, val autoAnchor: Boolean = false, val defaultChain: String? = null)
Credential configuration within TrustWeave.
Properties
Link copied to clipboard
All registered blockchain anchor clients, keyed by chain ID.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
All registered DID methods, keyed by method name.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard