Skip to Content
이더리움 마스터하기, 2nd Edition
book

이더리움 마스터하기, 2nd Edition

by Carlo Parisi, Alessandro Mazza, Niccolo Pozzolini, Gavin Wood, Andreas M. Antonopoulos
October 2025
Beginner to intermediate
570 pages
9h 24m
Korean
O'Reilly Media, Inc.
Content preview from 이더리움 마스터하기, 2nd Edition

12장. 탈중앙화 애플리케이션

이 작품은 AI를 사용하여 번역되었습니다. 여러분의 피드백과 의견을 환영합니다: translation-feedback@oreilly.com

이 장에서는 디앱이 무엇인지, 어떻게 작동하는지, 핵심 아키텍처가 어떻게 구성되는지 설명하며 디앱을 이해하기 쉽게 설명하겠습니다. 기본 사항을 다룬 후에는 첫 번째 디앱을 처음부터 구축할 수 있는 실용적인 실습 예제를 살펴보겠습니다. 여기에는 필요한 스마트 컨트랙트를 배포하고, 프론트엔드를 통합하고, 전체 스택을 거의 프로덕션 환경에 맞게 준비하는 과정이 포함됩니다. 이 과정을 마치면 실제로 작동하는 디앱과 이러한 혁신적인 애플리케이션의 기반이 되는 핵심 개념에 대한 탄탄한 이해를 모두 갖추게 될 것입니다.

디앱이란 무엇인가요?

디앱 ( )은 탈중앙화 애플리케이션의 약자로, 그림 12-1과 같이 일반적으로 다음과 같은 아키텍처를 가진 기존 애플리케이션에 비해 완전히 새로운 패러다임의 전환입니다:

  • 앱의 로직 부분에 대한 폐쇄적인 소스 코드

  • 애플리케이션 데이터를 저장하는 중앙 집중식 데이터베이스

  • 사용자가 앱에 액세스할 수 있는 고유한 프론트엔드

Diagram showing the general architecture of a legacy application with sections for logic, database, and unique frontend.
그림 12-1. 레거시 애플리케이션의 일반적인 아키텍처

인스 타 그램, 틱톡, 은행 또는 현재 휴대폰에 있는 모든 애플리케이션을 생각해 보세요. 아마도 매우 유사한 아키텍처에 의존하고 있을 것입니다. 해당 애플리케이션을 개발한 팀이 허용하는 경우에만 애플리케이션에 액세스할 수 있으며, 공식 웹사이트가 서비스를 중단한 경우 인스타그램 계정에 로그인하기 위해 방문할 수 있는 대체 웹사이트는 없습니다.

디앱에는 두 가지 분명한 목표가 있습니다: 단일 장애 지점이 없어야 하고, 팀 전체가 사라지더라도 사람들이 계속 사용할 수 있는 제품이 되어야 한다는 것입니다. 디앱의 아키텍처는 그림 12-2와 같이 다음과 같은 방식으로 단순화할 수 있습니다:

  • 여러 이더리움 스마트 콘트랙트가 디앱의 로직 부분의 기초를 형성합니다. 대부분의 경우 솔리디티(또는 바이퍼) 코드도 오픈소스입니다.

  • 스마트 콘트랙트는 또한 데이터를 포함할 수 있으며, 적절한 데이터베이스 역할을 하며 필요한 모든 사용자 정보를 수집합니다.

  • 사람들은 공식 프론트엔드를 통해 앱에 액세스할 수 있으며, 메인 앱이 어떤 이유로든 작동하지 않을 경우 대체 앱(커뮤니티에서 만든 앱 포함)으로 쉽게 교체할 수 있습니다.

Diagram illustrating the architecture of a decentralized application, showing Ethereum smart contracts handling logic and database, with an official frontend and alternative frontends as fallbacks.
그림 12-2. 디앱의 일반적인 아키텍처
참고

디앱에는 어느 정도 중앙화된 오프체인 구성 요소도 있을 수 있지만, 일반적으로 이러한 구성 요소는 애플리케이션의 핵심 로직에 필수적인 것은 아닙니다. 보통의 경우 애플리케이션의 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

마이크로 프론트엔드 구축, 2nd Edition

마이크로 프론트엔드 구축, 2nd Edition

Luca Mezzalira
핸즈온 머신러닝(3판)

핸즈온 머신러닝(3판)

오렐리앙 제롱(Aurélien Géron)

Publisher Resources

ISBN: 9798341671614