Odak modu

NEAR Developer Course

Keys

FunctionCall Access Keys

FunctionCall is a common access key that lets the holder call a function on only 1 contract and only up to a limited number of times.

Every time you login to a website with your NEAR Wallet, you are adding a new FunctionCall access key to your account.


FullAccess Keys

A rare and powerful access key that lets the holder do anything they want to do with the account.

Having a FullAccess key on the account means you own the account. Keep your FullAccess key safe!

figures

figures

Invoking a contract method from your dApp roughly follows these steps:

  • Your dApp uses near-api-js to compose and sign the transaction that represents a FunctionCall transaction
  • The transaction is sent to the NEAR platform through the RPC interface which validates and verifies the transaction before routing it (based on the contract account) to the correct shard (since each shard is being followed by at least one physical node in the network)
  • The runtime layer wakes up a Wasm virtual machine
  • The VM loads the contract code to invoke the function identified in the transaction
  • Reads and writes to state storage as needed
  • Then returns the result of the function call and spins down the virtual machine
  • The blockchain layer routes the result back through the RPC interface to your dApp


Background Pattern
Birlikte öğrenelim

Sektörde en çok aranan yazılım becerilerini kazan

Yapay zeka desteği, birebir mentörlük saatleri, canlı dersler ve senin için özel hazırlanmış içeriklerle eksiklerini tamamla, düzenli geri bildirimler al ve öğrenme sürecini en verimli hale getir.

Yunus Emre Kabakcı

Patika+ mezunu

Patika+ Fullstack Web Development Bootcamp mezunumuz Yunus Emre,

3 ay içinde Katar’dan aldığı teklif ile, global bir şirket olan Pavo Group’da işe başladı!


“İçerik zenginliği, mentor desteği, ileriye dönük bir network sağlaması ve dünyada en çok tercih edilen frameworkler üzerinden bir eğitim veriyor olması Patika+’ı tercih etmemin temel sebepleri oldu!“

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!