Skip to content

[Smart contracts > Fundamentals] Add an illustration of a smart contract’s layout (code + data + balance + address) #1692

@delovoyhomie

Description

@delovoyhomie

Problem / Why

New developers don’t have a clear mental model of what a TON smart contract “is” structurally. Without a visual, concepts like code vs data (state), balance, address, and messages in/out remain abstract.

What to do

Add a simple illustration that shows a TON smart contract account layout, including:

  • Address
  • Balance (TON / tokens as applicable)
  • Code (TVM bytecode)
  • Data / State (persistent storage)
  • Interfaces / entrypoints (external/internal message handlers, optional)
  • Messages: incoming (external/internal) and outgoing (internal) arrows

Mermaid diagrams could be a great start.

Optional callouts:

  • “Get methods are off-chain reads”
  • “State changes happen during transaction execution”

Acceptance criteria

  • One clear diagram is included in the relevant fundamentals page.
  • Diagram matches TON terminology used in docs.
  • The surrounding text references the diagram and explains it in 3–6 sentences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogTo organize the backlog into a hierarchy. Should never be closed, no assignees, no milestones.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions