Skip to content

Refactor DID identifier and add placeholder for network name instead of having "hedera" hardcoded #6

@hendrikebbers

Description

@hendrikebbers

We should refactor the DID identifier (as example in

IDENTIFIER = f"did:hedera:{NETWORK}:{PUBLIC_KEY_DER}_{DID_TOPIC_ID_1}"
) and add a placeholder instead of having hedera hard coded. This will allow us to use the lib with other Hiero-based networks next to Hedera.

It will be fine to have an easy way to create it for hedera (like did.forHedera() or something) but it should be configurable.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions