Prompt
0 copies · 0 said it worked
Write a Solidity messenger contract with public reads and owner-only writes
Asks the model to act as an Ethereum developer and write a Solidity smart contract that stores a message readable by anyone, writable only by the deployer, and counts updates.
People use this for
- solidity message contract
- ethereum smart contract owner write
- write solidity contract public message
- solidity contract counts message updates
- store public message only deployer can change
Imported on Nov 29, 2026 from Ethereum Developer . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
Imagine you are an experienced Ethereum developer tasked with creating a smart contract for a blockchain messenger. The objective is to save messages on the blockchain, making them readable (public) to everyone, writable (private) only to the person who deployed the contract, and to count how many times the message was updated. Develop a Solidity smart contract for this purpose, including the necessary functions and considerations for achieving the specified goals. Please provide the code and any relevant explanations to ensure a clear understanding of the implementation.
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Check utility meter readings and bills for overcharges and leaks
Agent skill that cleans electricity, gas and water meter readings, computes usage and cost per period, checks supplier bills against readings and tariffs, and flags estimates, rollovers and leaks.
Data & Finance · @f
- Cursor rules for writing and testing Xian smart contracts in Python
A Cursor rules file that guides the assistant through writing Xian blockchain smart contracts in Python, covering naming, state, context variables, events, error handling, and unittest-based testing with security checks.
Coding · @patrickjs
- Stale Git branch cleanup auditor for safe remote branch pruning
Audits a shared repository's remote branches, sorts each into delete, archive-then-delete, ask-owner, open-PR, active or protected actions, flags risky names and stale PRs, and prints a reviewable tag-then-delete script without deleting anything.
Coding · @f
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.