Easypaysy vs PayNyms: Human-Readable Bitcoin Accounts Compared
This article was translated from Japanese with AI. Read the original (日本語) · Report a translation issue
Shigeyuki Azuchi's technical blog beat me to it, but earlier this month a white paper was published for easypaysy, a protocol designed to improve Bitcoin's UX.
What easypaysy aims to improve is the UX of Bitcoin addresses. Samourai Wallet has implemented a similar feature called PayNyms. In this column, I'll introduce the features of each and compare them.
EASYPAYSY
Bitcoin addresses aren't supposed to be reused, and on top of that they're hard for humans to read. Plenty of people probably feel nervous every time they send a payment. It's also a hassle to ask someone you pay frequently for a new address every time. easypaysy is a protocol proposed to address these problems, using human-readable "accounts" to combine ease of use with security.
I'll leave the technical details to Azuchi's blog post linked above and give an overview here.
With easypaysy, a user obtains an account name like the one below by sending a transaction from a 2-of-2 multisig address built from two keys they hold:
btc@cancel-mind.exhibit/motion
Here it's encoded as BIP39 words; in numbers it would be
btc@543847.636/577
The format describes the transaction that registered the account name:
blockchain@block number.transaction position/checksum
The full checksum is actually four words (four 3-digit numbers), but entering just the first word is enough to detect errors in the rest of the name. If you're really worried, you can verify using all four words.
An identifier stored with OP_RETURN in the transaction that the account name points to specifies "what kinds of transactions the account accepts." This is why the account is registered from a 2-of-2 multisig address in the first place: the two public keys revealed in the process serve as an "authentication key" and a "receiving key."
The creator proposes the following four types:
"Simply send to that address"
"Contact the recipient directly and get an address (signed with the authentication key)"
"The sender uses the receiving key to generate a new address for the recipient and sends to it"
"(Same as above, plus a mechanism that makes incoming payments easier to notice)"
In other words, easypaysy is a protocol where receiving just an account name like btc@abandon-chair.table/jazz also gives you the information on how to send the payment, and depending on the specified payment method, the wallet automatically generates a fresh address for the recipient. (This is where the "receiving key" comes in.)
So, put simply, easypaysy is a protocol for accounts on the blockchain and for specifying how to pay those accounts.
Incidentally, generating the recipient's address on the sender's side may sound novel, but it uses stealth addresses, a mechanism that never really caught on in Bitcoin. Digging around the web, I found a 2014 slide deck by Mr. Oishi on the topic.
PAYNYMS (BIP47 PAYMENT CODES)
PayNyms, implemented in Samourai Wallet, is a feature that takes the permanent "payment code" (PM8T…) a wallet can generate under BIP47 and derives an ID and an image from it.
First, BIP47 describes a way for hierarchical deterministic (HD) wallets, which derive many private keys from a single seed, to generate a payment code that can be shared publicly without compromising security or privacy. If both sender and recipient support BIP47, then after an initial transaction that communicates one party's payment code, they can transact privately using just the payment codes. (There's no need to give the sender a new address each time; payments automatically arrive at new addresses.)
Here too, the stealth address mechanism mentioned above is used.
PayNyms is a feature, offered exclusively by Samourai Wallet, that generates an ID called a PayNym and a robot image from this payment code. The robot images are cute, kind of like CryptoKitties, so take a look at the directory site that collects public PayNyms. It can't be helped, but it's a shame that it's a proprietary standard.
Comparison
Functionally, PayNyms/BIP47 and easypaysy have the following in common.
• Both can generate a user ID, giving an account-based experience
• Both display accounts in a form humans can easily recognize (words, images, etc.)
• Both can use stealth addresses. Overall, however, easypaysy seems superior in many respects. • PayNyms is limited to stealth addresses, and both parties have to use it (easypaysy works with anyone and can also accept "regular" payments)
• BIP47 isn't worth the cost unless you transact repeatedly with the same counterparty (since communicating the payment code takes one transaction), whereas an easypaysy account can be used semi-permanently and can even be updated
• Because easypaysy accounts live on the blockchain, they can integrate with blockchain-based services such as certificate authorities. It's that "blockchain identity" thing everyone's talking about these days.
Summary
As a protocol that brings something like accounts to Bitcoin, easypaysy offers flexible functionality and can be used today, which makes it a very good idea in my view. It's also interesting that it opens up possibilities for integration with other services. However, since it requires using up precious block space, it may be hard for it to gain wide adoption.
PayNyms, on the other hand, is well done in terms of how easy its IDs and robot images are to recognize, but the situations where it can be used are limited, so it too may struggle to gain adoption. It's certainly a very fitting feature for Samourai Wallet, which markets itself on putting privacy first.
I'm not all that interested in vanity addresses, but if wallets could generate icons like PayNyms or CryptoKitties, I'd love to play around with generating vanity icons.