Abstract:
The blockchain oracle writes external data to the blockchain, which is a general method for the blockchain to retrieve external data. We investigate the research and practice of blockchain oracles, summarize the relationship between the certainty of target data and data aggregation methods, and divide blockchain oracles into “strong-voting-protocol” and “weak-voting-protocol” blockchain oracles. Blockchain oracle projects are more and more open and extensible. We apply a distributed key generation algorithm based on elliptic curve groups to implement off-chain data aggregation and single on-chain signature verification. As a result, the cost of signature verification and data aggregation for smart contracts is saved, which is suitable for large-scale distributed blockchain oracles. In similar overseas research and applications, blockchain oracle nodes need to mortgage digital assets to obtain identity credit, which is difficult to be replicated in China. In order to solve this problem, We use non-fungible tokens to map node identities, allowing the owner of the blockchain oracle to manage node identities; combined with the global public key update process, the node joining status is traceable. Compared with similar research, this paper is closer to the distributed system paradigm.