7 Commits

Author SHA1 Message Date
Nex Zhu
cdc2a77042 refactor: rename module: go.fusiongalaxy.cn -> go.yandata.net 2025-06-25 21:02:22 +08:00
zhaoweijie
a08ed7e35f refactor(client): 重构客户端方法并优化密钥处理
-将私钥和公钥的解析逻辑移至 NewClient 方法中- 优化 RequestWithSignature 方法,使其支持泛型返回值
- 移除不必要的 genHttpResponse 函数
- 更新客户端方法,使其使用新的 RequestWithSignature 实现
- 调整测试代码以适应新的客户端实现
2025-06-03 15:56:02 +08:00
zhaoweijie
a98d707e48 ref(clientactor): 优化 ExecuteContract 函数参数类型
- 将 ExecuteContract 函数的 arg 参数类型从 string 改为 any
- 增加对 arg 参数的类型判断和处理,支持字符串和其他类型的数据
- 修改签名逻辑,确保兼容新的 arg 参数类型
- 更新单元测试,演示新的 ExecuteContract 调用方式
2025-03-08 11:43:49 +08:00
zhaoweijie
e575463bad feat: change ClientResponse.result struct 2024-12-05 18:21:05 +08:00
zhaoweijie
93d969ce86 feat: change ClientResponse.result struct 2024-12-05 18:06:56 +08:00
zhaoweijie
f46b1a08ee feat: change ClientResponse.result struct 2024-12-05 17:50:39 +08:00
Nex Zhu
a4c99c70f4 refactor: remove sdk-go dir 2024-11-29 17:57:52 +08:00