Skip to Content
Protocol SpecificationProtocol Specification

Protocol Specification

TAP keeps each cap table in two places. The contracts hold stakeholders, stock classes, positions, and every stock transaction. MongoDB holds the same records in OCF format, plus names, contact details, and records that never go onchain. The event poller copies each onchain change into MongoDB.

LayerCodeRole
Contractschain/srcThe source of truth for stakeholders, stock classes, positions, and transactions.
Product appapp/srcSends writes from the issuer’s wallet and registers metadata with the API.
API serverserver/routesServes reads, saves metadata and MongoDB-only records, and sends server-signed transactions.
Event pollerserver/chain-operations/transactionPoller.tsCopies contract events into MongoDB, including every history row.
OCF recordsocf/schema, MongoDBThe shape of every record TAP stores offchain.
Last updated on