cardano-php / cardano-php/bech32

Minor Suggestions

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
PHP
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Minor:

* Add Tests for Empty Data Arrays:
* Ensure that encoding with empty data arrays produces the expected Bech32 string format.

* Enhance HRP Validation:
* Implement and test checks to ensure that the HRP contains only valid Bech32 characters.

_Originally posted by @latheesan-k in https://github.com/cardano-php/bech32/pull/1#discussion_r1901198140_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Bech32 encoder/decoder and its current tests. Add coverage for empty data arrays and HRPs containing invalid Bech32 characters; the work is done when the expected empty-array encoding is verified and invalid HRPs are rejected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.