~/talk

Pulling data from AWS On-chain

Talkat Chainlink Spring 2023 Hackathon · 2023-04-28..06-24· [javascript, blockchain]
slides:none on file

A working Hardhat project sends a vanilla JavaScript snippet to Chainlink Functions (beta) which signs AWS SigV4 requests to the AWS Currency Exchange API, encrypts AWS keys with the Chainlink env‑enc npm helper (.env.encrypted), and returns the price for GBP→USD. Local testing uses npx hardhat functions simulate and yields 1.26 USD (encoded as 126 after multiplying by 100). The DON runs the same code across multiple nodes (consensus, e.g. five replicas), requires a funded subscription, and uses a ~300,000 gas cap.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:24Connecting AWS to blockchain
  3. 3:21How Chainlink Functions work
  4. 6:57Architectural workflow
  5. 10:01Subscription management
  6. 13:24Security and secret handling
  7. 19:12Hands-on project setup
  8. 24:50AWS configuration
  9. 34:43Code and config walkthrough
  10. 51:24Setting encrypted secrets
  11. 1:01:20Executing the request
  12. 1:08:38Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.