Everything here is stored on, and loaded from, the Bitcoin Cash blockchain.
Everything down to the font.
hmm, need more details
What is this?
This is a demo for the CashWeb protocol,
which enables public, decentralized, immutable file storage and retrieval—powered by Bitcoin Cash.
Every asset on this page has been stored on the blockchain amongst hundreds of transactions,
each of which is verifiably cemented across thousands of Bitcoin Cash nodes.
For example, you may have important court documents to immortalize on the Bitcoin Cash blockchain:
For as long as the Bitcoin Cash network exists,
that document can be accessed by the identifier 999e1611de5af4ff69dbe8d039f9135d5b672098b0c833de91f17be1b6291f46.
Of course, this is a TXID—you may verify that in any block explorer—but it is also a valid CashWeb ID.
- TXID: as just seen, this is simply the transaction identifier for the root TX of the file. This should always be immutable as per the CashWeb protocol; i.e., querying the same TXID will always yield the same data.
- Nametag ID: a name may be claimed under the CashWeb protocol as a "Nametag"; this Nametag will reference existing TXID(s)/name(s), and may be revised in the future as to where it points (although, of course, all prior revisions are permanently maintained on the blockchain). A valid CashWeb Nametag ID might be ~coolcashwebname; simply the name (coolcashwebname) prefixed with a tilde. Ownership of a Nametag may be transferred, or relinquished to immutability.
- Nametag Version ID: any versioned Nametag will have numerous revisions stored on the blockchain; these can be queried by Nametag Version ID. For example, to get the first version of coolcashwebname, we would query for 0~coolcashwebname; simply the version number prefixing the Nametag ID. We might also query 1~coolcashwebname to get its second version, or so on.
- Path ID: CashWeb supports the storage/querying of directories to organize file references; this very page was loaded from a directory index referencing all its assets. The Path ID is how we query a specific path of a directory index. This ID may begin with any of the three previously mentioned ID types—TXID, Nametag ID, or Nametag Version ID—and is followed by a forward slash-prefixed path. For example, ~saffron/saffron.html might be a valid Path ID, or ~saffron/images/saffron.jpg. You can even access the page you're viewing right now by querying for ~cashweb/index.html.
There are essentially four types of CashWeb ID:
Also, a special feature of cashserver is that a Nametagged directory may be queried by subdomain; for example, http://saffron.cashweb.cash/.
To query for the above examples: