A simple and beginner-friendly Ethereum/Flare smart contract for recording and tracking equipment logs on-chain.
This project demonstrates how to store data in a struct, push it into an array, and retrieve it using view functions.
Perfect for learning Solidity basics or building lightweight on-chain log systems.
This project is a decentralized Equipment Logging system built using Solidity.
It stores entries such as equipment name, description, and the timestamp of when the log was created.
All data is permanently and transparently stored on the blockchain.
- Allows anyone to add a new equipment entry with just two inputs:
- name
- description
- Saves the entry with:
- Equipment Name
- Description
- Block Timestamp
- Stores all logs permanently in a dynamic array
- Lets users retrieve:
- Total number of logs
- A specific log by index
- π Simple and clean Solidity code
- βοΈ Fully on-chain storage
- π Read-only getter functions (no gas)
- π§© Uses structs and arrays (great for learning)
- π Automatic blockchain timestamp recording
- π§ͺ Easy to test with Remix, Hardhat, Foundry, or Flare tools
Link: XXX
(Replace XXX with your deployed contract URL or hash, e.g., Flare Explorer link once final.)
//paste your code