Articles in this series
前言 Solana上由一個Program (Smart contract) 去call另一個Program的做法稱為"Cross-Program Invocation", 通常簡稱為CPI (詳解)。 這篇小技巧講解的,...
如果你看過我之前寫的兩篇介紹文章 ( Solana小技巧 - 解構PDA數據結構 及 [Example study] Solana program Instruction data encoding ), 大概會感到無論是Instruction Data也好, 或Data Account數據也好,...
What is the account model? The way that smart contracts track state, e.g.: token balance who owns a NFT …… The Account Model The account model...
前言 這篇教學文章的目的是, 以實例去解構用anchor寫Solana program的PDA data account儲存數據結構。 案例 我們有一個用anchor去寫的Solana program, 其中有個instruction RegisterKeyAccount,...
In this article, we will talk about how the Solana program (smart contract) stores on-chain data via PDA. What is a PDA? PDA stands for Program...
In this article, we will show an example to illustrate how the instruction data encoding works down to the byte level. (The example we show you is...