August 2019
Intermediate to advanced
486 pages
13h 52m
English
As shown, we have deployed the contract using Alice's Ethereum account, present in MetaMask. Just by deploying the DeploymentExample contract, Alice became the owner of the contract and only Alice's Ethereum account can call the kill() function of the contract. Other Ethereum accounts are not allowed to call this function.
Let's use Bob's Ethereum account and initiate some transactions on the contract. We will call the fallback function of the contract. There are two ways to initiate the transaction to the fallback function—you can either use the Remix IDE and call the fallback function, or you can directly send the ether to the contract address, 0xDAc483f4441159Cb773F7421495a458e32707500
Read now
Unlock full access