Skip to content
New issue

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

ITxBuildArgs needs to support all (relevant) js native types #4

Open
michele-nuzzi opened this issue Feb 3, 2025 · 0 comments
Open
Assignees

Comments

@michele-nuzzi
Copy link
Member

In ITxBuildArgs

currently some interfaces do not support native js types, and strictly require classes

one example is ITxBuildInput

where the utxo field is of type IUTxO.

This looks good at first, but in reality the definition of IUTxO in cardano-ledger-ts uses ITxOut for the resolved field.

And the definition of ITxOut uses either Hash32 class or Data (from plutus-data)

in this case we should add support for strings and Uint8Array.

Many other cases going through ITxBuildArgs

@bakon11 bakon11 self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants