Space and Time 백서

Space and Time

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 6쪽 중 5쪽

its own address using address(this). ● Ether Operations: A contract can send ether to any address and determine its own ether balance. ● Create New Contracts: A contract can deploy a new contract using the CREATE opcode. Note that while smart contracts can access all the above data, they cannot natively access: ● Smart contract events (logs) emitted on their own chain or on other chains. ● Historical onchain data such as transaction history. ● Cryptocurrency prices (aggregated token price feeds or liquidity pool swap prices). ● Information about the real world (e.g., stock prices, weather data). ● Offchain data (e.g., content of a website, API responses). ● States from other blockchains. For these types of datasets, smart contracts usually rely on oracles—trusted or trust-minimized data providers that relay offchain information onto the blockchain. B HTAP to Replace Point Solutions In the data warehousing industry, hybrid transactional/analytical processing (HTAP) represents a paradigm shift that resolves a longstanding challenge in traditional markets. Understanding HTAP is crucial to grasping how the Space and Time database maximizes efficiency and versatility. In many Web2 companies and conventional markets, data processing traditionally involves a cumbersome process. Businesses often employ separate database solutions for transactional processing (OLTP) and analytical processing (OLAP). These solutions serve specific purposes but also posed significant challenges: ● Data Redundancy and Complexity: Maintaining separate systems leads to data redundancy and complexity, as data needs to be transferred between OLTP and OLAP 36 databases. This not only consumed time and resources but also increased the risk of data inconsistencies. ● Latency Issues: Analytical processing often suffers from latency issues, as it relies on periodically refreshed data from transactional databases. Real-time insights are a challenge to achieve. ● Scalability Challenges: Scaling these separate solutions in response to growing data volumes and user demands is often an intricate and expensive process. HTAP addresses these issues by combining OLTP and OLAP capabilities within a single system. Here's how it works: ● OLTP and OLAP Integration: HTAP systems like Space and Time have both an online transactional processing (OLTP) engine and an online analytical processing (OLAP) engine working in tandem. This allows data to be simultaneously ingested, processed, and analyzed within the same environment. ● In-Memory Caching: HTAP systems often employ in-memory caching to enable low-latency transactional processing. This means that even complex analytical queries can be executed without significant delays. ● Eliminating Data Redundancy: By consolidating data processing into one system, HTAP eliminates the need for data redundancy and complex data transfers between different databases. ● Real-Time Analytics: With HTAP, analytical processing can be performed on real-time, up-to-date data, enabling organizations to gain insights without the delays associated with data extraction and transformation. HTAP, as utilized by Space and Time, represents a leap forward in database efficiency and functionality. It harmonizes transactional and analytical processing, eliminates data redundancies, and offers real-time analytics, all within a single, streamlined system. This approach not only simplifies data management but also paves the way for more agile and responsive data-driven decision-making. C Proof of SQL “Bring Your Own Database” Proof of SQL is a ZK proof attached to SQL databases which cryptographically proves to a client that both query execution and underlying tables are untampered with. One can leverage the Proof of SQL protocol to trustlessly verify query results returned from not only the Space and Time decentralized database, but also other outsourced traditional database/data warehouse solutions.. 37 For example, one could “attach” the cryptographic protocol to PostgreSQL, Snowflake, Apache Spark, Google Bigquery, AWS Athena/Redshift, Microsoft Fabric, etc. This would allow users already building on top of these query tools to connect them directly to smart contracts without breaking the blockchain’s trustless model, or to provide proof of query execution to a verifier on an external client device. In essence, developers can “bring their own database,” verified with Proof of SQL. Here’s how it works: a Space and Time Prover node is connected adjacent to the database engine. This is the primary integration point. The Prover is responsible for executing tamperproof queries. To facilitate this, the Prover requires access to table data. This can be achieved through access to the database’s local storage or external tables, or by sending requests directly to the database itself. With Proof of SQL, the root of trust is established by creating virtual ‘tamperproof tables’ inside the target attached database. As data gets added to these tables by clients, special hashes (or “commitments”) are updated. Later, when validating a query and its associated ZK proof, these commitments are used to confirm its validity. When a tamperproof SQL query reaches the database and is directed to the Prover , the result, accompanied by its proof of correctness, is generated. This proof-result pair is then transmitted to the Validator node, where verification takes place. Additionally, Space and Time offers both commitment creation and verification functionalities through a client-side library. This shifts the root of trust to the user. Some clients prefer this approach, while others choose to delegate verification to the Validator , which carries out this role on their behalf. To enable Proof of SQL to ZK prove that queries against data were executed accurately and that the underlying data hasn’t been tampered with, one must simply: 1. Provide Space and Time Prover node access to database storage (local or external). 2. Position the Space and Time Validator (which logs tiny digital fingerprints of the data inserted, and uses these fingerprints to ZK-verify query results coming back from the database) in front of the database as a proxy or load server. 3. Load the data into the database through the Validator . Queries executed against the database should be routed through the Validator if they need to be ZK-verified (to validate that the query results and underlying tables have not been tampered with). 38 D Leveraging an Append-Only Database as a Tamperproof Offchain Ledger An append-only database/data warehouse can be designed to emulate some of the essential features of a blockchain (and we’ve done exactly that in our development of the Space and Time database): ● Immutability: Tables are append-only; transactions cannot be modified or deleted once written. ● Double-Spend Prevention: Before a transaction is added, a mechanism compares it against the historical record to verify that the respective assets haven’t already been spent. ● Serialized Transaction Ordering: By nature, transactions are recorded in the order they are received and processed. ● Transaction Consistency: The database can be implemented with specific consistency logic to ensure that only transactions that meet predefined validity criteria are appended. Note: In the case of Space and Time’s Proof of SQL protocol, the Transaction nodes implement this logic to verify/authorize requests/transactions, cryptographically ensuring that unapproved transactions cannot occur. However, other key characteristics of the blockchain are not inherent to an append-only database: ● Zero-Trust: In a blockchain network, transactions are distributed; rules are enforced by consensus rather than by a central authority. A single append-only database requires inherent trust in the entity that maintains it. Though this problem persists when using traditional database systems, Space and Time solves it as the only decentralized database system, relying on a global committee of user-operated nodes that come to consensus in order to prove the validity of ingested data (and verify/authorize requests/transactions). ● Concurrency: Block intervals and consensus mechanisms ensure that a blockchain ledger remains consistent amid multiple concurrent transactions. An append-only database would require its own mechanism to queue concurrent transactions appropriately and ensure consistency. Space and Time has implemented consensus in the network to appropriately serialize transactions. ● Cryptographic Security: Cryptographic chaining, where each block references a hash of the previous, enhances the integrity of a blockchain network. Though not strictly necessary in the case of an append-only database, such measures provide additional security against tampering. Space and Time has implemented the Proof of SQL protocol for cryptographic guarantees on the underlying datasets. ● Finality: Blockchains, especially those using probabilistic consensus mechanisms like Proof of Work, operate with progressive finality: each transaction becomes increasingly 39 irreversible as more blocks are added after it. In an append-only database, finality is immediate upon appending, but the assurance of this finality depends on the security and trustworthiness of the system. Space and Time offers instant finality through the Proof of SQL protocol. In order for an append-only database to function as an offchain tamperproof ledger, these features must be guaranteed by ancillary mechanisms or by leveraging Space and Time’s Proof of SQL protocol directly. E Space and Time in the Market E.1 Web3’s evolution as a digital economy powering novel apps While Web3 can trace its roots back to the first blockchain network in 2009, the technology has rapidly matured over the last three years by expanding throughout the tech stack, improving usability and accessibility, and accelerating throughput. Advancements in Web3 have led to the broader acceptance and adoption of digital assets as an asset class, particularly by established financial services companies. Web3 is in the midst of transitioning into a new chapter that will see an even more rapid maturation of the technology, a user base that grows from the millions to the billions, and ultimately, the mass adoption of blockchain technology across all industries. The world’s largest enterprises and financial institutions have made significant investments to leverage blockchain, and this will only continue to accelerate. As blockchain technology becomes widely adopted by enterprises, distinctions between Web2 technology and Web3 technology will become less significant. Enterprises will leverage both centralized and decentralized ledgers for a variety of applications and business models (where “trustless” vs. “trust-required” considerations are at play), many of which have not yet been imagined. Blockchain will transition from an emerging technology to a fundamental layer in the enterprise tech stack, Web3 and Web2 will become wholly interoperable, and the application of AI at scale will drive further innovation. Some recent stats to underline the market today: ● Over $20B of value settled daily on the major blockchains ● Over 750M smart contracts across the major chains ● Over 50M daily transactions across the major chains ● Over 100K dapps across major chains ● Over 35K Web3 developers building on the major chains 40 An investment today in Space and Time provides two main sources of value that are uniquely in the same company and in the same platform: 1) delivering familiar database tools as a Web3-native experience and 2) providing verifiable (trustless) compute, where all activity in the database is cryptographically proven. E.2 Proven value in data warehousing The need for a platform to support data storage/data warehousing and scalable analytics both cross-chain and offchain. While there are many use cases today in Web3 that run on a single blockchain, the more valuable use cases will integrate data from multiple blockchains and offchain centralized data sources. As financial services firms take on custodial roles for digital assets, for example, analytic and reporting needs will increase. Those analytics will need to incorporate blockchains, centralized ledgers that track offchain assets, and databases that store customer data. This nascent market, void of any popular solutions today, is likely to evolve similarly to how cloud data warehousing and analytics evolved. Snowflake, a popular cloud data warehouse, held the largest software IPO ever at the time. Data management software today is a global $75B market with high single-digit to low double-digit growth annually. AI platforms specifically are growing at 30+%. While traditional Web2 database technologies are point solutions that focus on either transactional queries (OLTP) or scalable analytics (OLAP), Space and Time combines the two efficiently in a unified platform. Space and Time has accrued over $10M ARR, with an extensive list of established Web2 enterprises in financial services and accounting, as well as Web3 gaming companies that need to track tokens across multiple chains and DeFi companies that need to incorporate offchain analytics. This growth in logos and economy makes Space and Time one of the fastest-growing data analytics companies ever. While the total market size today for this fast-moving category is difficult to calibrate, every Global 500 company and all Web3 companies (~23K+) will need a database/analytics platform with Space and Time’s functionality. Estimating based on Space and Time’s current pricing, this market would be conservatively sized at ~$700M–$1B today, and quickly moving to a multi-billion market over the next few years. E.3 New compute paradigm removes trust requirements Establishing verifiable compute as the fabric of Web3. 41 Space and Time’s breakthrough in cryptographically provable data processing solves many of the developer, user, and scalability issues present in smart contracts and blockchain today. In fact, it even offers a solution to traditional financial institutions that require their own offchain transactions and market data to remain tamperproof. Thus, “verifiable compute” will effectively create a new market category and establish a standard among enterprises. Space and Time is a verifiable compute solution that integrates chain connectivity and ZK provability along with familiar database storage/compute, and the stack is growing at record speed. This solution seamlessly bridges onchain and offchain systems, effectively introducing verifiability to the enterprise data management stack while simultaneously scaling the capabilities of blockchains. To date, this platform is already being embedded in the fabric of Web3. Market coverage is as follows: ● 25% of all Web3 developers utilizing the platform with a subset contributing to the Space and Time open-source project ● 25% of capital volume of L1 blockchains seamlessly integrated and indexed ● 90% of capital volume of L2s and protocols seamlessly integrated and indexed Space and Time has driven a major innovation by bringing Proof of SQL to market. Simply put, in a world that operates at the intersection of Web2 and Web3, there is significant value in proving that a query was executed properly or that the data used to execute business logic within a smart contract was properly filtered/aggregated. Proving the accuracy and lineage of data is already a key topic in the training of LLMs for AI, and there are already numerous companies integrating AI with blockchains. Lastly, companies of all sizes have embraced Proof of SQL, particularly in the area of compliance and auditing. At the core of all these themes is the strong market demand for trustless verification that data is correct and was computed on properly—which is different from blockchain transaction verification. Both are important, but the balance is tilting toward assurance of accurate data and computation. Enterprises want confidence that their own engineers, as well as third-party partners, have not manipulated the datasets core to their operations (particularly financial data, where there exists a strong incentive for bad actors to tamper). Estimating market potential is based more on analogs versus. market participants multiplied by a price model. That said, Space and Time is vying for a near-term podium on which Proof of SQL is established as the gold standard for all queries. This would be monetized by either cash payments per query or through a SXT token, which is part of the roadmap today. 42 One pertinent example around financial data verifiability is the payment processing space, which is a $65B market growing at greater than 10% annually and expected to approach $200B by 2032... and this is only one use case for Proof of SQL. Another example is the global SWIFT network, which connects 11K institutions. Total revenue for the SWIFT network was 900M euros in 2020, and this is a member-owned cooperative. 43 References [1] Stock option volume report. MarketChameleon.com. (n.d.). https://marketchameleon.com/Reports/optionVolumeReport [2] White, J. T., & Dykstra, S. E. D. (2022, December 13). Methods for Verifying Database Query Results and Devices Thereof. https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/11526622 [3] Biscuit authorization (RBAC) .
프로젝트로 돌아가기