第 1 课,共 4 课
朗读
正在检查浏览器是否支持朗读……
此阅读内容目前仅有英语版。界面使用你选择的语言。
阅读英语原文 →An account is more than a wallet
Distinguish Solana data accounts from executable programs.
On Solana, the word account also describes where application data lives.
- Wallet authorizes
- Program executes
- Data account changes
Addresses locate data
Solana accounts have addresses and hold data or executable code. An account's owner is a program controlling changes to its data. That ownership field does not simply mean the human holding a wallet.
Programs perform the work
Transactions call program instructions that operate on accounts. Separate the wallet authorizing an action, the program executing it and the data accounts it changes.
Draw a tiny application
Work on paper, with fictional addresses.
- Draw a wallet and a program separately.
- Add a data account beside the program.
- Mark which part stores application state.
An account address can identify something other than a person.
Read the account's role, not just its address.
已完成 0 课,共 4 课
学习进度保存在此设备上。
相关阅读探索 Solana 全书 →