~/talk

Engineering JavaScript for Web3

Talkat Consensus 2022 · 2022-06-09..06-12· [javascript, blockchain]
slides:none on file

NEAR adds a JavaScript smart‑contract path that compiles JS to WASM/base64 and runs in a QuickJS JS VM deployed as a contract; tooling shown includes near-sdk-js, near-cli/near-js, near-api.js and a Gitpod quickstart. Demo builds a greeting and a coin‑flip game using a cross‑contract call to a random hub (returns 0/1), deploys via Dev‑deploy (grants 200 testnet tokens), uses 300 Tgas for calls, charges ~0.1 NEAR first‑time storage, and works live on testnet with a 4.19 MB initial upload limit.

AI-written summary · about

  1. 0:00Web3 JavaScript intro
  2. 4:11NEAR Protocol overview
  3. 8:45JavaScript for smart contracts
  4. 10:30Setting up the development environment
  5. 11:56Smart contract breakdown
  6. 14:24Contract build & deploy
  7. 16:09Interacting with contract
  8. 18:15Coin-flipping game contract
  9. 27:20Frontend deployment
  10. 34:31Feedback & resources
  11. 36:40Q&A
~/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.