Chainlink Functions OpenWeather Example
Smart Contract Programmer
Example of using Chainlink functions to query OpenWeather
6:49 - Mistake !secrets.OPEN_WEATHER_API_KEY
0:00 intro 0:40 Open Weather API example 3:16 Code to execute Open Weather API on Chainlink Functions 5:27 Access API key inside code 6:50 Make HTTP request 10:11 Fix mistake in code 10:29 Config file 11:32 Set environment variable 12:20 Execute Chainlink Functions 13:47 Check contract data
OpenWeather https://openweathermap.org/
Chainlink Functions starter https://github.com/smartcontractkit/functions-hardhat-starter-kit
Chainlink Functions architecture https://docs.chain.link/chainlink-functions/resources/architecture#overview
Off-chain consensus https://docs.chain.link/architecture-overview/off-chain-reporting
Notes https://github.com/t4sk/notes/blob/main/chainlink/functions.md
More notes For first-time viewers they will need to accept the Beta (ToS) on the frontend UI before they can programmatically create a subscription.
#Solidity #SmartContract #Ethereum #スマートコントラクト
Follow https://odysee.com/@SmartContractProgrammer:8 https://twitter.com/ProgrammerSmart https://discord.gg/bt8FK2wkcW https://t.me/smartcontractprogrammer https://smartcontractprogrammer.com ... https://www.youtube.com/watch?v=cPSKtFMAJg8
53849099 Bytes