Skip to content

Instantly share code, notes, and snippets.

Last active November 20, 2023 18:18
  • Star 23 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Links to my work, accessible via


I'm Ruben Somsen, Bitcoin Sorcerer. I do protocol design in order to enhance Bitcoin.

I'm sponsored by Spiral, Superlunar, HRF, and am currently working on Silent Payments with Josie.

I also help maintain the bitcoin-dev mailing list, am co-host of the Unhashed Podcast, and founder of the Seoul Bitcoin Meetup.

You can find me on Twitter, Mastodon, and Telegram. You can also join this Telegram group chat to discuss or ask questions about my work.

Bitcoin Sorcery

Silent Payments

Receive private payments from anyone on a single static address without requiring any interaction or extra on-chain overhead.



A permissionless method to create trustless blockchains that improve the Bitcoin ecosystem by explicitly not competing as a store of value. It's a combination of two separate concepts: Blind Merged Mining (BMM) – An auction-based method of mining blocks of other chains by paying BTC miners in bitcoin. The Perpetual One-way Peg (P1WP) – Creating a new token without speculative future value (can't act as store of value).



Swap UTXOs off-chain with the absolute minimal trust in a federation (permissionless peg-out). Can interoperate with Lightning for off-chain channel opening and closing.



Trustless two-way pegged sidechains that need to be enabled via a soft fork. Mainchain users verify each softchain via a novel and succinct consensus validation method (~100MB per chain per year) thanks to Proof-of-Work Fraud Proofs (PoW FP), which ensures users can (slowly) come to consensus by only validating blocks which are disputed/forked via Proof-of-Work.


Succinct Atomic Swaps

Makes it possible to perform an atomic swap in merely two (or three) transactions, instead of four. Can work on chains that have no scripting and don't support timelocks.


Trustless P2P Lending

A trustless contract to borrow one asset, using another asset as collateral. No oracle or arbitrator is required. Works on any blockchain that has multiple assets and sufficient smart contracting capabilities.


Other posts

Podcast appearances

Miscellaneous videos


MuSig-DN paper, WabiSabi paper, Inherited IDs paper, Coins paper, Mercury statechain implementation, DLCs + CTV post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment