本文内容主要来自Solana官方文档和一些查阅的网上资料。时间:2023.12
## **1. 账户**
Solana上的一切都是账户。账户的基本结构如下:
```text
pub struct Account {
/// lamports in the account
pub lamports: u64,
/// data held in this account
#[s...
本文我们来学习如何使用 Tact 开发 TON 合约。
## Tact 合约架构
首先来看一个非常简单的 `Counter` 合约:
```
contract Counter {
// persistent state variable of type Int to hold the counter value
val: Int as uint32;
// initialize the state ...