Data/Feed Blockchain Integration Framework (Using Chainlink framework)

Overview to give the necessary guidance to integrate the Chainlink protocol on XDC Blockchain.

Consumer Contract and Chainlink client

These contracts implement the interface which allows to send Chainlink requests for a node operator to process them.

https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.4/tests/Consumer.sol


Chainlink Node

Chainlink Adapter

The Chainlink adapter will allow the node directly write answers on-chain

Example implementation: https://github.com/smartcontractkit/substrate-adapter

Here is the Various links for the tools and API XDC Network SDK for Developers


Chainlink Initiator

The Chainlink initiator allows the node to monitor the on-chain event logs. When a Chainlink request is detected on the blockchain, the external initiator will call the Chainlink node for the job that was requested.
https://github.com/smartcontractkit/external-initiator

Example implementation

https://github.com/smartcontractkit/external-initiator/blob/master/blockchain/substrate.go

https://github.com/smartcontractkit/external-initiator/wiki/Mock-Blockchain-Client



Please Contact us if you like to Start Data Feed/Price Feed using XDC Blockchain Network.

Example of Smart Contract deploy on XDC testNet Blockchain link

https://apothem.network/

1. Oracle Address - xdc5ee4ba477eb7a034426de7daea41410880c84d69

(https://explorer.apothem.network/addr/xdc5ee4ba477eb7a034426de7daea41410880c84d69)

2. Link Token Address - xdc8d2e1dff891a93e342de290f0c8196570c3931fd

(https://explorer.apothem.network/addr/xdc8d2e1dff891a93e342de290f0c8196570c3931fd)

3. Owner address - xdc7d831bc9b77d1d5f60e68dcc174f313f575ca1c4

(https://explorer.apothem.network/addr/xdc7d831bc9b77d1d5f60e68dcc174f313f575ca1c4)

4. Node Operator Address ( Simple ) - 0xe98f83692FDbD667c348f17AfBb1357E6D281B17

(https://explorer.apothem.network/addr/0xe98f83692fdbd667c348f17afbb1357e6d281b17)

5. Pointer Address - xdc6ed3cdeea5849c534fda3c7a1dfef817204c11e2

(https://explorer.apothem.network/addr/xdc6ed3cdeea5849c534fda3c7a1dfef817204c11e2)

6. TestClient - xdcefd88962be8a0451e07d44b9eb36d6116cc20c2e

(https://explorer.apothem.network/addr/xdcefd88962be8a0451e07d44b9eb36d6116cc20c2e)

Please Contact us if you like to Start Data Feed/Price Feed using XDC Blockchain Network.

Still Have Questions?

Join us