Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend: Create Deed External Adapter #7

Open
Robert-H-Leonard opened this issue Oct 26, 2022 · 0 comments
Open

Backend: Create Deed External Adapter #7

Robert-H-Leonard opened this issue Oct 26, 2022 · 0 comments
Assignees

Comments

@Robert-H-Leonard
Copy link
Contributor

Robert-H-Leonard commented Oct 26, 2022

In order to make deed data available on-chain we need an external adapter (this is the mechanism our chainlink node uses to get data off-chain). The external adpater will be a single function, that takes a single street address, the chainlink node can call. The external adapter should do 3 things:

  1. Parse the incoming request for the street address -> call the function created in this issue to get deed data.

  2. Upload deed data to ipfs (along with other metadata such as timestamps, datasource name, etc.) and get an ipfs hash

  3. Return the ipfs hash to the chainlink node

External Adapter docs: https://docs.chain.link/docs/external-adapters/
Some example nodejs external adapters: https://github.com/smartcontractkit/external-adapters-js/tree/develop/packages/sources

Notes

Some examples to see how it works: https://github.com/smartcontractkit/external-adapters-js/tree/develop/packages/sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants