Chainlink Node Setup

  1. Home
  2. Docs
  3. Chainlink Node Setup
  4. Chainlink Adapters
  5. Preparing Adapters for GCP

Preparing Adapters for GCP

Originally Published @

In order to use serverless execution, such as AWS Lambda and GCP cloud functions, you need to prepare your external adapter. This mainly consists of installing dependencies for the adapter and placing it in a zip file.

Please note that each individual adapter could have a different process for preparing for AWS/GCP, and this guide should only serve as a way to get familiar with what is happening. Adapters are written in different programming languages too, which require some different steps. We will cover some of the most common languages: NodeJS and Python.

For this example, we will use‘s CoinMarketCap adapter, which can be found at If you want to use a different adapter, just change the GitHub URL and any names referencing CMCExternalAdapter in this guide.

Start out by downloading the adapter. There are many different ways to do this – use the method you are most comfortable with! With git git clone Download zip Click the green Clone or download button and click Download ZIP.
Then unzip the file into a new folder.

When you have downloaded the adapter, enter the folder/directory you have it downloaded to:
$ cd CMCExternalAdapter/Note: remember to replace CMCExternalAdapter with the folder you downloaded/unzipped it to. If you chose the “download zip” method, it would likely just be called master/.

At this point, things can change based on which programming language the adapter was made in. For our example adapter, we will continue to NodeJS. If your adapter does not use NodeJS, jump to the appropriate language below:


For Node.js, we need to use NPM to install our dependencies. To get NPM, please install Node.js here:

Once you have Node.JS installed, run: npm install

When that has completed, zip up your folder: zip -r .

That’s it, your adapter is ready for the cloud! You can now upload the zip file you created to AWS Lambda or GCP cloud functions.

Was this article helpful to you? Yes No

How can we help?