Skip to content

Extend checksum validation support for all entity types (FileId, AccountId, ContractId, TopicId, ScheduleId) #410

@manishdait

Description

@manishdait

Problem

Currently, checksum validation is implemented only for TokenId introduced in PR #380. This issue aims to extend checksum support to other entity types — FileId, AccountId, ContractId, TopicId, and ScheduleId for consistency across with the other Hiero SDKs like Java and Javascript.

Solution

  • Add checksum field and validate_checksum(), and to_string_with_checksum() methods to each corresponding class.
  • Write unit tests for each entity type (valid, invalid, and mismatched checksums)

Alternatives

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions