Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Chainlink Functions Examples

This project is an example of a command-line interface (CLI) that uses the functions-toolkit to interact with Chainlink Functions.

Installation

To set up the project, follow these steps:

  1. Clone the repository.

    git clone https://github.com/smartcontractkit/functions-example
  2. Clone the repository.

    cd functions-example
  3. Install the required dependencies.

    npm install
  4. We use @chainlink/env-enc package to encrypt environment variables at rest. Set the password to encrypt and decrypt the environment varilable file .env.enc:

    npx env-enc set-pw

Set the following variables:

  • PRIVATE_KEY
  • ETHEREUM_SEPOLIA_RPC_URL
  1. Install Deno so you can compile and simulate your Functions source code on your local machine.

deno run --allow-net server.ts

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages