Avatar
bob
c35ff8c340449f0d68af1aec4844bb44a9c0b8c1dd4f4d4efbc65e12039a348a
building on bitcoin

Yea not sure what the best solution is, but feels important to include the ₿ somewhere. We can also show the USD equivalent amount in the UI or let you toggle to sats. We'll test it out and share feedback.

- You are sending/receiving bitcoin, not “sats”

- The asset is bitcoin, the most well-know asset in the world, the symbol should be there

- Sats is very confusing if you’re new to bitcoin. Easy to confuse the asset and unit if you're new. Good to know you have bitcoin and learn more than think you have sats

- There is zero confusion even if you can’t keep pre/suffixes straight since there is a 100m difference in value (if there is then that’s a good problem to have)

- ₿ looks way better than “sats” and is already is a symbol that exists everywhere

Sats is one of the worst UX mistakes in bitcoin, so open to other ideas, just trying one out!

₿ suffix = sats 😀

check out nostr:npub1arcweuxy0zkdcg08sljh058qp02ytrgnpzh4csa3ar42szyfgrpsw6ggtw at boardwalkcash.com. share your username and i'll send you an ecash gift 🧸

Replying to Avatar Egge

Recently, I have been surrounded by people experimenting with various projects, and a common theme among them is the use of cashu as the payment layer. While this fact alone is already great, the best part is to identify users and implementers needs and combining forces to come up with novel solutions.

---

## Subscriptions with Cashu

One of the most remarkable aspects of cashu is that it is a bearer asset. This hands ownership and control back to the user. Even though mints back the tokens, they have no authority to move a token on behalf of a user or any other party. How cool is that?

However, this also introduces challenges when building subscription-based services. Subscriptions typically require periodic payments, and with cashu, users must renew these manually. Currently, there are two primary approaches to address this:

1. **Overpaying:**

To minimize the number of interactions, users can pay for longer periods upfront. For example, instead of paying 2,100 sats for one hour, they could pay 6,000 sats for three hours. If they realize they don’t need the full three hours, the excess payment is effectively wasted.

2. **Full Interactivity:**

In this setup, payers and receivers stay connected through a communication channel, and payments are made at small, regular intervals. While this avoids overpayment, it requires constant connectivity. If the connection is lost, the subscription ends.

---

## Enter Locking Scripts

One of the most powerful features of cashu is its locking scripts. Let’s take a quick refresher. A locking script defines the conditions under which a token (or "nut") becomes spendable. In essence, it’s similar to Bitcoin’s spending conditions, but instead of being enforced by the Bitcoin network, these conditions are enforced by the cashu mint alone.

A widely-used locking condition is Pay-to-Public-Key (P2PK). This locks a token to a specific public key, meaning it can only be spent when a valid signature from the key’s owner is provided. This mechanism is what enables NIP-61 nut zaps, where a token can be publicly shared but is only claimable by the intended recipient who holds the private key.

To address situations where a recipient loses access to their keys or simply doesn’t claim the token, P2PK includes additional options: locktime and a refund key. These options allow for the inclusion of a fallback mechanism. If the primary lock expires after a set time, a refund key can reclaim the token.

With these tools, we can now create non-interactive payment streams!

---

## One Missing Piece…

Before diving into payment streams, there’s one more crucial concept to cover: cashu tokens are not singular "things". Instead, they’re composed of multiple proofs, each carrying its own cryptographic data and spendability. For example, if you receive a cashu token made up of five proofs, you could choose to claim only three proofs and leave the other two untouched. This flexibility is rarely utilized but is vital for building payment streams.

---

## The Grand Finale: Payment Streams

Now that we have all the building blocks, let’s construct a payment stream using cashu. By leveraging locking scripts, refund keys, and multiple proofs, we can design a token that enables recipients to claim small portions of the total amount at regular intervals—without requiring any further interaction from the sender.

Even better, as the sender, you retain the ability to cancel the stream at any time and reclaim any unspent portions.

![Flowchart of payment streams]()

### Example: Renting a VPS

Imagine renting a VPS for a week, priced at 1,000 sats per day. Here’s how a payment stream could work:

1. Construct a token worth 7,000 sats to cover the entire week.

2. Divide the token into 7 proofs, each worth 1,000 sats.

3. Lock each proof using a P2PK script, locking to your key and adding the recipients key as a refund key.

- The first proof has a locktime of `now`.

- The second proof has a locktime of `now + 1 day`.

- The third proof has a locktime of `now + 2 days`, and so on.

When the token is sent, the receiver can immediately claim the first proof since its locktime has expired and the refund key is now able to claim. The second proof becomes claimable after one day, the third after two days, and so on.

At the same time, the sender retains the ability to reclaim any unclaimed proofs by signing with their key. If you decide to stop using the VPS midweek, you can cancel the stream and reclaim the remaining proofs; all without further interaction with the receiver.

---

With this approach, we can create robust, non-interactive payment streams that combine the autonomy of cashu with the flexibility to reclaim funds.

Thank you for reading. Make sure to leave a nut if you enjoyed this :)

awesome read! very excited about subscriptions with ecash.

this also looks great - what app did you compose and post this on?

congrats nostr:npub16c0nh3dnadzqpm76uctf5hqhe2lny344zsmpm6feee9p5rdxaa9q586nvr!!

Favorite features of Primal 2.0 so far:

- Feed marketplace - we need more/better feeds, but “Popular from npubs you follow” is already a game-changer for me

- Reads - long form articles that you can “highlight” and easily post clips

- Contacts Backup (premium feature), i can sleep at night again

nostr:note1kaeajwh275kdwd6s0c2ksvj9f83t0k7usf9qj8fha2ac7m456juqpac43m

Incredibly excited by this vision 🔥

We now have the tools to deliver both privacy and usability to every user.

As a developer, it would be irresponsible not to use this backend to protect your app and your users.

nostr:note14t5p3n2kmq8q0cqfjjqwvraj65hl4dyxgg5ukvztzw7hueg9p55ssqdmz6

Awesome Payments = Bitcoin + Lightning + eCash 🚀

Excited to share my talk from @`bitcoin++` describing the enormous opportunity for #Bitcoin to power payments for the next generation of consumer internet products.

https://www.youtube.com/watch?v=uT_VtKnnAZA&t=4587s

Replying to Avatar Boardwalk

Boardwalk and Bitcoin 🎉

We’re excited to announce our biggest update ever.

Boardwalk now supports #Bitcoin - both through bitcoin eCash and through any bitcoin wallet that supports NWC.

Boardwalk is a Bitcoin platform - combining the best of eCash, Lightning and self-custody.

---

Boardwalk is now the easiest way to experience bitcoin for the first time.

Instantly receive bitcoin by claiming an eCash token, eTip or eGift.

Send your first Bitcoin Lightning payment to a friend or merchant in seconds.

---

Bitcoin eCash enhances the bitcoin payments experience.

Instant onboarding, bearer cash, gifts, dollar-based balances, programmable and offline payments expand the usability of bitcoin.

And eCash is just getting started!

---

Boardwalk is now much more than just an eCash wallet.

Boardwalk is a self-custodial wallet that connects to any bitcoin wallet that supports Nostr Wallet Connect nostr:npub19hg5pj5qmd3teumh6ld7drfz49d65sw3n3d5jud8sgz27avkq5dqm7yv9p

nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm nostr:npub1aghreq2dpz3h3799hrawev5gf5zc2kt4ch9ykhp9utt0jd3gdu2qtlmhct nostr:npub126ntw5mnermmj0znhjhgdk8lh2af72sm8qfzq48umdlnhaj9kuns3le9ll

---

No mint? No problem!

Send eCash as an eTip or eGift directly from your own Lightning wallet using NWC.

Receive eCash directly to your own node or favorite Lightning wallet via Lightning Address.

nostr:npub1ex7mdykw786qxvmtuls208uyxmn0hse95rfwsarvfde5yg6wy7jq6qvyt9 nostr:npub155m2k8ml8sqn8w4dhh689vdv0t2twa8dgvkpnzfggxf4wfughjsq2cdcvg nostr:npub1hcwcj72tlyk7thtyc8nq763vwrq5p2avnyeyrrlwxrzuvdl7j3usj4h9rq nostr:npub13ljnkd633c7maxatymv3y2fqq8vt3qk7j3tt0vytv90eztwgha9qmfcfhw

---

Boardwalk combines eCash and NWC to deliver the best bitcoin payments experience.

We will continue to add new bitcoin payments technologies as they develop and scale.

#Cashu #NWC #Fedimint #Ark #Strata

---

We believe these Bitcoin protocols will become the payments infrastructure layers of the future.

All payments will be bitcoin payments.

www.boardwalkcash.com

Bitcoin launch day! Boardwalk is now the best daily driver wallet for bitcoin payments. It's a lightning wallet, ecash wallet and self-custody wallet all in one. There has never been more innovation happening in bitcoin payments and we're building it all into Boardwalk.

