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

feat: add basic chainlink functions example #26

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

JayWhite2357
Copy link
Contributor

Rationale for this change

We should have an example of running queries from within Chainlink Functions.

What changes are included in this PR?

A basic example is included that includes a placeholder secret.

Are these changes tested?

Yes, manually. We can add CI at a later step. It is not clear what that should look like.

```
cp documentation/public/samples/ChainlinkFunctions/FunctionsConsumerExample.sol smart-contract/FunctionsConsumerExample.sol
cp -r smart-contract-examples/functions-examples/examples/5-use-secrets-threshold example
cp -r smart-contract-examples/functions-examples/package.json .
```
This ABI file can be generated using any solidity compiler. This was copied from Remix.
@JayWhite2357 JayWhite2357 marked this pull request as draft November 13, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants