1658432340
go install
go build -o substrate-adapter
./substrate-adapter
Key | Description |
---|---|
SA_PRIVATE_KEY | Private key for your Substrate account. |
SA_TX_TYPE | Transaction type on the Substrate network. Either "mortal" or "immortal". |
SA_ENDPOINT | Endpoint URL for Substrate node to connect to. |
Download Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/substrate-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink #go #substrate
1658432340
go install
go build -o substrate-adapter
./substrate-adapter
Key | Description |
---|---|
SA_PRIVATE_KEY | Private key for your Substrate account. |
SA_TX_TYPE | Transaction type on the Substrate network. Either "mortal" or "immortal". |
SA_ENDPOINT | Endpoint URL for Substrate node to connect to. |
Download Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/substrate-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink #go #substrate
1658324413
This adapter has moved to our external adapters monorepo!
base
or from
: The target currency to query (required)quote
or to
: The currency to convert to (required)endpoint
: The endpoint to call (optional)amount
: The amount to convert (optional){
"jobRunID": "1",
"data": {
"success": true,
"query": {
"from": "GBP",
"to": "JPY",
"amount": 1
},
"info": {
"timestamp": 1519328414,
"rate": 148.972231
},
"historical": "",
"date": "2018-02-22",
"result": 148.972231
},
"result": 148.972231,
"statusCode": 200
}
yarn
yarn test
zip -r cl-fixer.zip .
If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build . -t fixer-adapter
Then run it with:
docker run -p 8080:8080 -e API_KEY='YOUR_API_KEY' -it fixer-adapter:latest
cl-fixer.zip
filecl-fixer.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/fixer-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658309820
This external adapter uses the unauthenticated endpoints for connecting to the Binance Exchange API.
endpoint
: The endpoint of the API to querysymbol
: The symbol to query. Will default to "ETHUSDT"
if unspecified and required by the endpoint.npm install
npm test
zip -r cl-binance.zip .
cl-binance.zip
filecl-binance.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/binance-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink #javascript
1658361060
coinid
: The CoinPaprika id of the coin to query (required if not using from
)base
, from
, or coin
: The ticker of the coin to query (required if not using coinid
)quote
, to
, or market
: The currency to convert the coin to (required){
"jobRunID": "278c97ffadb54a5bbb93cfec5f7b5503",
"data": {
"id": "eth-ethereum",
"name": "Ethereum",
"symbol": "ETH",
"rank": 2,
"circulating_supply": 109469522,
"total_supply": 109469556,
"max_supply": 0,
"beta_value": 1.04048,
"last_updated": "2020-01-28T21:56:03Z",
"quotes": {
"USD": {
"price": 173.00001891,
"volume_24h": 8256159044.3763,
"volume_24h_change_24h": 2.54,
"market_cap": 18938229376,
"market_cap_change_24h": 0.93,
"percent_change_1h": 0.27,
"percent_change_12h": 1.04,
"percent_change_24h": 0.92,
"percent_change_7d": 2.18,
"percent_change_30d": 27.49,
"percent_change_1y": 64.2,
"ath_price": 1432.88,
"ath_date": "2018-01-13T21:04:00Z",
"percent_from_price_ath": -87.93
}
},
"result": 173.00001891
},
"result": 173.00001891,
"statusCode": 200
}
yarn
yarn test
zip -r cl-coinpaprika.zip .
docker build . -t coinpaprika-adapter
docker run -d \
-p 8080:8080 \
-e EA_PORT=8080 \
coinpaprika-adapter
cl-coinpaprika.zip
filecl-coinpaprika.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/coinpaprika-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink
1658339040
This adapter has moved to our external adapters monorepo!
coinid
: The CoinGecko id of the coin to query (required if not using from
)base
, from
, or coin
: The ticker of the coin to query (required if not using coinid
)quote
, to
, or market
: The currency to convert to{
"jobRunID": "1",
"data": {
"ethereum": {
"usd": 157.24
},
"result": 157.24
},
"result": 157.24,
"statusCode": 200
}
yarn
yarn test
zip -r cl-coingecko.zip .
docker build . -t coingecko-adapter
docker run -d \
-p 8080:8080 \
-e EA_PORT=8080 \
coingecko-adapter
cl-coingecko.zip
filecl-coingecko.zip
fileDownload Details:
Author: smartcontractkit
Source Code: https://github.com/smartcontractkit/coingecko-adapter
License: MIT license
#smartcontract #blockchain #oracle #chainlink