Data oracles are indispensable to blockchain infrastructure. In the first article in a series devoted to blockchain data oracles, we discuss how Waves’ protocol will help make an oracle accessible to the entire community.
A smart contract written on the blockchain is unable to access data outside its own network. This problem is resolved by using data oracles, which are basically agents that find real-world information and feed it to the blockchain for use by smart contracts and dApps.
In other words, oracles are tools that facilitate communication between the blockchain and the real world. Data they feed to the blockchain could be as diverse as currency exchange rates, weather reports, results of elections or sporting events, commodity prices or even flight and train timetables.
Execution of smart contracts could be triggered by meeting pre-set conditions which, in turn, require data of the right kind to be available.
Major blockchain platforms have recently shown interest in creating tools for data oracles, such as Ethereum, which runs Ethereum Oracle.
Waves offers its own data oracle tool, based on the already available DataTransactions.
On a purely technical level, creating a data oracle for the blockchain is very straightforward.
All you need to do is take an outside source of information and send an initializing DataTransaction, announcing the oracle and explaining what type of data it will be providing. Subsequently, the data will be accessible for smart contracts.
However, there is one problem. How can you know if a data oracle for a specific type of information is available on the blockchain, how often it is updated and what source of information it uses?
Waves’ solution is a protocol for data oracles, which is basically a standardized set of fields for entering information to the blockchain.
Regardless of whether data is entered manually or automatically, the protocol includes fields for main values, which will help other community members to find the oracle and learn what type of data it feeds to the blockchain, what the third-party source is and how frequently the data is updated.
A developer can use an existing protocol, which is available on Waves’ GitBook, or expand it, if necessary.
The process is simple. To make things easier for developers, Waves offers a data oracle developing tool, which will be integrated in a single interface with a public directory of data oracles, broken down by category.
If a developer wants their oracle to be accessible to other members of the Waves community, helping the entire ecosystem and also generating revenues, they can fill in various DataTransaction fields, describing the oracle.
That information will be converted, and an initializing DataTransaction will be formed.
Later, the developer will be able to update the oracle’s data — for instance, change its status or add a new field in the description. We suggest that developers update the oracle’s version for each format change and provide a brief description of changes, making the oracle’s operation easier for other developers who already use its data.
Once the initializing DataTransaction has been sent, the oracle will be accessible in the directory in the category stated by the developer.
Use Waves’ oracle development tool to create a data oracle, and our protocol will help make your oracle visible on the blockchain!
Further down the road, there are plans to create a database of open-source protocols to help developers create standards for blockchain data oracles in various fields, with the ultimate goal of improving interoperability and compatibility of IT and blockchain systems.
Join Waves Community
Read Waves News channel
Follow Waves Twitter
Subscribe to Waves Subreddit
Community | 상장사 이름을 알려주세요
좋은정보 감사용 추천하고 갑니다 코로나 조심하시고 예수님 믿고 구원 받으세요
Community | [crypto cash] 크립토 캐시 그것이 알고싶다.
토큰뱅크 가입당시 휴대폰의 otp 를, 새로운 휴대폰으로 바꾼후 구글 otp다운로드후 사용 안되나요??? 지금 상황이 가입당시 휴대폰이 아니라서요;;
Community | otp인증
opt앱의 시간을 동기화하라는데 아이폰에는 앱구동시키면 설정하는 란이 없어요 ;;
Community | otp인증
Community | 후오비토큰(HT), 거래소 코인 최초 일본 금융청(FSA) 공식 승인
Write a post
Are you sure you want to delete this post?
Are you sure you want to delete this comment?
Purchase has been completed.
닉네임을 설정 후 작성해주세요.