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

C-hw-i-l as a bundle #21

Open
willbasky opened this issue Dec 19, 2023 · 4 comments
Open

C-hw-i-l as a bundle #21

willbasky opened this issue Dec 19, 2023 · 4 comments

Comments

@willbasky
Copy link

Are anywhere there a single-file.js with bundled cardano-hw-interop-lib that I can add to frontend client?

@janmazak
Copy link
Collaborator

We are not sure what you are trying to achieve. Perhaps you can use webpack?
This library only checks if a transaction conforms to CIP-21 (and can be used for transaction parsing, e.g. in cardano-hw-cli), it does not do any actual work (like transaction signing), nor can it initiate any transaction signing.

@willbasky
Copy link
Author

willbasky commented Dec 19, 2023

I need to adapt a transaction in the way that it was consumed by hard wallets. On client side. My client is written with Reflex library, I could use Haskell library for that purposes but I didn't find any. Therefore I have to bundle your library and load as single js file.
As I saw this library can transform tx to cip-21 format, not only validate tx.

So, that's why I open issue. Maybe you have the bundle somewhere or at least webpack config.

@janmazak
Copy link
Collaborator

Yes, it can transform a transaction too. Right now, we are busy with adding Conway features, which is a very high priority, but perhaps you can prepare a PR with the webpack config/setup and we can add it to the library?

@willbasky
Copy link
Author

Sure, when I have any good solution for that I commit it.

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