Super Testnet, a freelance developer focused on Bitcoin and the Lightning Network, has introduced a groundbreaking protocol called Hedgehog for asynchronous layer two bitcoin payments. This new protocol allows for more flexibility and efficiency in payment processing compared to traditional lightning channels.
Unlike the Lightning Network, Hedgehog channels do not require both parties to be online at the same time. This asynchronous nature allows one party to send money to the other even when they are offline. State updates in Hedgehog channels are simple, with the sender proposing an update that the recipient can accept at their convenience.
The protocol leverages a Bitcoin script primitive called “revocable connectors” to ensure security and control. These connectors allow either party to revoke a transaction after a certain period, adding an extra layer of protection. Connector outputs enable the construction of pre-signed transactions, allowing for invalidation if needed.
In a scenario where Alice sends bitcoin to Bob through a Hedgehog channel, Bob can accept or reject the payment when he comes online. If accepted, he can cosign and broadcast the transaction to update the channel balance. If rejected, he can propose an alternative transaction for Alice to consider.
One challenge that Hedgehog addresses is the potential loss of the ability to force close a channel if one party sends money to the other without their signature. The protocol includes a conditional revocation mechanism to allow the sender to revoke a previous state conditionally.
Moreover, Hedgehog ensures that funds in a multisig address can still be accessed after a certain period, even if one party becomes permanently unavailable. Super Testnet has also hinted at a future project called Burrow, a federated CoinPool built using Hedgehog channels.
Overall, Hedgehog represents a significant advancement in layer two bitcoin payments, offering a more efficient and secure solution for asynchronous transactions. Those interested in learning more about this innovative protocol can visit the project’s Github page for further details.