Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你这个可以直接用于转帐吗 #3

Closed
229821246 opened this issue Dec 8, 2021 · 6 comments
Closed

你这个可以直接用于转帐吗 #3

229821246 opened this issue Dec 8, 2021 · 6 comments

Comments

@229821246
Copy link

No description provided.

@chuwt
Copy link
Owner

chuwt commented Dec 8, 2021

这个是签名工具,你构造好交易数据之后是可以用来转账的。具体对交易签名可以看这里

@229821246
Copy link
Author

是不是就可以不用chia-tx这个包?我想用go实现转帐的操作

@chuwt
Copy link
Owner

chuwt commented Dec 8, 2021

转账涉及到CLVM操作,你需要实现一些CLVM的功能去序列化数据,这块暂时还是有一些难度的,有兴趣你可以试一试,后面我也可以参与一下哈哈哈。我也写了关于公钥生成地址的工具,这里其实也是用到CLVM的,但是我没有去实现它,而是根据地址生成的特定规律hack出来的一种实现,如果实现CLVM有难度可以考虑这种hack方式。

@229821246
Copy link
Author

你这么一说,我肯定搞不定,就是想用最简单的方法去实现它,说不定过段时间我这项目就停了,那还是研究下你这个chia-tx包快些

@chuwt
Copy link
Owner

chuwt commented Dec 8, 2021

哈哈哈哈,可以。另外chia-tx这个包也是之前版本的代码,现在版本好像有些结构的名称换了,你可以对比一下,欢迎PR。

@229821246
Copy link
Author

好的,谢谢大佬

@chuwt chuwt closed this as completed Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants