Ethereum Smart Contract

Fill this prompt

Generate robust Solidity contracts with specific access controls and functionality.

Prompt Template

Act as an experienced Ethereum developer. Create a Solidity smart contract for a {{App Name:blockchain messenger}}.

Functionality Requirements:
1. {{Requirement 1:Store messages on-chain}}
2. {{Requirement 2:Count message updates}}

Access Control:
- Read Access: {{Read Access:Public}}
- Write Access: {{Write Access:Owner Only}}

Focus specifically on {{Focus:[code_focus_areas]}} and ensure the code is gas-efficient. Provide the code and explain the implementation.

Prompt Guide

Best For

  • Starting from a structured, reusable prompt instead of a blank chat.
  • Adapting the prompt to your own inputs while keeping the original intent intact.
  • Workflows related to Software Development.

How To Use It

  1. Copy the full prompt template.
  2. Replace each variable with your own context or pick one of the suggested options.
  3. Paste the completed prompt into ChatGPT, Claude, Gemini, or another AI assistant.

Variables In This Prompt

App Name

blockchain messenger

Requirement 1

Store messages on-chain

Requirement 2

Count message updates

Read Access

Public

Write Access

Owner Only

Focus Predefined list

[code_focus_areas]

Example Starting Point

Act as an experienced Ethereum developer. Create a Solidity smart contract for a blockchain messenger.

Functionality Requirements:
1. Store messages on-chain
2. Count message updates

Access Control:
- Read Access: Public
- Write Access: Owner Only

Focus specifically on [code_focus_areas] and ensure the code is gas-efficient. Provide the code and explain the implementation.

How Variables Work

Variable Syntax

Variables are wrapped in {{ and }} and follow this pattern:

{{variable name: option1, option2, option3 }}

Predefined Variables

A selection can reference a predefined variable list using square brackets. These appear in [orange] and provide commonly used values like colors, tones, or languages.

{{Tone: [tones] }}

Custom Selection Lists

You can also provide an inline list of choices separated by commas.

{{Format: bullet points, paragraphs, numbered list }}
💡

Tip: You don't need the PUCO app to use these prompts! Simply copy the template and replace each {{…}} section with your own text directly in ChatGPT, Claude, Gemini, or any other AI assistant.

Use this prompt in seconds — not minutes

Install PUCO for Mac: press a hotkey in any app, fill a smart form, paste into ChatGPT, Claude or Gemini. Every variable becomes a curated dropdown. Your last values are remembered.

Download on the Mac App Store