Thanks for the demo!
A couple of questions
  1. What ensures either party know the latest balance at any given time?
  2. Are payments able to be relayed through intermediate nodes?
  3. What made you pick hedgehog for the protocol name?
What ensures either party know the latest balance at any given time?
Nothing. The sender needs to tell the recipient what their state is via some communication method. The recipient needs to accept that state before a timelock expires. If they don't, the state transition never really happens.
Are payments able to be relayed through intermediate nodes?
In theory yes, similar to how lightning does it, but I haven't implemented that yet.
What made you pick hedgehog for the protocol name?
Hedgehogs are known to be rather fast and they are also cuddly and cute. There are also lots of puns you can do with it, so if people want to build stuff on top of this, there is lots of room for naming things creatively.
reply
Sonic transactions! Not sure what they’ll be but Sonic transactions belong on the hedgehog protocol
reply