솔라나 개요 - 01

00_8_3·2022년 6월 3일
0

솔라나

목록 보기
1/5

개요

An app interacts with a Solana cluster by sending it transactions with one or more instructions. The Solana runtime passes those instructions to programs deployed by app developers beforehand. An instruction might, for example, tell a program to transfer lamports from one account to another or create an interactive contract that governs how lamports are transferred. Instructions are executed sequentially and atomically for each transaction. If any instruction is invalid, all account changes in the transaction are discarded.

To start developing immediately you can build, deploy, and run one of the examples.

하나 이상의 instructions와 트랜잭션을 전송함으로써 앱은 솔라나 클러스터와 상호작용한다.
솔라나 런타임은 앱 개발자가 미리 배포한 프로그램에 instructions를 전달한다.

예를들어 하나의 instruction은 하나의 account에서 다른 account로 전달하라 말하거나 lamports 전송 방법을 제어하는 상호적인 contract를 생성한다.

instructions 들은 각 트랜잭션에 대해 순차적이고 원자적으로 실행된다.
어떠한 instuctions이 유효하지 않다면, 트랜잭션 내의 모든 account의 변화는 버려진다.

lamport : 0.000000001 sol 에 해당하는 파편화된 네이티브 토큰이다.
native token: 노드에서 작업된 것들을 추적하는데 사용되는 토큰

0개의 댓글