Deploying to network
Summary: In previous steps, we developed and tested our smart contract, ensuring its correctness.
In this part of the guide, we will proceed with the deployment of previously developed smart contracts and cover interaction with them on-chain.
Address and initial state
We already know that address is a unique identifier of a smart contract
on the network, used to send transactions and verify the sender upon receiving. However, we still haven't discussed how it's created. The common formula for a smart contract address looks like this:
address = hash(state_init(code, data))
The address of a smart contract is a hash of the aggregated initial code and data of the smart contract upon deployment. This simple mechanism has a few important consequences: