hiero-ledger / hiero-ledger/hiero-did-sdk-python

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

Open
#6 2 comments 0 reactions 1 assignee Claimed by @AlexanderShenshin View on GitHub
Dominant language
Python
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

We should refactor the DID identifier (as example in https://github.com/hiero-ledger/hiero-did-sdk-python/blob/523aae33bde9ccb60accf252fb6cd65dd3a127cf/tests/unit/did/common.py#L17) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.