VERIFIED PROMPT软件CC0-1.0
Ethereum Developer(开源 Prompt)
cc0-prompt-ethereum-developer
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 deploy
- 输出格式
- TEXT
- 变量参数
- 零配置
- 适用场景
- 1 类
- 核验状态
- 已上架
中文说明与适用思路
角色定位:Ethereum Developer(来源 awesome-chatgpt-prompts CC0 公共领域开源集合)
PROMPT · TEXT578 chars
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.