← Back to Blog

I Asked an AI to Buy Me Electrolytes. It Paid in Bitcoin.

We partnered with Salt of the Earth, makers of premium electrolyte mixes, as Lightning Enable's first Shopify integration and now Claude AI can buy real electrolytes with Bitcoin over Lightning.

I Asked an AI to Buy Me Electrolytes. It Paid in Bitcoin.

The idea was simple: let AI agents browse a real store and purchase real products using Bitcoin over the Lightning Network.

So I tried it.

I asked Claude to buy me some electrolytes.

Not through a website. Not with a credit card.

I told an AI agent what I wanted, and it handled the rest.

It found drinksote.com, browsed the full catalog, showed me the options, calculated Florida sales tax, paid $27.67 (38,561 sats) over Lightning, and placed a real Shopify order.

The whole thing took about a minute.

A few days later, electrolytes showed up at my door.

Wait, An AI Bought You Electrolytes?

With my help.

I told it what I wanted, confirmed the payment, and gave it a shipping address.

Think of it like a capable assistant that knows how to pay.

The difference is how it executes. There was no browser, no checkout page, no “add to cart.” The agent talked directly to the store’s API.

From the merchant’s side, it looked like any other order. Same Shopify dashboard. Same fulfillment process. The only thing that changed was how it got there.

How It Works

The agent discovers a Lightning-enabled store and pulls the catalog.

When it’s ready to buy, the server returns pricing and a Lightning invoice.

The agent pays the invoice. Settlement happens in seconds. The response includes cryptographic proof that the payment occurred.

That proof is what unlocks the next step.

I provide a shipping address, and a normal Shopify order gets created.

Lightning Enable sits between the agent and the merchant, handling invoice generation, payment verification, and order authorization.

Underneath this is L402 — using HTTP 402 (“Payment Required”) as an actual payment primitive.

Why Lightning?

Credit cards assume a human in a browser.

Forms. Identity. Stored credentials. Reversible payments.

Agents don’t operate that way.

Lightning fits what they need:

An API says “this costs money.”

The agent pays.

The proof of payment is the authorization.

No forms. No stored credentials. No PCI surface area. No Lightning node required.

About Salt of the Earth

Salt of the Earth (@drink_sote) is the merchant behind the transaction. The store runs on Shopify with no changes to support this flow.

An AI agent placed a real order. It went through.

He treated it as just another order.

That order was for electrolytes.

The Salt of the Earth lineup is built around Himalayan pink salt with clean ingredients. Nine flavors, an unflavored option, creatine mixes, and some solid merch. The chocolate is my favorite.

You can buy from them the normal way, or you can have an agent do it.

Try It Yourself

If your agent supports MCP (like Claude), install the Lightning Enable MCP server, connect a Lightning wallet, and ask it to find a store.

It will discover drinksote.com, browse the catalog, generate an invoice, and walk through a purchase.

You confirm the payment, provide a shipping address, and a real Shopify order gets created.

What’s Next

This was a $27.67 order.

An agent encountered a price, paid it, and completed a real purchase.

That loop now works.

It doesn’t depend on this product, this store, or this agent.

It’s a new default.