My first Solidity smart contract deployed on Ethereum Sepolia testnet, completed as part of the Cyfrin Updraft course taught by Patrick Collins.
A simple smart contract that demonstrates:
- Storing and retrieving unsigned integers on-chain
- Basic Solidity syntax and structure
- Ethereum transaction lifecycle
- Language: Solidity 0.8.18
- Tools: Remix IDE
- Network: Ethereum Sepolia Testnet
- Transaction Hash: 0x162a...60615
- Contract Address: View on Etherscan
- Compile
SimpleStorage.sol
- Deploy to Sepolia testnet
- Call these functions:
// Store a number await simpleStorage.store(42); // Retrieve the number await simpleStorage.retrieve(); // Returns: 42