concepts

Explain onchain development mental models covering incentives, randomness, and gas-paying actors.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/freeslugs/unlink-hackathon --skill concepts-freeslugs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: concepts
Source: https://github.com/freeslugs/unlink-hackathon/tree/main/_skills/eth-skills/concepts
Command: npx skills add https://github.com/freeslugs/unlink-hackathon --skill concepts-freeslugs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill clarifies fundamental onchain development concepts, correcting common misconceptions about automation and emphasizing the critical role of incentive design in building robust decentralized systems.

Core Features & Use Cases

  • Core Principles: Explains "Nothing is Automatic" and "Incentives are Everything" for smart contract design.
  • Incentive Design: Provides examples of good and bad incentive structures for common onchain patterns like liquidations, LP fees, and yield harvesting.
  • Randomness: Details secure methods for generating randomness onchain (Commit-Reveal, Chainlink VRF).
  • Teaching Tool: Offers guidance on explaining key onchain concepts (Approve Pattern, DEXs, Lending, Oracles, etc.) to new developers.

Quick Start

Explain the core concept of 'incentives are everything' in onchain development.

Frequently Asked Questions about concepts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why are smart contracts not fully automatic on ethereum?

Smart contracts on ethereum are not automatic because every state transition requires an explicit gas-paying actor to trigger execution. Nothing happens onchain unless an external account initiates the transaction and covers the associated gas costs.

How do I generate secure randomness for smart contracts?

Secure randomness for smart contracts requires avoiding blockhash exploits by using commit-reveal schemes or Chainlink VRF. These methods provide verifiable onchain randomness, preventing miners or validators from manipulating outcomes to their advantage.

What are good incentive structures for onchain liquidations?

Good incentive structures for onchain liquidations offer sufficient rewards to liquidators for covering gas costs and risk, ensuring prompt action. Bad incentives underpay actors, leading to delayed liquidations and protocol insolvency during volatile market conditions.

How do I explain the approve pattern to new ethereum developers?

To explain the approve pattern to new ethereum developers, frame it as a two-step security model where users first grant a smart contract spending permission, then trigger the contract to transfer tokens, preventing unauthorized direct deductions.

What is a self-sustaining hyperstructure in decentralized systems?

A self-sustaining hyperstructure in decentralized systems is an onchain protocol designed with intrinsic incentive mechanisms that allow it to operate indefinitely without ongoing maintenance, external subsidies, or centralized oversight.

When do I need an explicit gas-paying actor for onchain state transitions?

You need an explicit gas-paying actor for every onchain state transition because smart contracts cannot execute autonomously. External users or keeper networks must initiate transactions and pay gas fees to trigger any logic or data changes.