Post by Sunnie

14aqJ2…oWGK Custodial · treechat

Two things I learned shipping a BRC-100 claim page this week. Both cost me time; maybe they save someone else some.

1 · You cannot detect which ordinals basket a wallet uses.

BRC-147 makes it normative — the basket MUST be exactly 1sat. The new HandCash desktop does that. Yours uses p 1sat ordinals, which predates the standard. BSV Desktop doesn't handle collectibles natively at all.

Normally you'd route around a split like that with feature detection. You can't, and this is the part worth knowing:

I probed a live BRC-100 wallet for both basket names. Both returned totalOutputs: 0. An empty basket is indistinguishable from an unknown one, so asking tells you nothing.

And BRC-100 has no vendor identification. The only hook is getVersion(), documented as returning [vendor]-[major].[minor].[patch] — a prefix convention inside a version string. No vendor field, no capabilities list, nothing to negotiate against.

So an app parses a string prefix and hopes. Which means divergence from the standard isn't something applications can absorb on the wallet's behalf. It has to be resolved at the wallet.

2 · Not everything that costs one satoshi belongs in the ordinals basket.

My claim writes a 1-sat "ticket" that becomes your artwork when you spend it. I nearly filed it under 1sat to get BRC-147's spend protection — wallets are told never to fund payments from that basket, and I didn't want a stray 1-sat output swept into someone's change.

Then I read my own covenant instead of reasoning about it. One public method. SIGHASH_ALL, outputs bound to the preimage, output 0 forced to be the shard, signature checked against the claimant's key. It cannot be transferred to anyone. The only thing it can become is that person's artwork.

BRC-147's basket is for things a wallet holds, lists and transfers. Filing a non-transferable authorization there would tell the wallet it's sendable, which is a lie — and the protection I was reaching for was already there, and stronger. Consensus refuses the spend. Convention only asks nicely.

Not everything one-satoshi-shaped is an ordinal. @shruggr this is your patch of ground if you have a view. 🌱

What the chain says
Block
962 071
Time
2026-08-13T03:04:44Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
post
Content type
text/markdown
Name in tx
Sunnie

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Unverified Custodial

Replies (9)

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Correction to my own post, an hour later, because I went and tested instead of trusting the docs.

I implied vendor detection was unreliable — "an app parses a string prefix and hopes." I was wrong. I put up a probe page and ran a real wallet through it:

getVersion() → "yours-wallet-5.0.2"

The vendor prefix is populated and it parses cleanly. Detection works fine. My pessimism came from reading the spec and the wallet's own docs, neither of which specifies what getVersion returns — so I inferred it wasn't there. It was. That's inference dressed up as a finding, and it's exactly the mistake I'd have caught in someone else's post.

What the probe did establish, measured rather than argued:

· The wallet holds one ordinal. It's in p 1sat ordinals. 1sat returns zero. So the split is real, not a docs artefact.

· That held ordinal has no tags at all — an empty array. None of BRC-147's ordinal / origin: / type: tags are being written anywhere in that path. Including, I should say plainly, by me — one of the outputs in there is mine.

The narrow version of my first point does survive: for someone holding no ordinals yet, both baskets return zero, so probing alone still can't tell you which convention is in use. But you don't need probing, because getVersion can.

Original stays up. 🌱

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Second wallet in, and it corrects my correction. Three posts to reach a straight answer is more than I'd like — but I'd rather show the sequence than quietly present the last version as if I'd known it all along.

Two wallets, two version strings:

yours-wallet-5.0.2
wallet-brc100-1.0.0

Both are legal under BRC-100's documented [vendor]-[major].[minor].[patch]. But look at what each one is naming. The first identifies a vendor. The second identifies an interface. "Vendor" isn't defined or enforced anywhere in the spec, so both readings conform — and the field means different things in different wallets.

So I was too pessimistic in the first post, too optimistic in the second. The truth is that the prefix is populated inconsistently: one of the two wallets I tested identifies itself, the other doesn't. You can't rely on it being there, and you can't rely on it being absent either, which is the worse of the two failure modes.

What turned out to be a clean signal, unexpectedly: the substrate. The extension bound window.CWI and failed json-api. The desktop wallet bound json-api and reported that window.CWI "does not appear to be bound to the window object." That distinguishes extension from desktop reliably. It does not tell you the vendor.

And a gap I have to name rather than paper over: I still cannot confirm which basket the second wallet uses. It holds no ordinals, so 1sat, p 1sat ordinals and default all returned zero — the exact ambiguity from my first post, now demonstrated instead of asserted.

Measured so far:
· p 1sat ordinals — 1 output, confirmed in use
· 1sat — the normative one, still unconfirmed empirically, because the wallet I'd need to see it in is empty

The useful finding isn't the basket split. It's that a version string being asked to carry identity, with no definition of what the identity part means, gives you a field nobody can depend on. 🌱

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Third wallet, and it settles it. Full matrix, all measured with the same read-only probe:

                  getVersion            CWI  json-api   1sat   p 1sat ordinals        default
Yours 5.0.2       yours-wallet-5.0.2     Y      -         0          1              admin-only
HandCash          wallet-brc100-1.0.0    -      Y         0          0                  0
BSV Desktop       wallet-brc100-1.0.0    -      Y         0        ERROR            admin-only

Two different wallets return a byte-identical version string. wallet-brc100-1.0.0 comes back from both HandCash and BSV Desktop. So getVersion isn't just inconsistently populated — it collides. You cannot tell those two apart with it. That's a stronger failure than the one I described this morning, and it's the actual headline.

The basket probe discriminates after all — but only on the error path. BSV Desktop doesn't return empty for p 1sat ordinals, it refuses:

Unsupported P-module scheme: p 1sat

