导入gpg公钥并验证源码签名:
wget https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc
gpg --import ThomasV.asc
wget https://download.electrum.org/3.1.3/Electrum-3.1.3.tar.gz.asc
wget https://download.electrum.org/3.1.3/Electrum-3.1.3.tar.gz
gpg --verify Electrum-3.1.3.tar.gz.asc Electrum-3.1.3.tar.gz
安装:
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
sudo pip3 install Electrum-3.1.3.tar.gz
控制台命令:
不包含找零地址
listaddresses(True)
全部地址
listaddresses(False)
wallet.get_receiving_addresses()
生成找零地址:
for i in range(0, 100): wallet.create_new_address(True)
生成接收地址:
for i in range(0, 100): wallet.create_new_address(True)
#修改默认启动时地址显示数量
wallet.gap_limit
wallet.change_gap_limit(10)
wallet.storage.write()
#生成助词词,默认12个词,132bit
make_seed()
#24个词
make_seed(264)
命令行使用,使用命令时不要启动gui窗口:
electrum help
electrum help make_seed
electrum make_seed --nbits 264
一篇关于electrum seed生成的源码分析:
https://steemit.com/programming/@profitgenerator/electrum-bitcoin-wallet-code-audit