How To Create An Ethereum Smart Contract
How To Create An Ethereum Smart Contract https://blockgeeks.com
The most interesting part of Ethereum are smart contracts. You can think of smart contracts like autonomous agents deployed onto the Ethereum blockchain. Smart contracts are made up of some data, as well as some code that manipulates that data. Just like a user account, smart contract accounts also have their own balance as well as a public address, which looks the same as the user account address.
To interact with smart contracts, you send transactions to it with some extra data, to specify which function you want to invoke, as well as any input parameters for the function. The transaction will invoke the function, and return any possible output once it has been mined.
We're going to be using Remix to write smart contracts, which is an online IDE, available for free at remix.ethereum.org. It comes with a compiler, editor and debugger for solidity. The great part is that you don't need to download or inst