简体   繁体   English

从其他区块链集成到 Chainlink

[英]Integration to Chainlink from other blockchains

I've seen one way on how to integrate chainlink with other blockchains, json-rpc for example.我已经看到了一种将chainlink与其他区块链集成的方法,例如json-rpc。 Is there some documentation on this topic?有没有关于这个主题的文档? And in general are these done by adapters, node.js for example with JS clients for both chains (worker node and publisher)?通常这些是由适配器完成的,例如 node.js 与两个链(工作节点和发布者)的 JS 客户端? Any hint greatly appreciated.任何提示都非常感谢。

Eg what are the general requiremennts for example.例如,一般要求是什么。

To integrate Chainlink with another blockchain, you need 3 pieces:要将 Chainlink 与另一个区块链集成,您需要 3 个部分:

  1. A way to read events from the new blockchain一种从新区块链中读取事件的方法
  2. A way to send transactions from the node to the new blockchain一种将交易从节点发送到新区块链的方法
  3. A LINK token bridge一个 LINK 代币桥

#1 is defined by external initiators . #1 由 外部发起者定义。 These are just processes that learn how to read the new blockchains这些只是学习如何阅读新区块链的过程

#2 is defined by external adapters . #2 由外部适配器定义。 These are just processes that can write back to the chains (and do anything else really)这些只是可以写回链的进程(实际上可以做任何其他事情)

#3 There isn't a standard token bridge for all blockchains, but one could actually build a token bridge out of Chainlink's proof of reserve. #3 没有适用于所有区块链的标准代币桥,但实际上可以根据 Chainlink 的储备证明构建代币桥。

A good example of a blockchain integration with a very different blockchain is Chainlink with Conflux .区块链与非常不同的区块链集成的一个很好的例子是带有 Conflux 的 Chainlink You can see the example code in their repos.你可以在他们的 repos 中看到示例代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM