koinos / koinos-util-golang

A utility library used by Koinos Golang applications.
MIT License
2 stars 1 forks source link

add CheckIsValidAddress function #33

Closed jredbeard closed 1 year ago

jredbeard commented 1 year ago

Resolves #32

Brief description

Adds a CheckIsValidAddress to be used in the koinos-cli to verify that addresses are likely valid

Checklist

Demonstration

jredbeard commented 1 year ago

The correct range for the length of addresses appears to be 33-35. I was able to generate addresses addresses of length 33 in the cli that would be rejected by this function.

Got it. No problem, updated to accept 33-35 characters