Odak modu

Transition to Web3 - Course 3 | How Smart Contracts Work

Triggering smart contracts

Users can trigger the existing code pieces (“smart contracts”) on a blockchain to execute them with the inputs they want.

Every smart contract is associated with an account. Users also have accounts. When a user wants to trigger (“call”) a smart contract, that user creates a transaction to the smart contract account.

For example, someone can trigger the buyBook program by calling its account as follows:

Alice -> buyBook($10)

left-disk

Yazılım Kariyerinde İlerlemeni Hızlandıracak Programlar

Patika+ programlarımız ile 4-8 aylık yoğun yazılım kamplarına katıl, temel bilgilerden başlayarak kapsamlı bilgiler edin, yazılım kariyerine başla!

right-cube

Yorumlar

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