We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context: The UX when handling the cryptographic hashes for transactions is not great in existing Cosmos tooling. Let's fix that in NibiJS.
getTxByHash(txHashHex: string)
getByTxHashSha(txHashShe: Uint8Array)
txHashShaToHex
(sha: Uint8Array) => string
txHashHexToSha
(hex: string) => Result<Uint8Array>
Result
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Context: The UX when handling the cryptographic hashes for transactions is not great in existing Cosmos tooling. Let's fix that in NibiJS.
Tasks
getTxByHash(txHashHex: string)
- Should be clearly hexadecimalgetByTxHashSha(txHashShe: Uint8Array)
- Bytes for a sha256txHashShaToHex
with type(sha: Uint8Array) => string
txHashHexToSha
with type(hex: string) => Result<Uint8Array>
|Result
meaning handle the error as a valueThe text was updated successfully, but these errors were encountered: