Write an Ethereum contract
Help me write an Ethereum smart contract for [on-chain use case]. Known material: [functional requirements and permission settings]; audience: [callers or frontend developers]. Provide the contract code, notes on the key functions, and the read versus write permissions, plus deployment and testing points; do not assume token standards or network parameters, do not invent addresses, and flag what needs an audit.
Open this template in the optimizer →
Placeholders to fill in
- on-chain use case
- functional requirements and permission settings
- callers or frontend developers
Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.
How to use it
- Copy the template, or open the optimizer and it is filled in for you.
- Replace every placeholder in brackets with your own material.
- Add constraints such as length, audience, tone, and what must not change.
- Generate, then refine in three directions and copy the result.
Adapted from the prompts.chat act “Ethereum Developer” (CC0)
More writing goals
Browse other tasks
Canonical version: https://www.prompt.dx3906.net/zh/templates/writing/purpose-ethereum-developer