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

Support for Cross Chain Interoperability Protocol #1894

Closed
nasdf opened this issue Sep 18, 2023 · 0 comments · Fixed by #1896
Closed

Support for Cross Chain Interoperability Protocol #1894

nasdf opened this issue Sep 18, 2023 · 0 comments · Fixed by #1896
Assignees
Labels
area/api Related to the external API component feature New feature or request
Milestone

Comments

@nasdf
Copy link
Member

nasdf commented Sep 18, 2023

Adding support for CCIP will enable DefraDB to serve as a data oracle for Ethereum and EVM based blockchains. The specification is simple to implement and defines a standard request and response structure over HTTP. Because GraphQL supports mutations as well as queries this will enable both CCIP reads and writes.

https://eips.ethereum.org/EIPS/eip-3668#gateway-response-data-validation

@nasdf nasdf added feature New feature or request area/api Related to the external API component labels Sep 18, 2023
@nasdf nasdf added this to the DefraDB v0.8 milestone Sep 18, 2023
@nasdf nasdf self-assigned this Sep 18, 2023
@nasdf nasdf mentioned this issue Sep 18, 2023
4 tasks
nasdf added a commit that referenced this issue Sep 22, 2023
## Relevant issue(s)

Resolves #1894

## Description

This PR adds an HTTP handler that enables DefraDB to act as an off-chain
data oracle for smart contracts.

Here is an end-to-end example of how this feature works:
https://github.com/sourcenetwork/defradb-example-ccip

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

Unit tests

Specify the platform(s) on which this was tested:
- MacOS
shahzadlone pushed a commit that referenced this issue Oct 2, 2023
## Relevant issue(s)

Resolves #1894

## Description

This PR adds an HTTP handler that enables DefraDB to act as an off-chain
data oracle for smart contracts.

Here is an end-to-end example of how this feature works:
https://github.com/sourcenetwork/defradb-example-ccip

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

Unit tests

Specify the platform(s) on which this was tested:
- MacOS
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1894

## Description

This PR adds an HTTP handler that enables DefraDB to act as an off-chain
data oracle for smart contracts.

Here is an end-to-end example of how this feature works:
https://github.com/sourcenetwork/defradb-example-ccip

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

Unit tests

Specify the platform(s) on which this was tested:
- MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to the external API component feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant