BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

CIP-7

CIP-7 (Blockchain Validated Asset Metadata, or BVAM) was a 2016 Counterparty proposal by Devon Weller of Tokenly, building on an earlier idea credited to Joe Looney and now documented in the 2015 Tokenly Pockets source. It proposed binding a rich asset-information document to a Counterparty issuance using a short content hash placed in the issuance's description URL. A wallet could retrieve the document from an untrusted server and check its exact bytes against the commitment. Optional X.509 signatures addressed the separate question of the issuer's claimed real-world identity. First proposal — contemporary source

The proposal is labelled Informational and Draft in the original document and the historical CIP register. It was not a Bitcoin consensus change or a universally imposed Counterparty asset rule. Unlike several proposals whose surviving evidence is chiefly prose, BVAM also left a contemporary implementation trail: Tokenly published a validator, a provider and API clients within weeks of the proposal. Those repositories establish engineering work, not the number of assets or independent wallets that adopted it. Archived CIP register · Tokenly provider repository

2015: the wallet convention before the CIP

The 2016 proposal credited an earlier BVAM idea to Joe Looney. Source history now supplies a concrete predecessor rather than leaving that credit as an unexamined sentence. The Tokenly Pockets Chrome-extension wallet had a 22 August 2015 code commit which displayed numeric Counterparty assets by loading JSON metadata from xcp.ninja, verifying a hash and matching the JSON asset field against the asset being shown. The initial path was restricted to A111-prefixed numeric assets for testing, according to the commit message. On 1 September, issuance integration followed; on 7 September, local caching and a hash-before-reordering correction appeared. These are directly dated Git artifacts, not verified evidence of a particular mined issuance or widespread wallet deployment. First BVAM display · Issuance code · Serialization correction

The wallet's September 2015 BVAM document described a different reference grammar from CIP-7. It computed RIPEMD160(SHA256(JSON bytes)), then Base58Check-encoded the 20-byte digest with version byte 0x41 and a four-byte checksum. The wallet's on-chain description began with TOKNID-, as in TOKNID-TB2rTB5FdLtqYu31wTmKgy54TYeZSqJgr3. The published example can be reproduced from its literal sample JSON with those steps. By contrast, CIP-7's T prefix was just a letter prepended after plain Base58 encoding of the digest, without that version/checksum framing, and its issuance description was a URL. A reader implementing only the 2016 format could not simply interpret the older TOKNID- description as a CIP-7 URI. First wallet document · CIP-7 encoding rules · Reference 2016 hasher

Pockets also added a distinct WebTorrent experiment on 21 September 2015. It used BVAMWT- followed by a Base58-encoded torrent infohash to retrieve BVAMWT.json, not the TOKNID- server hash. On 25 September, the wallet developer disabled WebTorrent metadata retrieval by default pending further testing, while permitting an opt-in setting. This both predates CIP-7's suggestion that peer-to-peer hosts could distribute verifiable metadata and shows how early its practical availability problems were recognized. A live, independently tested peer exchange has not been recovered from those source commits. WebTorrent implementation · Default-off correction

The first CIP-7 draft's attribution and the 2015 Git history establish a development lineage worth investigating, not formal compatibility or a claim that Weller's later proposal adopted every old Pockets design choice. The earlier repository used the loon3 account; identity and contributor roles should not be inferred beyond explicit first-party credits.

The August–September 2016 record

The dates below are source-repository events rather than inferred mainnet activation dates.

  • 31 August 2016, 14:22 UTC: Weller committed the BVAM specification to Counterparty's CIP repository. Its header still read CIP: <unassigned> and gave 31 August as the creation date. The original document credited Joe Looney's earlier BVAM idea. Original commit
  • 31 August 2016, 14:28 UTC: Tokenly's separate bvam-validator repository recorded an initial JavaScript implementation: JSON Schema checks, SHA-256 followed by RIPEMD-160, Base58 encoding and the T/S prefixes. This is a contemporary source snapshot, not a test of its use on Bitcoin mainnet. Validator commit
  • 31 August 2016, 21:34 UTC: A second CIP commit assigned the number 7; the initial entry had been unnumbered for several hours. Numbering correction
  • 31 August 2016, 21:47 UTC: Tokenly's bvam-provider repository began with a framework commit. By 3 September, the provider had code for accepting documents, checking their schema, calculating identifiers and linking documents to Counterparty issuance events. Initial provider · Initial API methods
  • 14 September 2016: Tokenly published a PHP BVAM API client. Its initial source exposed list, asset-information, upload and category operations, providing evidence of an intended provider service interface rather than evidence that every operation was publicly available on that date. A Node API client followed on 15 September. Initial PHP client · Initial Node client

How a BVAM document was meant to work

The scheme kept the full metadata document outside Bitcoin and placed a verifiable commitment in a normal Counterparty asset issuance description. The proposed workflow was:

  1. Prepare JSON conforming to the BVAM schema. The example fields include the asset identifier, a fuller name, descriptions, images, owner details and optional arbitrary/category-specific information.
  2. Compute RIPEMD160(SHA256(document bytes)), encode the resulting 20 bytes with Base58 and prefix the result with T. The specification gives an example of the resulting identifier: T2C11qRcpKTuGJSbSyneW61GbHZSG. This is an application-level identifier, not a Bitcoin address or a Bitcoin transaction ID.
  3. Serve the exact document at one or more providers. Put a URL ending with /T...json in the Counterparty issuance description; a consumer extracts the final path component and checks the fetched bytes against the on-chain-referenced hash.
  4. Check that the document's asset matches the asset named by the issuance. The proposal says a reader should use the most recent issuance record for that asset, making revisions possible through subsequent issuances.

The proposal additionally allowed an optional signature file. When included, the hash is computed from the document text followed by the signature text. A provider serves the signature as a second, byte-sensitive resource ending -signature.sha256. The reference JavaScript and PHP hashers follow the SHA-256 → RIPEMD-160 → Base58 sequence without adding a Bitcoin Base58Check checksum. Original specification · Initial hashing code · Provider hashing code

The commitment is to bytes, not to a JSON meaning. A change in whitespace, key order or signature-file contents changes the hash, even if a human reader would interpret the metadata the same way. The proposal explicitly required providers not to reformat the document after hashing. This avoids an unstated canonical-JSON convention but places a byte-preservation requirement on archives and mirrors.

Two kinds of proof

The protocol deliberately separated asset authorization from claims about a legal person or organization.

Issuer-authorized metadata: the Counterparty issuance supplies the reference; a successful hash and asset-name check establishes that the retrieved document matches the reference associated with the issuance under Counterparty's rules. A third-party provider need not be trusted to choose or rewrite the bytes. The check alone does not verify a person's legal name or prove that the asset is backed by something outside the protocol.

Optional identity signature: an issuer could sign the document using an X.509 certificate's private key. The proposal described verifying the certificate chain against a trusted certificate authority and checking the signature on the JSON bytes. Such a signature can link the document to the certificate's key and validated certificate attributes; it is distinct from possession of the Counterparty issuance key. A domain-validation certificate, for example, does not establish all the corporate or legal ownership claims a publisher might make. Identity-verification section

Category schemas and broadcast ownership

BVAM also proposed separately hashed category schemas, distinguished by an S prefix, so that a car-title token, game token and other assets could expose different structured fields.

For registration, the proposal gave this illustrative broadcast:

BVAMCS;ACME Car Title;1.0.0;https://bvam-provider.com/bvamcs/S4RGTgM6BJtuu2EUsvsG3GkTpGr2T.json

It proposed assigning control of a category ID to the first broadcasting address, which could subsequently announce a higher semantic version. Such ownership and version precedence would be interpreted by BVAM-aware software, not Bitcoin consensus. The example contains four semicolon-delimited components (marker, identifier, version and URL), although the written text incorrectly says “5 elements” and then enumerates four. Tokenly's provider parser explicitly splits into four parts, supporting four as the implemented reading of that particular example. Category-schema rule · Broadcast parser

The specification does not, by itself, establish an exhaustive blockchain registry of category schemas. Recovering dated broadcasts and independent decoder results would be necessary to determine whether this proposed first-broadcaster model was used consistently.

What the surviving provider implements

The inspected Tokenly provider revision, whose master head is dated 3 March 2017, has a substantial Laravel implementation. BvamUtil validates incoming JSON against a bundled schema and stores an initial draft record. It can parse an issuance's description, compare the referenced hash and asset name, distinguish unconfirmed and confirmed references, and mark older active records for the same asset as replaced. Tests exist for issuance, category broadcasts, APIs and provider resources. This is evidence that developers implemented a service and testing apparatus, but a repository alone cannot quantify deployment or interoperability. Provider source at inspected head · Parser, validator and state code

One limitation is unusually explicit. The provider's issuance-processing method attempts scrapeBvam() for a URL on an outside host, yet that method's body simply throws scrapeBvam is unimplemented. A corresponding issuance test uses a mock and checks only that the method is called. So the surviving code verifies the intended control flow while leaving actual external retrieval unshown. It would be an overreach to conclude from this one provider that the general protocol could not be mirrored, or that no other client implemented remote retrieval. Unimplemented external fetch · Mock-based test

The contemporary API client provides a second check on scope: it exposes requests for BVAM and category lists, per-asset information and uploads, but these calls do not themselves demonstrate a full, locally verified reconstruction from Bitcoin. A functioning retrieval API and an independently verifiable trust model are different accomplishments. Initial API client

Relationship to later asset metadata

CIP-25, proposed in September 2022, revisited rich asset descriptions, media fields, structured JSON and external references. A February 2023 revision added an ord: reference to an Ordinals inscription. That later proposal's catalog of URL, IPFS and inscription-reference forms should not be read as a direct implementation of BVAM's 2016 T/S hash-and-category rules. The proposals share a concern with portable asset information while specifying different reader contracts. Initial CIP-25 · Ordinals-reference addition

The modern CIP repository's June 2025 policy moved historical pre-2025 proposals into an archive and states they should be regarded as abandoned in their original form unless resubmitted. CIP-7 remained Draft in that historical register. Neither the draft label nor the archival decision erases the 2016 implementation work; neither establishes that the protocol was formally ratified or remained interoperable in production. Current CIP policy · Historical register

Open research

Open question
Recover a dated Counterparty mainnet asset issuance carrying a CIP-7 BVAM T-hash URL, and independently recompute the hash from preserved document bytes. Distinguish it from the earlier Pockets TOKNID- test asset.
Open question
Identify which 2016–2017 Tokenly wallets or outside providers actually fetched and validated BVAM documents, rather than merely calling the Tokenly asset-information API.
Open question
Recover category-schema broadcasts and test the first-broadcaster/version rules against another independent implementation; inspect whether category updates were ever reconciled across providers.
Open question
Determine whether the provider's external-fetch stub was implemented in another branch, deployment or successor project; the inspected March 2017 master source does not show it.