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

用户地址存在什么位置 #16

Open
xiaopangxia opened this issue Dec 20, 2017 · 2 comments
Open

用户地址存在什么位置 #16

xiaopangxia opened this issue Dec 20, 2017 · 2 comments

Comments

@xiaopangxia
Copy link

用的非图形化版本,hcashd以后是不是就自动生成地址啊,还是要new一个账户啊?
命令行,账户地址和秘钥如何设置啊?

@rev-chaos
Copy link
Contributor

rev-chaos commented Dec 21, 2017

目前有两个账户,一个是普通账户,一个是抗量子账户。普通账户是用ECDSA签名,产生的是ECDSA地址,地址的前缀是Hs。抗量子账户使用抗量子签名算法BLISS签名,产生的是BLISSS地址,地址前缀是Hb。如果使用命令行生成地址,那么可以打开hcashwallet(在控制台输入命令

hcashwallet --pass="你的密码"

)后,新开一个控制台输入

hcashctl --wallet getnewaddress "账户名称"

生成不同账户的地址。其中,账户名称为default时生成的是ECDSA地址,而账户名称为postquantum时生成的是抗量子地址。你可以使用任意一种地址接收他人转账。

@rev-chaos
Copy link
Contributor

如果要发起转账,可以使用命令行

hcashctl --wallet sendfrom "账户名称" "收款地址" 转账金额

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