cardano-scaling / hydra

Implementation of the Hydra Head protocol
https://hydra.family/head-protocol/
Apache License 2.0
284 stars 86 forks source link

Improve the fueling of a node #553

Closed pgrange closed 1 year ago

pgrange commented 2 years ago

One important for a node before being able to participate in a head is to mark some UTxO as fuel.

I don't know if we would drop this fueling step in the future but, anyway, we should improve the user experience with this step.

Why

It's important that we give an as best as possible user experience. We can see in #548 a user struggling on how to fuel their node.

Today, we have several fueling scripts available and they are all tied to one or another deployment sample:

We should help our users to fuel their node easily, whatever deployment the chose.

What

Not sure what we should do. If fueling is something that will be part of hydra in long run, we should probably provide a binary that just does that, maybe in the form of a hydra-cli command?

ch1bo commented 2 years ago

Nice write-up of the situation!

pgrange commented 2 years ago

While doing this, I also suggest we take a look at the other squash-utxo script as it would probably be needed by a user at some point then they are playing with hydra.

ghost commented 1 year ago

How about extending hydra-tools which is a swissknife executable for doing various operations with Hydra?

ch1bo commented 1 year ago

Or implement https://github.com/input-output-hk/hydra/issues/215 which will make the distinction of fuel and other UTxO redundant.

ch1bo commented 1 year ago

Since #924 the scripts mentioned in this issue should not be needed anymore.