`

blind-account

 
阅读更多
1.创建
unlocked >>> create_blind_account alice1 "123456"
create_blind_account alice1 "123456"
3051101ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
"KHC5GGbuvorDcBgZQxrmh6HaW24nvrd2iKraBHXhM7q8hQsgLuWME"

2.set label
unlocked >>> set_key_label KHC5GGbuvorDcBgZQxrmh6HaW24nvrd2iKraBHXhM7q8hQsgLuWME alice1-is-blind
set_key_label KHC5GGbuvorDcBgZQxrmh6HaW24nvrd2iKraBHXhM7q8hQsgLuWME alice1-is-blind
true

3.转账
unlocked >>> transfer_to_blind nathan KHC [[alice1-is-blind,100]] true
transfer_to_blind nathan KHC [[alice1-is-blind,100]] true
3356470ms th_a       wallet.cpp:4372               transfer_to_blind    ] to_amounts: [["alice1-is-blind","100"]]
3356490ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
nathan sent 100 KHC to 1 blinded balance fee: 10 KHC
100 KHC to  alice1-is-blind
  receipt: oPbFDVxX8BEeCLBzmVNuoYfZUvJm1Y1Fozg2t3Mi9hv16PF86xb54ug8K1NcWX5mPHCW5Awa1c9dF79hN9SmijJWA3FwCXu3S6F2JP3exygc5Fd7AJNPKCye8PCvL5tB1e6bQrFkgushLwkyxHWzYJ9Sy7Y2TjFVEGn2Fwi5Ci5nYExXpkj4mDbRns7uLEbT11ZLBBUyG

4.标记
unlocked >>> receive_blind_transfer oPbFDVxX8BEeCLBzmVNuoYfZUvJm1Y1Fozg2t3Mi9hv16PF86xb54ug8K1NcWX5mPHCW5Awa1c9dF79hN9SmijJWA3FwCXu3S6F2JP3exygc5Fd7AJNPKCye8PCvL5tB1e6bQrFkgushLwkyxHWzYJ9Sy7Y2TjFVEGn2Fwi5Ci5nYExXpkj4mDbRns7uLEbT11ZLBBUyG nathan "from nathan"
receive_blind_transfer oPbFDVxX8BEeCLBzmVNuoYfZUvJm1Y1Fozg2t3Mi9hv16PF86xb54ug8K1NcWX5mPHCW5Awa1c9dF79hN9SmijJWA3FwCXu3S6F2JP3exygc5Fd7AJNPKCye8PCvL5tB1e6bQrFkgushLwkyxHWzYJ9Sy7Y2TjFVEGn2Fwi5Ci5nYExXpkj4mDbRns7uLEbT11ZLBBUyG nathan "from nathan"
568539ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
100 KHC  nathan  =>  alice1-is-blind  from nathan

5.获取列表
unlocked >>> get_my_blind_accounts
get_my_blind_accounts
[[
    "alice1-is-blind",
    "KHC5GGbuvorDcBgZQxrmh6HaW24nvrd2iKraBHXhM7q8hQsgLuWME"
  ]
]

6.获取金额
unlocked >>> get_blind_balances "alice1-is-blind"
get_blind_balances "alice1-is-blind"
100 KHC

7.创建第二个blind账户,brain key不能和之前一样
unlocked >>> create_blind_account bobby2 "12345678"
create_blind_account bobby2 "12345678"
1082057ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
"KHC4uSKX66vawhWK9qeEt29GXMPKVCpgbv5ieawzekoPJJhrqiqU8"

8.转账
unlocked >>> blind_transfer alice1 bobby 80 KHC true
blind_transfer alice1 bobby 80 KHC true
1205002ms th_a       wallet.cpp:4270               blind_transfer_help  ] "to_blind_factor": to_blind_factor blind_factor: ff1bd8e74654f550e2a1fe2b54ee12cb437fbe963e1832f65b49aa67c4d2b4dd
1205002ms th_a       wallet.cpp:4273               blind_transfer_help  ] "change_blind_factor": change_blind_factor change_blind_factor: fea65ec9db119d960d663e98b494ad8e89e60c0e5296cf393698b2478511c34b
1205002ms th_a       wallet.cpp:4289               blind_transfer_help  ] "to_out.blind": to_out.blind blind_factor: ff1bd8e74654f550e2a1fe2b54ee12cb437fbe963e1832f65b49aa67c4d2b4dd to_out.commitment: 02191261e77efcd454824d07b6ec5b2cafab7ccd9585c32f2368840bdea47df115
1205015ms th_a       wallet.cpp:4344               blind_transfer_help  ] validate before
1205021ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
1205023ms th_a       wallet.cpp:776                save_wallet_file     ] saving wallet to file my-wallet.json
blind_transfer_operation temp-account fee: 15 KHC
5 KHC to  alice1
  receipt: ygfQB5hDYMynV7QCqzAfwnfkafStfQhd2iNneDLxQ78yqqnAJQ2tzsxQj9355XHPsgvN3R8WMDsxTpDRHoguyERcPkVzGji1i3V7MJUGwxmSyS16xERqwoHBVygwwgKrWk8D7SN9gGRahUeMSXBroKaowCj7bCRx47E7wwWJuXoQixDBvXdfthqEJxmdTEs6VfExwFCeMhi2wHuYUsmKvhMJAzH9ba7KGcfezXZe6gmxFTj7kJXDTF1ZpKJJvCjKFT1d2zwWzWSN

80 KHC to  bobby
  receipt: ygfQB5hDYMynV7QCqzAfwnfkafStfQhd2iNneDLxQ78yqqmgHdwXhAGvikYfk4igjCqzKGZBS1eRg4grmjWPVBZJhQX8Fe69tPR25WRHstbT4Cra1VSKqjHUbkghsoiZT7dycxzmVDPT7HNRxR4VBKnbhNsN9FErMd11cP4gzwoVKKAq9ntSN19ZEaB6y62pyBNPTmQ2oB4gH5f3x1B8pH2xUusHDHs8N1XLbJTjKTgudFGaaXfZCBdmB9bQDq569obtikNf5h7v


分享到:
评论

相关推荐

    matlab-files.rar_Oversampling ofdm_blind slm ofdm_slm_slm ofdm_s

    Here SLM techniques for PAPR reduction in ofdm also concept of Oversampling in SLM. Blind SLM technique also here. so i hope my account active after this submission.

    英语六级常用词组+词汇(推荐).doc

    4. account for - 解释,说明原因;也用在统计中表示占的比例。 5. abstain from - 戒除,放弃某种行为或习惯。 6. put on an act - 装腔作势,假装。 7. be addicted to - 沉迷于,对某事物有依赖性。 8. adjacent ...

    Modern Mathematics and Applications in Computer Graphics and Vision 英文原版

    you are a believer of the saying “A mathematician is a blind man in a dark room looking for a black cat which is not there”, probably this book is not for you. You should consider returning the book...

    英语常用四六级英语词汇词组

    - **知识点:**本句涵盖了“人们似乎没有考虑到”(people seem to fail to take into account)、“教育不仅仅止于毕业”(education does not end with graduation)等表达。 - **应用场景:**可用于教育话题...

    考研英语写作整体模式

    8. The main (obvious/great) problem (flaw/drawback) with (in) this argument (view/remark) is that it is ignorant of (blind to) the basic (bare) fact that... 9. It would be possible (natural/reasonable...

    考研英语180必背作文句

    > People seem to fail to take into account the fact that education does not end with graduation. **解析:** 这句话通过“人们似乎未能考虑到”这样的结构引出了一个重要的事实,即教育并非随着毕业而终止。...

    高中英语选修建议信PPT学习教案.pptx

    6. **必备词汇**:了解与无障碍设施相关的英文词汇,如“cultural square”(文化广场)、“slope”(坡道)、“wheelchair”(轮椅)、“sidewalks for the blind”(盲道)、“disabled people”(残疾人)、...

    英语四级作文好词好句.doc

    36. **… is bound to generate severe consequences, if we keep turning a blind eye to them**:如果我们继续对…视而不见,它肯定会带来严重的后果,警示忽视问题的后果。 37. **In view of the seriousness of ...

    2010年考研英语写作常用句型

    5. "The main/obvious problem with this argument is that it is blind to the basic fact that……"强调论证中存在的主要问题。 6. "It would be natural/reasonable to think that……, but it would be absurd ...

Global site tag (gtag.js) - Google Analytics