Coder Social home page Coder Social logo

alofeoluwafemi / klay-oracle Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 3.33 MB

Securely integrate off-chain data with Klaytn smart contracts

Home Page: https://www.klayoracle.com

License: Apache License 2.0

Go 84.10% Solidity 15.23% Shell 0.40% Dockerfile 0.27%
klaytn evm golang oracle blockchain blockchain-developers blockchain-technology crypto

klay-oracle's Introduction

Migration Notice 🚚

The official KlayOracle github has now moved. To start contributing and following our update, visit https://github.com/KlayOracle.

About

What is KlayOracle

KlayOracle adopts the design used by leading and existing oracles to bring offchain data to Klaytn Smart Contracts. Its straight forward to setup to access offchain data such as prices, sport data, weather data, random numbers or any external API usecase suites your project purpose.

Why Use KlayOracle

Reliable Data Feed: Get reliable price, weather, and external API data for your Defi and GameFi apps. Additionally, obtain uniquely generated numbers for your smart contract use cases.

Customizable Adapter: Without relying on external data feeds, which may be fraudulent, you can quickly set up adapters to aggregate API data for any off-chain data you need to allow.

Self Hosted Node: KlayOracle currently relies on you configuring your own adapters and node. to manage the node or nodes and have faith that you are receiving expected off-chain data that is genuine.

Products

  • Random Numbers
  • Data Feed

Architechture

Watch the video

How it Works

KlayOracle.Protocol.-.How.it.works.mov

Key differences between KlayOracle and other Oracles like Chainlink.

Firstly, we would like to point out that Chainlink is currently only active on the Klaytn Baobab Testnet and has not yet been made available on Mainnet, despite being in development since August 2021. They presently have two price feeds, primarily KLAY/USD and WEMIX/USD, and as you can expect, we also have both on KlayOracle and the Baobab Testnet. By building primarily on Klaytn at the beginning, we can more quickly launch features critically needed by developers on the Klaytn blockchain.

Secondly, our guiding principle is simplicity… Right now, anyone with a little technical know-how can set up a KlayOracle node and adapter more easily than they would Chainlink nodes and jobs. While this is expected with the simple data feeds we have now, KlayOracle’s simplicity is something we aim to maintain even with the addition of more complex data feeds.

We believe that by lowering the barrier to setting up nodes, oracles and adapters, we can onboard many more participants on the network. An increased number of nodes will help maintain secure and decentralized data on the Klaytn network, as more participants supply data, instead of just a few participants.

We envision ourselves as a less complex, less expensive alternative to Chainlink that also achieves genuine decentralization by enabling users to host more nodes (think x10 - x100 nodes than chainlink runs).

Testnet Baobab Price Oracles

All contracts have been verified on Klaytn Baobab Testnet.

Node

0xcAD0444951A5faB031b62fcF717eCb5a1e8d7Dc7

KLAY/USD

Oracle: 0xCC4377b912c4517Fe895817c6a7c6937D92A70B3
Adapter ID: efbdab54419511edb8780242ac120002
Price Consumer Sample Contract: 0x8e892CE230eEe07598eed68EA326e308A3d2687D

WEMIX/USD

Oracle: 0xb56c6b973688A8fbA3D6bB536b7CdFFC7b46252A
Adapter ID: be498ee0521011edbdc30242ac120002
Price Consumer Sample Contract: 0x6aB624819D2082801bA2d44a64DbE1201b608e4f

klay-oracle's People

Contributors

alofeoluwafemi avatar bosemay avatar oluwafemialofe-protofire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.