This project is a simple web application that allows users to interact with an Ethereum/BASE smart contract using MetaMask. The contract provides three functions:
store(uint256 num)
- Stores a uint value on the blockchain.storedUintToHex()
- Retrieves the stored uint value as a hexadecimal string.stringToHex(string _i)
- Converts a given string to its hexadecimal representation.
- base.sol deploy to any Blockchain
- index.html to intrect with the contract on frontend
To use this application, you'll need to have the MetaMask browser extension installed. Make sure you're connected to an Ethereum wallet through MetaMask.
- Clone this repository to your local machine.
git clone <repository_url>