Towards a middleware design for efficient blockchain oracles selection
Abstract
Blockchain smart contracts can only operate on data available on-chain, and face a major challenge of not being able to communicate with the world outside their own network. Blockchain oracles solve this problem by bridging the gap between on-chain and off-chain data. Chainlink is one of the most widely used decentralized oracle network with competing independent data providers with distinct characteristics in terms of price, performance, security, trust, etc. As a Chainlink service purchaser with unique a service level agreement (SLA) proposal for each job, a random selection of oracles to execute a certain job can result in sub-optimal solution, that could be alleviated by another oracle data provider. Therefore, in this work, we propose a middleware design to select the best data providers available in Chainlink oracle network based on individual job's service requirements. We model the oracle selection problem as a decision optimization problem and prove it to be NP-hard. We also propose two heuristic algorithms to approximate a solution to the modelled problem. We experimentally evaluate and compare the proposed design, and conclude that the proposed middleware architecture efficiently selects the oracles in terms of performance parameters.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.