/web3_learning

Solidity Learning

Primary LanguageSolidity

Solidity Storage Contract: This repository contains a Solidity smart contract demonstrating basic data storage and retrieval functionalities using Ethereum's blockchain .

Features Global Variable: Demonstrates the use of a global unsigned integer variable. Struct Definition: Includes a struct for storing data about individuals. Mapping: Uses a mapping for efficient data lookup based on names. Functions: Provides functions for storing, retrieving, and adding data. Getting Started To use this contract, follow these steps:

Clone the repository to your local machine. Install the necessary dependencies (if any). Compile and Deploy the Solidity contract using a Solidity compiler (remixIDE). Interact with the deployed contract using Ethereum wallets, scripts or IDE.

Usage Use the store function to set the global variable Number. Use the retrieve function to get the value of Number. Use the addPerson function to add new data to the contract.

Contributing Contributions are welcome! If you have ideas for improvements or new features, please open an issue or submit a pull request.

License This contract is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements For questions or feedback, feel free to contact Pawan Nagar