Bitcoin

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(wallet)
第1行: 第1行:
 
== wallet ==
 
== wallet ==
 +
 +
=== bitaddress.org ===
 +
 +
https://github.com/pointbiz/bitaddress.org
 +
 +
推荐使用 bitaddress.org 离线生成公钥私钥对 (钱包),选 'Paper Wallet',勾上 'BIP38 Encrypt',Passphrase 框内输入密码, 方便说明我们用 'mypasswd' 作为密码:
 +
 +
[[文件:Bitcoin-paper-wallet.png]]
 +
 +
 +
<source lang=bash>
 +
 +
</source>
 +
 +
 +
<source lang=bash>
 +
 +
</source>
 +
 +
<br>
 +
 +
=== pycoin ===
  
 
<source lang=bash>
 
<source lang=bash>
第42行: 第64行:
 
  corresponding p2sh script  : 0014decb30575edcbd280cb739d03631c41d714b1a42
 
  corresponding p2sh script  : 0014decb30575edcbd280cb739d03631c41d714b1a42
 
</source>
 
</source>
 
<br>
 
 
=== bitaddress.org ===
 
 
https://github.com/pointbiz/bitaddress.org
 
 
推荐使用 bitaddress.org 离线生成公钥私钥对 (钱包),选 'Paper Wallet',勾上 'BIP38 Encrypt',Passphrase 框内输入密码, 方便说明我们用 'mypasswd' 作为密码:
 
 
[[文件:Bitcoin-paper-wallet.png]]
 
 
 
<source lang=bash>
 
 
</source>
 
 
 
<source lang=bash>
 
 
</source>
 
 
  
 
<br><br>
 
<br><br>

2018年1月11日 (四) 19:40的版本

目录

1 wallet

1.1 bitaddress.org

https://github.com/pointbiz/bitaddress.org

推荐使用 bitaddress.org 离线生成公钥私钥对 (钱包),选 'Paper Wallet',勾上 'BIP38 Encrypt',Passphrase 框内输入密码, 方便说明我们用 'mypasswd' 作为密码:

Bitcoin-paper-wallet.png






1.2 pycoin

comcat@xps15:/work/coin$ sudo pip install pycoin
comcat@xps15:/work/coin$ ku create
gpg: directory '/home/comcat/.gnupg' created
gpg: new configuration file '/home/comcat/.gnupg/dirmngr.conf' created
gpg: new configuration file '/home/comcat/.gnupg/gpg.conf' created
gpg: keybox '/home/comcat/.gnupg/pubring.kbx' created

input                        : create
network                      : Bitcoin mainnet
netcode                      : BTC
wallet key                   : xprv9s21ZrQH143K3eYnNZPGPTQxUXz4JUt6ynpeZpSosdw2bevCb3fYvpkxrGYa1K\
                                 iqwZhk4TCmignSa2LL4hmjd8LV9fMpBBXfnipJc8Fkeuw
public version               : xpub661MyMwAqRbcG8dFUavGkbMh2ZpYhwbxM1kFNCrRRyU1UTFM8ayoUd5ShXdnXH\
                                 BdxS2yjxam5kongm9mrF3v3X6oTqJ81cmC99aC3r2udxP
tree depth                   : 0
fingerprint                  : decb3057
parent f'print               : 00000000
child index                  : 0
chain code                   : 9fa72bb56cfe66f1f92a5636b83ec2306a2bf2cbc6d928ab23d504da7bfcf364
private key                  : yes
secret exponent              : 82902340507199256560026235348918883145729502157292179925434486035357787095677
 hex                         : b7490fd92828448238280bad6fce1059b59187771d53683728007c11d3d6027d
wif                          : L3MzbD841KgnsE67LffhhCnGmC9feauGjJaFS9o3CoNiQ5bJ7vjo
 uncompressed                : 5KD1MtgfHqe7KBDVAtoqBvRJcqkCUYhPbWMg4tPDHGVUxan8EML
public pair x                : 86445147116400495678746956661327120328051805207685816234033626146720138134070
public pair y                : 69896803574570377446502361864240867831009585041269668476112443813897322527316
 x as hex                    : bf1e3829cff40657962b9f4199544eb083ff67be3c5e794f269eac9ba9400236
 y as hex                    : 9a8830595266100812bd1caededcc140c2021060ee1564638bc9f664b18a7a54
y parity                     : even
key pair as sec              : 02bf1e3829cff40657962b9f4199544eb083ff67be3c5e794f269eac9ba9400236
 uncompressed                : 04bf1e3829cff40657962b9f4199544eb083ff67be3c5e794f269eac9ba9400236\
                                 9a8830595266100812bd1caededcc140c2021060ee1564638bc9f664b18a7a54
hash160                      : decb30575edcbd280cb739d03631c41d714b1a42
 uncompressed                : ba87314459722b1d9ad4cfd8479f393721bdc290
Bitcoin address              : 1MK2RPrMuzyQkJRNgh5VTJmFamg5BtM7SX
Bitcoin address uncompressed : 1J1Ge1xWz2UfLad8jdpeQWmmS2FvsehBpS
Bitcoin segwit address       : bc1qmm9nq467mj7jsr9h88grvvwyr4c5kxjzxjrc8z
p2sh segwit                  : 38hBYiNxsga98BBEGGiBF3XbwW6Dd4PwHd
 corresponding p2sh script   : 0014decb30575edcbd280cb739d03631c41d714b1a42



2 zcash















个人工具
名字空间

变换
操作
导航
工具箱