White paper · Current system paper · Revised
The Handshake Factory
The Handshake Factory turns a finished document into an immutable smart-contract record. Once confirmed, this website cannot edit it, recall it or remove it from its chain.
1. The proposition
Websites are temporary. Accounts close, databases are replaced and publishers can withdraw what they once displayed. A released Handshake record is different: its document is stored in a contract on a public EVM chain, with no delete function and no post-release route for replacing its content chunks.
That is absolute permanence at the record layer. The author cannot take it back. The factory cannot take it back. A moderator can remove a discovery listing from this website, but cannot remove the contract or its words from the chain.
Permanence does not prove that a statement is true, lawful or wise. It means the submitted record cannot be rewritten after publication. That distinction is the foundation of the system.
2. The record lifecycle
The chain receives the finished protected record, not a live connection to an editable document.
Write and review
The document begins in the browser. A wallet is not required while the author drafts, formats and checks it.
Protect locally
The browser derives keys from the reference and authenticated-encrypts the finished UTF-8 document before deployment.
Form the record
The current V2 envelope is converted to bytes, divided into 32-byte values and zero-padded only in the final chunk.
Deploy once
The selected factory creates a minimal-proxy record, writes its complete configuration and permanently releases it.
Read from the chain
The record is reconstructed from contract storage. A public website listing is optional and is never the source record.
The current V2 wire format
UTF-8 text → AES-256-GCM authenticated encryption → salted V2 envelope with HMAC-SHA256 → base64 text serialization → UTF-8 bytes → 32-byte chunks.
V2 does not currently compress the document. Base64 is a compatibility layer in the present implementation and adds storage overhead; a future direct-binary format could remove that overhead while the reader retains support for records already deployed.
3. Architecture
Browser writer and reader
Drafting, key derivation, encryption, decryption and chunk reconstruction happen in the browser. The application does not need the plaintext or private reference in a separate encryption service.
Factory and templates
A version 5.1 factory creates minimal proxies from the selected V2-family template, writes the complete record, registers its address and calls the one-way factory release. The deployed clone then stands on its own.
Provenance, not permission
The reader checks the clone's minimal-proxy implementation, accepted template bytecode, configured factory code and the clone address stored at its factory index. Together those checks establish provenance without giving the factory control over who may read the record.
Optional discovery index
The application creates a Handshake Factory database entry only when the author requests a public listing. That entry supports browsing and search; it is not the document of record.
4. Record forms
One permanent document. Different public acts.
Every template begins with fixed words. Specialised templates add a narrowly defined on-chain interaction.
- Permanent record
- Declarations, notes, memorials, promises and any finished words that should not be withdrawn.
- Designated parties
- A fixed document with named wallet addresses that can record their assent on-chain.
- Sentiment
- A permanent subject with public thanks, praise and respect recorded by participating wallets.
- Petition
- A fixed cause with an on-chain register of supporting wallets and the details they submit.
- Yes or no vote
- A binary public question with each accepted response counted by the contract.
- Multiple-choice poll
- A fixed question with up to twelve authored options and on-chain totals.
- Community funding
- A permanent statement of purpose with a funding target and public value transfers.
5. Privacy and discovery
Encrypted does not mean invisible
The ciphertext is public because it is on a public chain. Confidentiality depends on keeping a strong reference private.
Titles, wallet addresses, transactions, timestamps, published references and any party details written to the contract remain public metadata. A private reference cannot be recovered or reset by the platform.
Listed does not mean stored only here
An unlisted deployment creates no Handshake Factory discovery-database record. It remains readable by supported chain and contract address, with its reference when required.
A public listing can be moderated or removed from these pages. The underlying record cannot be removed from its chain.
6. Parties and signatures
An author can designate wallet addresses as parties. Each listed wallet may call the signing function, changing its permanent status from pending to signed and emitting a chain transaction.
Names, email addresses, telephone numbers and dates of birth are supplied by the author; the contract does not independently verify them. Publishing those details makes them permanent public-chain data.
The contract expiry is a signing deadline. It stops later signature calls; it does not erase the record or terminate obligations written in the document. Any legal duration, termination event, notice period or renewal rule belongs in the words themselves.
A wallet action can provide powerful evidence of assent, but enforceability still depends on identity, intention, authority, applicable law and the formalities required for that document.
7. Capacity and cost
The base content allowance is 8,000 characters. A connected wallet's BONE balance on BNB Smart Chain is added to that allowance without staking or locking the token.
Deployment cost is the live factory fee plus network gas. More chunks require more storage and therefore more gas. The wallet shows the transaction for final approval.
Deployed networks
Factories and template sets are configured on Ethereum, BNB Smart Chain, Base and Avalanche. The architecture is EVM-compatible, but support in this interface requires a checked factory and template deployment for each network.
8. Security boundaries
- Permanence
- The released contract exposes no route to delete or replace the document. A website can alter only its own index and presentation.
- Authentication
- AES-GCM and an outer HMAC detect an incorrect reference or altered V2 envelope. They do not certify the truth or authorship of the plaintext.
- Author lock
- The lock delays normal display, party-detail access and signing. It is not chain-level secrecy: the stored chunks remain public contract data.
- Availability
- The record is independent of this website. Reading still requires access to the selected chain, its retained state and compatible decoding software.
- Software assurance
- Factory provenance and deployed bytecode are checked by the reader. Compatibility tests are not a substitute for an independent contract and cryptographic audit.
9. Independent reading
The website is an instrument, not the archive.
A compatible record can be found and reconstructed by network and contract address without a public Handshake Factory listing. The raw contract remains independently queryable, and a public standalone decoder is planned so the complete reading path need not depend on this application.
The chain holds the record. The reference opens it. The reader makes it legible.
Author and related research
Created by Matthew McPhillips of BlackBox Engineering. His related work includes AgentEnvelope, which concerns authority for software actions. The Handshake Factory concerns the permanence of published records.
The AgentEnvelope document is an individual Internet-Draft, not an IETF standard.