Skip to content

Commit

Permalink
Merge branch 'main' of github.com:IntensiveCoLearning/starknet
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaopengjun5162 committed Sep 28, 2024
2 parents 9423de3 + 30c848c commit 7a12e53
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Starknet 残酷共学是由 LXDAO、Starknet Astro、AAStar 联合发起,旨
| geyu | ⭕️ ||||||| ⭕️ | ⭕️ || | | | | | | | | | | |
| aliyan404 |||| ⭕️ ||| ⭕️ | ⭕️ || | | | | | | | | | | | |
| Hansen ||| ⭕️ |||||||| | | | | | | | | | | |
| Reign ||||||||||| | | | | | | | | | | |
| Reign ||||||||||| | | | | | | | | | | |
| qiaopengjun ||||||||||| | | | | | | | | | | |
| Ric-Li-C || ⭕️ | ⭕️ |||||||| | | | | | | | | | | |
| River ||||||||||| | | | | | | | | | | |
Expand Down Expand Up @@ -274,6 +274,7 @@ Starknet 残酷共学是由 LXDAO、Starknet Astro、AAStar 联合发起,旨






<!-- STATISTICALDATA_START -->
Expand Down
17 changes: 17 additions & 0 deletions Reign.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,21 @@ Scarb is a powerful tool in the Cairo ecosystem, helping developers efficiently

3. **Persistence**: The local node does not store data permanently, meaning all information is erased after the node stops. To stop the node, simply use `Ctrl+C`.

### 2024.09.28

1. **环境准备**:确保安装 `scarb``starkli`,并成功运行相关命令。

2. **智能钱包设置**:创建包含私钥的Signer和包含钱包地址的Account Descriptor,部署到Sepolia Testnet。

3. **密钥管理**:使用Starkli生成和安全存储keystore文件。

4. **RPC提供者选择**:推荐使用Infura、Alchemy或免费RPC服务。

5. **账户描述符创建**:通过Starkli的fetch命令生成Account Descriptor文件,包含智能钱包的独特信息。

6. **合约声明与部署**:先声明合约,再部署实例,确保使用正确的class hash和构造参数。

7. **与合约交互**:使用call命令读取合约状态,使用invoke命令修改状态,处理潜在错误。

8. **验证与确认**:通过区块浏览器检查合约部署状态和交互结果。
<!-- Content_END -->

0 comments on commit 7a12e53

Please sign in to comment.