1. Blog
Create a blog module
Create posts
배울 점
블록체인 앱 blogd를 빌드.
CLI function 생성.
blog posts를 생성하는 메세지 정의.
생성된 posts 리스트.
functionality를 추가하기 위한 transaction type 생성.
Front end user interface 생성 및 점검.
Requirements
해당 튜토리얼은 Starport v0.17.0 를 사용한다.
Starport는 블록체인을 빌드, 테스트, 생성하는 데 필요한 모든 것을 제공한다.
Getting Started
blog라는 이름의 폴더 안에 initial app structure를 생성한다.
Starport의 메인 기능 중 하나는 코드 생성이다.
starport type 커맨드로 data type을 추가할 수 있다.
Overview
app/app.go file
SDK 모듈을 import하고 configure한다.
Last updated