Validate `address` argument
kseo opened this issue · 2 comments
kseo commented
Check if the given address is well-formed.
majecty commented
We can use the SDK's PlatformAddress.fromString as a validation function.
See https://github.com/CodeChain-io/codechain-faucet/blob/2e0f87726f28f0d9f072d683a9a8f2efb40922c2/logic/index.ts#L101
majecty commented
@redongjun will handle this issue.