Adapter Signature
An adapter signature is like handing someone a locked box along with a promise that, once they unlock it, they’ll also discover a special code inside. In Bitcoin, it’s a fancy way of building trust-minimized contracts and atomic swaps, ensuring that two parties can exchange signatures or secrets without either party getting cheated.
Essentially, you create a signature that only becomes fully valid when a second secret is revealed. This is useful in scenarios like atomic swaps where each participant wants to make sure they only release funds if the other person does so as well. If one side tries to bail, they can’t claim the hidden secret because the final signature never materializes. This technology also underpins more advanced Lightning Network functions, adding flexibility and reducing the need for complicated, trust-heavy setups.