~/talk

Writing your first smart contract in Cadence

Talkat Chainlink Spring 2023 Hackathon · 2023-04-28..06-24· [web3, smart-contracts]
links:none on file
slides:none on file

Cadence on Flow uses resource-oriented programming with linear-type resources that live in user accounts (not a central ledger), so assets can’t be copied and the runtime errors if a created NFT is not explicitly saved or destroyed — the demo shows creating an NFT in the Playground emulator, hitting a “loss of resource” error, then fixing it by account.save. Transactions are atomic and can run arbitrary code; access control relies on capability security. The language is currently interpreted; a compiler is planned.

AI-written summary · about

  1. 0:00Start
  2. 3:46Basics Smart Contracts
  3. 7:18Data Structures vs. Scarce Assets
  4. 17:33A Glimpse of Cadence
  5. 27:28Blockchain Programming Model: Transactions
~/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.