hackquest logo
  • 學習
  • 課程探索
  • 實戰
  • 黑客松探索
  • 往期項目
  • 社區
  • 論壇
  • 全球活動
  • 我的社區
  • 共學營
  • 組織中心
  • 更多
    • 詞彙表
    • 博客
    • 水龍頭
    • 工作機會
    • 媒體工具包
    • 創始人
hackquest logo

logs interactions with timestamps

**without providing any input fields**. Each log entry automatically captures the caller’s address and the exact timestamp when the interaction occurred. This contract is **deployed on the FLOW

技術堆疊

Web3
Solidity
Ethers

描述

# 🪶 On-Chain Interaction Logger

A lightweight, transparent smart contract that records user interactions with timestamps — enabling on-chain event logging and simple analytics.

---

## 📜 Overview

The Interaction Logger contract allows anyone to log an interaction on-chain without providing any input fields.

Each log entry automatically captures the caller’s address and the exact timestamp when the interaction occurred.

This contract is deployed on the FLOW Testnet to demonstrate how minimal, gas-efficient on-chain tracking can be achieved while maintaining verifiable transparency.

---

## ⚙️ Features

- ✅ No inputs required — call logInteraction() to log your activity.

- 🕒 Stores each interaction with msg.sender and block.timestamp.

- 📡 Emits InteractionLogged events for easy off-chain indexing.

- 🔍 Public array of all interactions — fully accessible on-chain.

- 💾 Minimal, dependency-free design (no imports, no constructors).

---

## 🌐 Network Details

Blockchain: [Flow Testnet](https://testnet.flowscan.org/)

Primary Contract Address:

團隊負責人
TTanisha
專案連結
行業
AI