Block_chain_account

Gitter

Block_account 来源于Bitcoin账户体系:

①:生成区块链账户(包含,比特币、区块链等)

②:由助记词生成私钥,支持多账户导入功能开发

③:更多有趣功能,有待探索,欢迎留言交流~

使用说明

一、linux下,cli 使用 案例

1、git clone https://github.com/fomo3d-wiki/block_chain_account.git

2、cd block_chain_account/cli

3、php run.php -c account -f decodeAllMnemonic

二、浏览器下,http 使用 案例

1、git clone https://github.com/fomo3d-wiki/block_chain_account.git

2、配置服务路径 root 为 “你的路径+/block_chain_account/cli”

3、http://你的host:端口/run.php?c=account&f=decodeAllMnemonic

结果如下

'seed':4ed8d4b17698ddeaa1f1559f152f87b5d472f725ca86d341bd0276f1b61197e21dd5a391f9f5ed7340ff4d4513aab9cce44f9497a5e7ed85fd818876b6eb402e

'root_key':["xprv9s21ZrQH143K3YUh5Kfg6XMGDtX27keoSC2YCe9KEbAqfmoqWFqpaXU4ZmdGsvNmzsxyQf5SAc118mbZGk2Hicx4y35mm1ZF8dBPEgRF7TV","m"]

'ex_private_key':["xprvA3wiR1m7E8S9yf9HqqTFk16omAQLsUD3GCcUpvNuczEcsN4PcuCcNkRqvCZuN5EjpMa46HZo2uDKv7VeSom9zQSwKmK2eToSkyeaBu2f3Yv","m/44'/60'/0'/0/0"]

'account':{"public_key":"0x02cf1da40f78c2090ce8b2df9795bc121e7fe0776a827c5f7b43e1e56f9511f745","private_key":"0xabf82ff96b463e9d82b83cb9bb450fe87e6166d4db6d7021d0c71d7e960d5abe","address":"0x959fd7ef9089b7142b6b908dc3a8af7aa8ff0fa1"}

Code of Conduct

We aim to share our knowledge and findings as we work daily to improve our product, for our community, in a safe and open space. We work as we live, as kind and considerate human beings who learn and grow from giving and receiving positive, constructive feedback. We reserve the right to delete or ban any behavior violating this base foundation of respect.

Donations

I do this because I love it, but if you want to buy me a coffee, I won't say no. :o)

Ethereum: 0x104F8FE69dF59fe4c27dd487779D49A9Ec5caCC9

License

Completely MIT Licensed. Including ALL dependencies.

If you love or like it !Please jion us!

邮件:lucklidi@126.com,微信ID:adi1427569517

如感兴趣,请直接加入:

or you can scan it

Image text