摘要:一首先從網(wǎng)上下載代碼導(dǎo)入公鑰并驗證源碼簽名,命令如下二對代碼進行安裝,命令如下三安裝完畢之后,我們可以在終端中輸入如下命令來查看幫助的信息如下運行運行守護程序使用一個未使用過的地址創(chuàng)建一個付款請求
一、首先從網(wǎng)上下載代碼、導(dǎo)入gpg公鑰并驗證源碼簽名,命令如下:
wget https://raw.githubusercontent...
gpg --import ThomasV.asc
wget https://download.electrum.org...
wget https://download.electrum.org...
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
三、安裝完畢之后,我們可以在終端中輸入如下命令來查看幫助:
electrum -h
return的信息如下:
gui Run GUI (default) ---運行GUI daemon (start) Run Daemon ---運行守護程序 addrequest Create a payment request, using the first unused address of the wallet ---使用一個未使用過的地址創(chuàng)建一個付款請求 addtransaction Add a transaction to the wallet history ---向錢包歷史中添加一條交易 broadcast Broadcast a transaction to the network ---向網(wǎng)絡(luò)廣播一條交易 clearrequests Remove all payment requests ---移除全部的付款請求 commands List of commands ---命令列表 create Create a new wallet ---創(chuàng)建一個新的錢包 createmultisig Create multisig address ---創(chuàng)建多重簽名的地址 createnewaddress Create a new receiving address, beyond the gap limit of the wallet ---創(chuàng)建一個新的接收地址,超出了錢包的XX限制 decrypt Decrypt a message encrypted with a public key ---解密使用公鑰加密的信息 deserialize Deserialize a serialized transaction ---反序列化一個序列化的交易 dumpprivkeys Deprecated ---已經(jīng)廢棄 encrypt Encrypt a message with a public key ---使用公鑰加密一條信息 freeze Freeze address ---凍結(jié)地址 getaddressbalance Return the balance of any address ---返回任何地址的余額 getaddresshistory Return the transaction history of any address ---返回任何地址的交易歷史 getaddressunspent Returns the UTXO list of any address ---返回任何地址的UTXO列表 getalias Retrieve alias ---檢索別名 getbalance Return the balance of your wallet ---返回錢包的余額 getconfig Return a configuration variable ---返回配置變量 getfeerate Return current optimal fee rate per kilobyte, according to config settings (static/dynamic) ---根據(jù)配置信息,返回當前最優(yōu)費率 getmasterprivate Get master private key ---獲取master私鑰 getmerkle Get Merkle branch of a transaction included in a block ---獲取包含在一個區(qū)塊中的一筆交易的默克爾樹 getmpk Get master public key ---獲取master公鑰 getprivatekeys Get private keys of addresses ---獲取地址的私鑰 getpubkeys Return the public keys for a wallet address ---返回一個錢包地址的公鑰 getrequest Return a payment request ---返回一個付款請求 getseed Get seed phrase ---獲取種子 getservers Return the list of available servers ---返回可用的服務(wù)器列表 gettransaction Retrieve a transaction ---檢索一筆交易 getunusedaddress Returns the first unused address of the wallet, or None if all addresses are used ---返回錢包中第一個未使用的地址,如果都在使用則返回空 help history Wallet history ---錢包歷史 importprivkey Import a private key ---導(dǎo)入私鑰 is_synchronized return wallet synchronization status ---返回錢包的同步狀態(tài) ismine Check if address is in wallet ---檢查地址是否在錢包中 listaddresses List wallet addresses ---錢包中的地址列表 listcontacts Show your list of contacts ---顯示聯(lián)系人列表 listrequests List the payment requests you made ---發(fā)出的付款請求列表 listunspent List unspent outputs ---未使用的輸出列表 make_seed Create a seed ---創(chuàng)建種子 notify Watch an address ---觀察一個地址 password Change wallet password ---更改錢包密碼 payto Create a transaction ---創(chuàng)建一筆交易 paytomany Create a multi-output transaction ---創(chuàng)建一筆多輸出交易 restore Restore a wallet from text ---從文本中還原恢復(fù)錢包 rmrequest Remove a payment request ---移除一個付款請求 searchcontacts Search through contacts, return matching entries ---搜索聯(lián)系人,返回匹配的條目 serialize Create a transaction from json inputs ---從JSON輸入創(chuàng)建一筆交易 setconfig Set a configuration variable ---設(shè)置配置變量 setlabel Assign a label to an item ---為一個項目分配標簽 signmessage Sign a message with a key ---使用key給一條信息簽名 signrequest Sign payment request with an OpenAlias ---使用OpenAlias給付款請求簽名 signtransaction Sign a transaction ---為一筆交易簽名 sweep Sweep private keys ---清除私鑰 unfreeze Unfreeze address ---解除凍結(jié)地址 validateaddress Check that an address is valid ---檢驗一個地址是否有效 verifymessage Verify a signature ---驗證簽名 version Return the version of Electrum ---返回Electrum 的版本 optional arguments: -h, --help show this help message and exit ---顯示幫助信息并退出 global options: -v, --verbose Show debugging information ---顯示調(diào)試信息 -D ELECTRUM_PATH, --dir ELECTRUM_PATH electrum directory ---Electrum目錄 -P, --portable Use local "electrum_data" directory ---Electrum 的本地目錄 -w WALLET_PATH, --wallet WALLET_PATH wallet path ---錢包路徑 --testnet Use Testnet ---使用測試網(wǎng)絡(luò) --regtest Use Regtest ---使用本地測試網(wǎng)絡(luò) Run "electrum help" to see the help for a command
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://www.ezyhdfw.cn/yun/42123.html