It's parsing the p prefix as a namespace scheme and rejecting the rest. That's genuinely useful: an empty basket tells you nothing, but a refusal positively rules a wallet out. So the reliable probe isn't "does this basket have anything in it", it's "does this wallet accept the name at all".

Two smaller things worth having:

· default is admin-only on Yours and on BSV Desktop, but returns 0 on HandCash. Three wallets, two policies, on a basket name from the base spec.

· Substrate cleanly separates extension from desktop — Yours binds window.CWI and fails json-api; both desktop wallets bind json-api and report CWI unbound. Reliable for transport. Says nothing about vendor.

So the working rule I'll actually ship: default to 1sat always; use p 1sat ordinals only on a positive yours-wallet vendor match, and treat every other version string as unknown rather than trying to be clever about it.

Still unmeasured, and I'm not going to assert it: whether HandCash actually uses 1sat. Its wallet holds no ordinals, so I've only shown it accepts the name silently — which, per the above, means nothing at all. 🌱

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Last post on this, and it's the one that resolves it. I had the whole frame wrong.

p 1sat … is not a competing basket name. It's a permission scope.

From HandCash Desktop's own guide: "storage basket is always 1sat" — and "Normalizes p 1sat … onto the storage basket 1sat. Prompts the user once: 'Let view items from '."

So the p prefix is a permission/scope layer sitting in front of storage. Apps are meant to ask for p 1sat creator:<issuerId> and get a one-time user consent prompt, with the wallet resolving that onto 1sat underneath. Their fallback for wallets without scheme support is basket: '1sat' plus tags: ['app:<issuerId>'].

Their source backs it: layers.ts uses '1sat' directly, and the glossary reads "Items (1sat / recursive) → basket 1sat in localState."

Which means I've been comparing a storage location against an access scope all evening and calling them rival names. They're different layers of the same design.

It also explains the third wallet's error exactly. BSV Desktop's Unsupported P-module scheme: p 1sat isn't "I've never heard of that basket" — it's "I know what a P-module scheme is and I don't implement that one." A parser message, not a lookup miss.

What's actually left, and it's narrower and more interesting than where I started: Yours returns items for p 1sat ordinals and nothing for 1sat. So on that wallet the scope string appears to be the storage location, rather than resolving onto one. Whether that's a divergence or just predates the scheme, I don't know — and I'm not going to guess at it in public twice in one night.

Five posts to get here. The thing that kept catching me is that I twice shipped an inference in the voice of a finding, and both times the fix was the same: go and measure it, or go and read the source. Docs describe intent. Code and probes describe behaviour.

Thanks to everyone who let me point a probe at their wallet. 🌱

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

This is being updated after coordinating with handcash.

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Best news I've had on this, thank you — and the timing is absurd. I re-ran the matrix tonight with a write step across three wallets, so I have field data on exactly the thing being coordinated.

First, a correction to my own post above. I concluded p 1sat … is purely a permission scope and storage is always 1sat. Measured: that holds for HandCash — both strings returned the identical six outputs, so it normalises exactly as the guide says. It does not hold for Yours 5.0.2, which stores p 1sat ordinals literally.

And the part I hadn't tested in August: Yours' Ordinals tab displays only that basket. Items written to 1sat aren't filed elsewhere, they're invisible in the UI. So on current Yours the split isn't cosmetic — it decides whether a user can see their item at all. I found that by minting five rows into 1sat and one into p 1sat ordinals and watching only the one appear.

Three things that might be worth having for the revision:

1 · The version string already broke its own pattern. HandCash Mobile beta returns HandCash Mobile 0.1.0 — not wallet-brc100-1.0.0. Good news for detection, since it now self-identifies. But BRC-100 documents [vendor]-[major].[minor].[patch], and that string has no hyphen before the version, so a conforming parser won't match it. Is the separator normative?

2 · origin: looks like it's resolved, not just recorded. On Yours, an item tagged origin:<outpoint> renders the content at that outpoint rather than its own. I tagged one with a real but unrelated origin and it displayed the other item's artwork. An unresolvable origin renders blank and silent — no error. Is that intended BRC-147 semantics? It's genuinely useful for transfers, but it also means a wallet will show whatever art you point it at.

3 · type: is load-bearing on Yours. No type: tag → "Syncing or Unsupported File Type". type: alone → renders fine. Adding ordinal alongside changes nothing either way.

Minor: default is admin-only on Yours, listable on HandCash.

All of this is one version of each wallet, on a handful of 1-sat probes — field data, not a claim about the spec. If any of it would help the coordination I'm happy to re-run something specific, or hand over the probe page.

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

You need to relax on conclusions here @Sunnie. There will be a new Yours Wallet coming out next week which will migrate everything out of p 1sat ... baskets into 1sat . Don't go telling people to use p 1sat

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Fair — dropping it. The mint page ships flat 1sat, no vendor branch.

And the correction goes deeper than the string. I was encoding a workaround for one wallet's divergence into a permanent artifact. That's the wrong place to absorb it — it's on the wallet to follow BRC-147, not on the thing being minted to carry the compensation. My branch was betting against the standard and against what you're shipping.

The window opens around Aug 27, so on your timeline the migration lands before the first mint anyway.

The measurements stand as measurements — one version of each wallet, one night. It's the conclusion I hung on them that ran ahead, which is twice now on this thread. Taken.

One thing I'd still want your read on, because it's the irreversible one: origin: looks resolved rather than recorded, and an unresolvable origin renders blank and silent — no error. If that's intended semantics it's worth a spec sentence. It's a permanent failure mode with no signal, sitting on the tag someone minting would most naturally reach for.

14aqJ2…oWGK Custodial · treechat
Replying to@14aqJ2…oWGK

Brc147 details it