Welcome to TM_StorageChain, a basic example of a blockchain-based website using Ethereum smart contracts and web3.js.
This project demonstrates a simple decentralized application (DApp) that allows users to set and retrieve values on the Ethereum blockchain. The smart contract, written in Solidity, provides a basic storage mechanism accessible through a web interface.
- Set Value: Users can set a new value on the blockchain.
- Get Value: Retrieve the current stored value from the smart contract.
- Install an Ethereum wallet like MetaMask.
- Connect your wallet to a local Ethereum node.
-
Clone the repository:
git clone https://github.com/Xen0cryst/TM_SimpleChain.git
- The smart contract (storage.sol) is a basic example allowing users to set and get values on the blockchain.
- The web interface (index.html and app.js) interacts with the smart contract using web3.js. Users can set and retrieve values via the user-friendly interface.
- Connect your Ethereum wallet to the DApp.
- Set a new value using the "Set Value" button.
- Retrieve the current stored value using the "Get Value" button.
- This project is licensed under the MIT License
-
Thanks to the Ethereum community for providing the tools and resources to build decentralized applications.
Feel free to reach out with any questions or feedback!
Happy coding!