solana cli

```shell
solana program extend <PROGRAM_ID> <MORE_BYTES>
# https://stackoverflow.com/a/77950613
```
 
```shell
solana leader-schedule -u m
# 查看 leader

338254975       JupRhwjrF5fAcs6dFhLH59r3TJFvbcyLP2NRM8UGH9H
338254979       EkvdKhULbMFqjKBKotAzGi3kwMvMpYNDKJXXQQmi6C1f
338255996       ACvL73V4GNnxPVfZ7K89jCrYurLyzpEuE9qirjvh2Xmi
```

```shell
solana transaction-count -u m # m mainet
# 总交易数量

solana supply -u m
# 总供应量

solana inflation -u m
# 通胀率

solana block-production -u m

solana stake-history -u m

solana validator-info get -u m 
solana gossip -u m

solana catchup --our-localhost 8899
```

```shell
solana live-slots -u m 

# 当前 slots 的进度信息

|<--- 309885573 <- … <- 309885610 <- 309885611   (prev)
|<--- 309885573 <- … <- 309885610 <- 309885611   (prev)
|  '- 309885580 <- … <- 309885611 <- 309885612   (next)

SlotInfo { slot: 309885640, parent: 309885639, root: 309885608 } | root slot advancing at 2.60 slots/second
```

```shell
solana validators -u m
# 验证节点信息

Stake By Version:
2.2.0   -    4 current validators ( 0.12%)
2.1.7   -    2 current validators ( 0.03%)
2.1.6   -    1 current validators ( 0.01%)
2.1.4   -    1 current validators ( 0.00%)   1 delinquent validators ( 0.00%)
2.1.0   -    0 current validators ( 0.00%)   3 delinquent validators ( 0.00%)
2.0.22  -    1 current validators ( 0.01%)
2.0.21  -    1 current validators ( 0.01%)
2.0.20  -   18 current validators ( 2.93%)   2 delinquent validators ( 0.01%)
2.0.19  - 1216 current validators (64.60%)  15 delinquent validators ( 0.06%)
2.0.18  -  107 current validators (24.76%)   6 delinquent validators ( 0.02%)
2.0.17  -    4 current validators ( 1.64%)   3 delinquent validators ( 0.00%)
2.0.16  -   11 current validators ( 2.65%)
2.0.15  -   35 current validators ( 1.97%)
2.0.14  -    2 current validators ( 0.34%)
1.18.26 -    1 current validators ( 0.04%)
0.302.20104 -    2 current validators ( 0.15%)
0.202.20016 -    1 current validators ( 0.00%)
0.101.20106 -    3 current validators ( 0.63%)
unknown -    1 current validators ( 0.00%)  11 delinquent validators ( 0.01%)
```

```shell
solana ping -u d #d devnet

✅ 1 lamport(s) transferred: seq=0   time= 660ms signature=2nVYj7b81oS13pv2AzPLPN8Aht8iprRYBRKrqSNZ3SXSSgThV78meyWiosq288Gus2iMtx4Yq841Nmidc7e62LfZ
✅ 2 lamport(s) transferred: seq=1   time= 659ms signature=4mnqYEJgfq6ahhQXoWfVdg7LiXmXq4pD2rnQzneY4hcR3NFsq2PK3mfgY3KRYicAWzSK3Mk6jqFDLMGYot8Ei2xF
✅ 3 lamport(s) transferred: seq=2   time=1530ms signature=2LohS7y8LXQxHvhKZBdTgrFS3VLSw5cju54Wp2aeXYyFrVVyWkbVS98ytNjbyUUu7m8xiCUqR4ZKYqqo6b9JQZ4v

--- transaction statistics ---
3 transactions submitted, 3 transactions confirmed, 0.0% transaction loss
confirmation min/mean/max/stddev = 659/950/1530/503 ms
```

```sh
solana account  So11111111111111111111111111111111111111112

Public Key: So11111111111111111111111111111111111111112
Balance: 
Owner: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Executable: false
Rent Epoch: 18446744073709551615
Length: 82 (0x52) bytes
0000:   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0010:   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0020:   00 00 00 00  00 00 00 00  00 00 00 00  09 01 00 00   ................
0030:   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0040:   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0050:   00 00                                                ..
```