Skip to content

[GSOC'26] Template Playground: No-Code Smart Contract Authoring for Non-Technical Legal Users #488

@JiyaGupta-cs

Description

@JiyaGupta-cs

Problem Statement

Today, authoring smart legal contracts requires knowledge of Concerto models, TemplateMark syntax, and JSON data inputs. This creates a steep learning curve for lawyers and contract managers, whose expertise is legal drafting, not software development.

Proposed Solution

I propose a form-driven, low-code contract authoring layer that allows lawyers and contract managers to define contract structure, variables, and logic without any knowledge of Concerto or TemplateMark.

HIGH-LEVEL FLOW

Lawyer defines contract data using forms
           ↓
Concerto (.cto) model auto-generated (hidden)
           ↓
Create TemplateMark by Inserting form fields
           ↓
Form-based data entry with validation
           ↓
Simulation and execution of smart legal contract

Step 1: Define Contract Data Using Forms (No Concerto Exposure)

Lawyers define contract variables via guided forms (Add Field → Label, Type, Required).

  • Example fields: Client Name (Text), Service Fee (Currency), Duration (Number), Effective Date (Date)
  • Variable names and Concerto .cto models are auto-generated and hidden
  • No syntax, no code, no technical decisions required
    Output: Valid Concerto model generated behind the scenes

Step 2: Draft Legal Text with Assisted TemplateMark

Lawyers write contracts naturally in a Markdown editor with a toolbar option:

  • ➕ Insert Contract Field
  • Select a field (e.g., Service Fee)
  • Choose formatting (e.g., Currency – $)
  • System inserts valid TemplateMark ({{serviceFee}}) automatically
    Output: Error-free TemplateMark, correctly linked to the data model

Step 3: Enter Contract Data via Forms (No JSON)

The system auto-generates a dynamic, validated form from the model:

  • Text inputs, number fields, date pickers, currency formatting, etc.
  • Built-in validation (required fields, data types, constraints)
    Output: Clean, valid contract data ready for execution

Outcomes

  • Zero-code smart contract authoring
  • Eliminates Concerto, TemplateMark, and JSON learning curve
  • Faster drafting, validation, and iteration
  • Significantly improved adoption for legal professionals

Skills required/preferred:

React.js, form-driven UI development, low-code/no-code interface design, dynamic form generation, state management, markdown/editor integration, schema-based validation, component-driven architecture, experience with Concerto, TemplateMark, and JSON editors

Possible Mentors:

@mttrbrts @dselman

Expected size of project:

175 hours (medium)

Expected difficulty:

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions