Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

smartcontractkit/binance-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainlink Binance External Adapter

This external adapter uses the unauthenticated endpoints for connecting to the Binance Exchange API.

Input Params

  • endpoint: The endpoint of the API to query
  • symbol: The symbol to query. Will default to "ETHUSDT" if unspecified and required by the endpoint.

Install

npm install

Test

npm test

Create the zip

zip -r cl-binance.zip .

Install to AWS Lambda

  • In Lambda Functions, create function
  • On the Create function page:
    • Give the function a name
    • Use Node.js 8.10 for the runtime
    • Choose an existing role or create a new one
    • Click Create Function
  • Under Function code, select "Upload a .zip file" from the Code entry type drop-down
  • Click Upload and select the cl-binance.zip file
  • Handler should remain index.handler
  • Save

Install to GCP

  • In Functions, create a new function, choose to ZIP upload
  • Click Browse and select the cl-binance.zip file
  • Select a Storage Bucket to keep the zip in
  • Function to execute: gcpservice

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published