nostr:note1rvh8mg4w5zq8fjry08unywunqgga62w32qfac2r62na84d45yhvq5ecpj2

Hi - we are providing limited support for this product right now, but should be able to get it up and running again by next week. Sorry about the downtime!

Get $1 of ecash from Boardwalk! ⭐

We use Nostr for identity, lightning + NWC via for funding and ecash for the “last mile” transfer.

One of many ways we’re using Nostr + ecash to improve #bitcoin payments.

nostr:note176nfafcnlcag3ht5h7r0s39gr8qu6s5jrefp9lrn20htvv6z4knqytnul9

nostr:npub1arcweuxy0zkdcg08sljh058qp02ytrgnpzh4csa3ar42szyfgrpsw6ggtw is giving away these eGifts today!

nostr:note1nkslvqez5rqkp8we0a3lw0cfdf2ark0m47re45g8gazarcs08cwsqjfyrp

You can now link Boardwalk to Nostr! nostr:npub12vkcxr0luzwp8e673v29eqjhrr7p9vqq8asav85swaepclllj09sylpugg nostr:npub18m76awca3y37hkvuneavuw6pjj4525fw90necxmadrvjg0sdy6qsngq955 nostr:npub1nz64zngcqm8vj8nhrdkcjpfwn2rcaqysnxec88tqfclp5afrpglsqm0w5y

This is the cornerstone of a number of new features we’ll launch in the coming weeks 🚀 We made it as simple as possible to link your account - just add your npub and DM’d code.

Try it today!

nostr:note1f8c9t3th3xc9p6dp084r43fljdkksw0h5j5n6zx4qgpq8stt3ljqf6n54d

Let's share some eGifts 🎉 I'll be giving away one of each eGift today. Just repost the nostr:npub1arcweuxy0zkdcg08sljh058qp02ytrgnpzh4csa3ar42szyfgrpsw6ggtw announcement and drop your profile link or username in the thread below 🐳

nostr:note19k23ypkpe5hr854r59sd63dtkq9yustke5kxwk4pqxnx8tfggcusncl9mm

We now have a dedicated Nostr account for Boardwalk! Follow them to get all the latest updates going forward.

We have a very exciting new feature launching tomorrow 🚀

nostr:note1qh7q2n5lfexlsvxw0c3qt6gp4nxrjgtrxadt6ppyfq7qmsc4x8hqw7p7hw

psa: @btcplusplus berlin has talks + agenda posted!!

https://btcpp.dev/ecash#agenda

by the way, this is the earliest that i’ve *ever* gotten a schedule posted 🤣 all credit due to nostr:npub1rpes5hhk6mxun5ddt5kecxfm8y3xdr0h5jwal32mc6mxafr48hxsaj2et2 for helping me stay on top of it

Can't wait for the ecash conference in Berlin next month! I'll be talking about how ecash helps increase adoption for bitcoin payments!

nostr:note1xj50lq8y4xx8keh0z3tufshc56y4j9hc8989709xg52yc7nr565s0m06zw

Doing some research tonight for BoardwalkCash.com 🎡

We're planning to keep it just USD for now. Mainly because having two different balances is confusing for new users and we're trying to keep the wallet as simple as possible. Of course open to ideas on how to make work!

Introducing eTips with Lightning on BoardwalkCash.com ⚡

Receive eCash directly on your Boardwalk profile page from any Bitcoin Lightning wallet.

Send eCash directly from nostr:npub1cashappn03s3cl2ljsdntv0v28e2um5lgx4vjctqjt23pcwzjhsqmtdg5l nostr:npub1ex7mdykw786qxvmtuls208uyxmn0hse95rfwsarvfde5yg6wy7jq6qvyt9 nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm nostr:npub1xnf02f60r9v0e5kty33a404dm79zr7z2eepyrk5gsq3m7pwvsz2sazlpr5 nostr:npub148qm45zettnf6ekgkatnyfadunxwjpu8sy88mjdsgwc5f202d93qmejra7 nostr:npub1xkere5pd94672h8w8r77uf4ustcazhfujkqgqzcykrdzakm4zl4qeud0en

You don’t need an eCash wallet to send eCash 🤯

---

Share the eTip by dropping the link on any social media or messaging platform for the recipient to claim.

The eTip recipient will also get a notification directly in their Boardwalk app.

Send bitcoin instantly received as eCash.

Lightning 🤝 eCash

---

Try out sending eTips with Lightning now!

All tips to Boardwalk go to open-source eCash devs.

www.boardwalkcash.com/boardwalk

https://m.primal.net/JyUw.mov