-
Notifications
You must be signed in to change notification settings - Fork 87
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
SDK for wallet integration with Hydra #1509
Comments
Hydra Provider beta released! A minimal example of how to build transaction, sign and submit in Hydra.
|
@ch1bo, here is the source for hydra package. Here are some intro to the structure:
Next, we are currently working on the end-to-end tutorial, imagine the typescript version of this tutorial. Happy to get comments. |
That's perfect @jinglescode! I think this does cover what we intended with this feature. Maybe we should start a list of known client implementations in the docs to also have a list of tools to update/notify when we need to change the API? |
Started a list here: #1877 |
Why
We would like to enable users and applications hosted in Hydra head (i.e. in the L2) to perform typical operations as in a web3 applications, such as perform connecting a wallet, query balance and submit transactions to spend things. Currently, the only way to perform such operations is through low level interactions with the Hydra node's API and no easy way for developers of web based applications to implement these.
What
Within this feature we want to take first step in this direction and focus on the interaction with UTxO one owns in an already open Hydra Head.
Extend
MeshJS
to support interacting with the hydra-node directly to build transactionshydra-node
NewTx
)Extend Nami (or an other straightforward) with this SDK to perform the operations mentioned above.Create a minimalistic web page, that shows balance in a head and can construct & sign a transaction using a CIP-30 connected wallet.
Update Hydraw to not need the backend component
Out of scope: Integrated experience where the wallet knows about the Hydra head(s).
How
Open questions
hydra-node
?The text was updated successfully, but these errors were encountered: