Apply suggestions from code review

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Wo Jake
2022-11-17 18:05:11 +08:00
committed by GitHub
parent ad13aa01dc
commit efbca1d282
3 changed files with 4 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ sudo apt-get install python3.8 python3-pip
pip install -r requirements.txt
```
4. Edit line 47 @ `relay-transaction.py` and insert the signed transaction blob
4. Edit line 47 @ `relay-transaction.py` and insert the signed transaction blob from scanning the QR code Machine 1 generated.
5. Run `relay-transaction.py`

View File

@@ -214,7 +214,8 @@ if ask == 4:
openimg = Image.open(get_path("/Wallet/public.png"))
openimg.show()
print("Re-run this script!")
print("Finished generating an account.")
print("Please scan the QR code on your phone and use https://test.bithomp.com/faucet/ to fund the account.\n After that, re-run this script to use this account and credentials!")
if __name__ == '__main__':

View File

@@ -34,7 +34,7 @@ def send_transaction(transaction_dict):
tx_xrp_amount = int(tx.result['Amount']) / 1000000
tx_account = tx.result['Account']
print(f"\n XRPL Explorer: https://livenet.xrpl.org/transactions/{tx_hash}"
print(f"\n XRPL Explorer: https://testnet.xrpl.org/transactions/{tx_hash}"
f"\n Transaction Hash: {tx_hash}"
f"\n Transaction Destination: {tx_destination}"
f"\n Transacted XRP: {tx_xrp_amount}"