#Bitcoin & #Lightning⚡ software development services | #BitcoinCommerce | Since 2014 En inglés y español.

San Juan Puerto Rico
Curious to know how the #Bitcoin #LightningNetwork works? Check out our 12 minute, no tech knowledge needed, explainer here: piped.video/watch?v=w961k16U…
4
26
4,633
Japanese Bitcoin Industry recently introduced Aurora, using #Lightning to help Japanese businesses reach customers worldwide. We talked about what this means for #Bitcoin adoption in our latest newsletter. Worth a read! 👇 velascommerce.substack.com/p… @Bitcoinconfasia
1
3
89
Velas Commerce retweeted
Welcome to our live show! nitter.net/i/broadcasts/1wGWjlOwV…
4
11
1,271
Why don't #Lightning #developers ever get stuck in traffic? They always find a better route⚡😏 ......We'll see ourselves out. Happy Monday from the team at @VelasCommerce 😂
3
193
Velas Commerce retweeted
FYI, if you accept a meeting request from this account you will encounter ‘audio issues’ and be asked to install a desktop app to fix it. I’d recommend not doing that. Good luck out there y’all.
8
9
61
3,490
International demand for anime meets truly global payments. JBI sees a $14B market and the tech that could close the payments gap. Plus instant payouts to Mexico via Bitcoin Lightning, our #BitcoinCommerce spotlight and more! 100% Human-Written. Check it out ↓
Made with AI
2
3
5
230
Velas Commerce retweeted
An L402 bearer token can be constructed in a number of ways, but macaroons are what's recommended. I'm rather in love with macaroons 😍 read below and you might be too.
Sometimes I hear that macaroons are confusing and that bums me out as I find them to be so elegant and simple. So let me see if I can effectively communicate how beautiful this little piece of tech is… Let’s imagine that you have a server that has some data to serve up and you want to gate your content and perhaps charge for it. Step one, create a secret. Here we’ll use just the word “secreto”, which is of course “secret” in Spanish. The tricky part for you is that you have to know what a hash function is, and the tricky part for your server is that it has to hold on to and protect this secret. Now perhaps you want to give your users ID’s. Something complex and official looking like “id12345678id”. To make a very simple macaroon for your user you simple hash “secreto” together with that ID “id12345678id”. You can try this yourself on the command line if you like. $ echo "secreto;id12345678id" | sha256sum The result is “55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d” and congratulations you created a macaroon! (Kinda) You then hand your user this data: id12345678id 55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d You don’t have to hold on to any data at all besides that secret. You can hold on to that ID data if you like. But tomorrow when the holder of this macaroon shows back up to access your services, how can you validate them? Very simply as you know the secret! You take that ID “id12345678id” and hash it together with your secret [$ echo "secreto;id12345678id" | sha256sum] to see if you get the hash that they showed up with, “55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d”. If you do, then you know that your server created that macaroon and you can let them right in. Easy peasy lemon squeezy. Well, ackchyually 🤓 ... What I’ve described above is really more of an HMAC(Hash-based Message Authentication Code) than a macaroon. What macroons are really for is chaining hashes and adding attenuations. So let’s add in one more step. You don’t want this user to have access to your server forever, so you want to add an expiration date to this authentication token. Let’s say April 27th 2027. So let’s add that to our HMAC thus turning it into a proper macaroon! Right now we have: id12345678id 55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d How do we add our new attenuation? With another hash of course!!! We take our existing hash, and hash it with our new data, “expires:2027-04-27”. $ echo "55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d;expires:2027-04-27" | sha256sum We now have a new hash! “bf41dee1dacfe63e1d917c46d024e6ceb13506632e092fa218bd96df041f7b0e” This is now the macaroon that we give our user: id12345678id expires:2027-04-27 bf41dee1dacfe63e1d917c46d024e6ceb13506632e092fa218bd96df041f7b0e And still, only we know the secret. And so, this user can’t change this macaroon as doing so would alter that hash thus making our validation of it fail. So how can we validate it? Also, very, very simply with just that secret and a few hash functions! As we have the secret, all we need to do is recreate the macaroon and see if we get the final hash that the user showed up with. Hash together the secret with the ID. Take that result and hash it together with the expiration data. If the result is the same hash as the user presented to us then we know that macaroon was created using our secret. So either someone has stolen our secret, or we created that macaroon! Don’t trust, verify. Try it yourself on your machine. $ echo "secreto;id12345678id" | sha256sum This produces 55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d. Then… $ echo "55413cca2fbc3a31f5ef5ab7b18390c926dd7f9d466034ea8ec2a0867e19e26d;expires:2027-04-27" | sha256sum Which produces bf41dee1dacfe63e1d917c46d024e6ceb13506632e092fa218bd96df041f7b0e. The hashes match, authentication complete! ...one more ackchyually. A real HMAC function is slightly more complicated than demonstrated above. HMAC functions handle the data more carefully than just taking a string, and there lots of details in formatting, and there are details on how third party caveats are added, etc. However, if you’ve made it this far, congratulations, you understand macaroons! 🥳
1
8
492
Velas Commerce retweeted
It’s time for another round of “what’s the difference between L402 & x402”? I think of it like this… L402 is a bearer token while x402 is a process. Let’s look at the example of an agent paying for an API endpoint. L402 is an access token that includes proof of payment. An agent shows up to an API endpoint looking for some data. The service returns a bearer token with a Lightning invoice. The agent pays that invoice, receives the preimage as proof of payment and adds that preimage to the token, making an L402. The agent then returns to the server to access the data in that API endpoint presenting the L402 to get instant access. But wait, there’s more. As this is a bearer token, an agent can also attenuate that token and sell it, or pass it along to sub-agents, etc. Lots of options. No identity needed, no need for the server to hold on to user data. x402 is a process that focuses more on the broader crypto ecosystem. An agent shows up to that same API endpoint. The server responds with a 402 Payment Required. No bearer token, just payment requirements: how much, in what currency, on which network. The agent creates a payment payload (say, USDC on Base, or now Bitcoin Lightning too), and retries the exact same request with proof of payment attached. A facilitator verifies the proof and the server delivers the data. But the agent doesn't walk away with anything reusable. No token to pass to a sub-agent, no attenuation, no credential. Next time it needs that data, it pays again via the same process. L402 is a protocol that was created by Lightning Labs in 2020. x402 is a protocol that was created by Coinbase in 2025.
4
4
18
3,829
Velas Commerce retweeted
Tonight at Ralf's game club. As always RSVP or there won't been enough food for you!
1
4
7
272
#Bitcoin is up. Bitcoin is down.... and back up. Have you tried turning it off and back on again? 😆⚡️
2
43
Velas Commerce retweeted
Get your Operation Bitcoin gear only at: bitprintsolutions.com/collec…
4
7
77
Velas Commerce retweeted
Winning feels good. So does being noticed. Being praised. Being told you’re good at something. Enjoy it. Just don’t confuse what you’ve won with who you are. There’s a whole lot more to you than the prize. 👇 tensecondthoughts.substack.c… #Growth
1
2
23
#Bitcoin: moves above $86K Everyone: 🚀🚀🚀 IS THIS IT?! Us: Cool. Anyway..... back to building. ⚡ Price gets the headlines. Infrastructure keeps the show running. Have an idea? Reach out. We can help.
4
92
Monday afternoon status: ☕ Coffee: depleted 🧠 Brain: syncing.. 📈 Bitcoin: doing Bitcoin things ⚡ Lightning: still faster than I am More coffee, anyone? 😆
4
90
Velas Commerce retweeted
Bad news is loud. So loud, in fact, that it can convince us the world is only getting worse. But zoom out. A thousand years ago, much of what we consider ordinary today would have looked impossible. There’s no reason to assume progress stops with us. Don’t let the fear-stream convince you the future is already lost. “Don’t Discount The Future” 👇 tensecondthoughts.substack.c…
2
2
17
Every time 🫩
1
5
135
Friday afternoon goals ⚡️
🇭🇺 Most people walk right past this bar in Budapest… …and have no idea it’s Hungary’s first true Bitcoin bar. Opened in 2021 by a father-son crypto duo. They named it Bitcoin Bar simply because they could.| The branding? Open Source Ubuntu Typefont, the same as the Bitcoin logo. But actual BTC payments only came in March 2022 due to difficult regulations. Then every sat spent went right into the Bar's treasury. The even had a Bitcoin ATM inside. Have you stepped inside it? Who’s paying for the next round in sats? 🟠🍺
2
51
Shout out to the @ChiBTCollective and the V4V Summit for inviting our founder @hmichellerose to speak on #Wavelength and the future of agentic payments. Great sitting with people building a better way to exchange value. Let's keep building with #Bitcoin and #Lightning ⚡️
4
10
280