# The Hyperaware Protocol [![hackmd-github-sync-badge](https://hackmd.io/Nhj67WrvS4GKPHiqMQFtKw/badge)](https://hackmd.io/Nhj67WrvS4GKPHiqMQFtKw) _A spatial governance protocol for connected devices_ 1. [Abstract](#abstract) 2. [Introduction](#introduction) 3. [Design Principles](#principles) - Trustless - Fully decentralized - Self sovereign - Private - Versatile 4. [Roles](#roles) - Zone administrators - Device owners / operators - Validators 5. [System architecture](#architecture) - Connected devices - Spatial validator network - Device owner wallet contracts - Verifiable spatial data registries (GeoDIDs) 6. [Crytoeconomics](#cryptoeconomics) 7. [Ethics](#ethics) 8. [Future](#advanced-topics) 9. [Fin](#conclusion) <h2 id="abstract"> Abstract </h2> copy <h2 id="introduction"> Introduction </h2> Reality is composed of two parallel domains. The physical, manifest reality occupies three-dimensional space, empirically perceived - matter and energy - mass. Physical reality's complement is the informational domain, a conceptual space where ideas, numbers, equations, morals and other conceptual objects exist. Viewing the world as these two parallel components - not two, but two facets of one, for one cannot exist without the other - we have an useful heuristic for describing and understanding our existence. Blockchains exist primarily in the informational domain. They are physical - hard drives are formed of matter, silicon disks or electrical charge stored in solid data (true?) - but they primarily exist virtually, replicated across a consensus network, each storing the _same_ version of state. (Sameness is conceptual: physically, each hard drive is different.) Blockchains and the smart contracts they enable are maturing to present a viable and reliable informational infrastructure on which humanity can depend. Once bootstrapped into existence, it is reasonable to believe that healthy consensus networks with sound cryptoeconomic design will continue to operate according to its protocol, validating blocks of transactions and successfully maintaining a state machine over time. (does this make sense compueter science wise? ) However, blockchains and smart contracts are not, by nature, anchored in physical reality. They are global first. The concept of "cross border transactions" is obvious on Ethereum, for there is no geographic jurisdiction to overcome, no national payments system to navigate, and certainly no ship to transfer physical stores of value on. While this innovation does offer potential to facilitate immense strides forward in the efficiency and justice of our global economic system, fit for the digital age, we wonder: what might be achieved if we could anchor smart contracts to our physical position? Could we replicate the systems of governance we are familiar with - as in, I cross a border and am subject to new policies - using consensus technologies? What risks would this capability present? What opportunities? We propose the Hyperaware Protocol, a spatial governance protocol for connected devices. With Hyperaware, we have designed a fully decentralized and (nearly) trustless system to apply sophisticated policies to a location-enabled connected sensor based on its position in space. Zones and the policies that apply within them are defined by self-sovereign jurisdiction administrators. (what to say about device operators) Hyperaware is designed to function as a planet-scale spatial governance system. Realistically, not all devices will be subject to the same policies or jurisdictions, and various constraints apply depending on the context - public, commerical, military etc. The protocol is designed primarily for public, privacy-preserving consensus networks like the Secrete Network or Oasis, but can be deployed on private blockchain networks or even using centralized validator services. By defining a protocol, however, devices and policy zones could seamlessly interoperate. Our hope is to inspire the research and development that will lead to the adoption of a global system of governance oriented towards protecting and preserving human life and dignity. - Hooghe and Marks <h2 id="design-principles"> Design Principles </h2> To achieve our vision of a secure, just and antifragile system of location-based governance fit for humanity, we have designed a system based on a set of core design principles. We understand that these principles might be flexed based on the requirements of a specific implementation of the Hyperaware Protocol - as this is an open protocol, we cannot control that. However, we urge system developers to deeply consider the ethical implications of their design decisions. ### Trustless Trust is fragile. We all know this - a single small lie can break it, and it can take years to rebuild. While we want to develop systems that promote and engender trust between participants, we cannot rely on it for the systems that govern us. Instead of relying on law and the threat of violence, we choose to rely on code and rationality. By employing technically (i.e. cryptographically) verifiable mechanisms for detecting the position of a device, and strong economic incentives bending the incentive of the individual in alignment with the well-being of the system, we can create a system in which trust is not required, that is infeasible to attack or subvert. ### Fully decentralized To achieve trustlessness, the Hyperaware Protocol is fully decentralized at every point in the protocol stack. We explicitly call out possible points of centralization. These are most notably the GNSS systems that are used to locate a device's position, or the manufacturing systems required to construct such location-enabled devices. We will suggest solutions to contribute to the healthy decentralization of these potential weaknesses in system design. ### Self sovereign We believe that humans should first have the right to self determination (with certain constraints?). In the digital age, this means that our informational selves - our personal information, messages, money etc - belong to us, and we should choose if we want that to be private. In Web3, this is achieved through technical means: asymmetric cryptographic ciphers and digital signatures algorithms mean individuals are empowered to “resist even state level actors” ([Buterin](https://medium.com/@VitalikButerin/a-proof-of-stake-design-philosophy-506585978d51) 2016): an informed person can operate as an equal with nation-states and major corporations in cyberspace. The Hyperaware Protocol adopts this philosophy wholeheartedly: all agents in the system are self sovereign. They control their own data and have the option to keep their information private. One interesting aspect of self sovereignty: these systems are most often fundamentally opt-in. Users choose to engage with the system. While we anticipate that in time governments will adopt smart contracts and incorporate these technologies into their identity management systems, we believe that this opt-in characteristic, and its subversion of the threat of violence as a means of enforcing behavioral compliance, is very interesting. ### Private Closely related to self-sovereignty is the need to have the option to _choose_ privacy. Privacy-preserving information technologies are developing rapidly. We are not cryptographers, and privacy protocols for Hyperaware and other location-based decentralized applications will require much further research, but we designed the system to enable our self sovereign users to choose privacy at all points. We also identify areas of further research - such as zero knowledge location proofs - that could expand the potential of this possibility space. ### Versatile We are Web3 natives, dedicated to promoting a vision of a just world "that better preserves the autonomy of the individual" (Buterin 2016) while balancing collective needs. To this end, we have designed Hyperaware to adhere to the above principles. However, we understand that in some contexts they might be flexed based on the requirements of a specific implementation or user group. This is an open protocol, and we cannot control that. We urge system developers to deeply consider the ethical implications of their design decisions. One benefit of this versatility is that that, so long as the different implementations of Hyperaware adhere to the same core protocol, data is interoperable. We see great potential in this as we transition to a connected, interplanetary species partly governed by smart contracts. <h2 id="roles"> Roles </h2> ### Zones ### Devices ### Validators <h2 id="architecture"> System Architecture </h2> ### Edge devices Oracles ### Zone registry - Decentralized back end for cryptographically-verifiable spatial data - IPFS - Arweave - Privacy? - Self sovereignty: Verifiable spatial data registry ### Spatial validation Network on contract running on scalable general smart contract platform? Spatial data requirements - Spatial Reference System - Trusted location proofs - Zero knowledge location proofs? ### Device owner wallet contracts <h2 id="cryptoeconomics"> Cryptoeconomics </h2> <h2 id="ethics"> Ethics </h2> <h2 id="advanced-topics"> Future </h2> <h2 id="conclusion"> Fin </h2>