~/talk

Safe and Simple Rust Smart Contracts in NEAR

Talkat RustLab 2019 · 2019-06-28..06-29· [webassembly, blockchain]
links:none on file
slides:none on file

NEAR runs Rust contracts compiled to WASM and uses WASI/WASMER tooling, with a non‑invasive API that turns ordinary Rust into on‑chain code by applying procedural macros (one decorator) to generate contract and storage interfaces. Contracts are small — typically 20–40KB for simple logic, up to ~200KB with more features — support synchronous cross‑contract calls via promises and callbacks, allow unit/integration testing through dependency‑injection traits, and the team runs an EVM‑inside‑WASM prototype; the system is implemented and actively used.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Smart Contracts & AWS Lambda
  3. 1:59A Smart Contract
  4. 2:48Immutable History of Events
  5. 3:44Fat Fingers and Bugs in Closed Code
  6. 6:43Inside a Node
  7. 9:51Requirements for VM
  8. 12:15WASM + Rust Bonus Points
  9. 12:45Rust Zero-Cost Abstractions
  10. 13:17Rust APIs
  11. 14:04Contract Interface and Blockchain Interface
  12. 17:12near_bindgen (non-invasive)
  13. 18:15How Does It Work
  14. 19:49Generating eDSL style API
  15. 22:18Nice to Have Features
  16. 22:42Asynchronous Calls
  17. 23:18Unit Tests and Integration Tests
  18. 23:42Dependency Inversion and Dependency Injection
  19. 24:05Unit Testing Contract A
  20. 24:18Integration Testing Contracts A and B
  21. 24:28Async Cross-Contract Calls
  22. 30:32WASI – Path to Unification WASI is a modular system interface for WebAssembly.
~/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.