/TM_StorageChain

TM_StorageChain is a minimalistic decentralized application (DApp) demonstrating the interaction between a Solidity smart contract and a web interface. Users can set and retrieve values on the Ethereum blockchain through an intuitive web interface.

Primary LanguageJavaScriptMIT LicenseMIT

TM_StorageChain

Welcome to TM_StorageChain, a basic example of a blockchain-based website using Ethereum smart contracts and web3.js.

Project Overview

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.

Features

  • Set Value: Users can set a new value on the blockchain.
  • Get Value: Retrieve the current stored value from the smart contract.

Getting Started

Prerequisites

  • Install an Ethereum wallet like MetaMask.
  • Connect your wallet to a local Ethereum node.

Installation

  1. Clone the repository:

    git clone https://github.com/Xen0cryst/TM_SimpleChain.git

Smart Contract

  • The smart contract (storage.sol) is a basic example allowing users to set and get values on the blockchain.

Web Inteface

  • 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.

Usage

  1. Connect your Ethereum wallet to the DApp.
  2. Set a new value using the "Set Value" button.
  3. Retrieve the current stored value using the "Get Value" button.

Licence

  • This project is licensed under the MIT License

Acknowledgments

  • 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!