TRANSACTION_ID = "5ec2547c7aece45af6b4b97fabcc42cb6b1ecfa9c7d30a0b3c4655888284b1bd" # Sender 12 word mnemonic SENDER_MNEMONIC = "indicate warm sock mistake code spot acid ribbon sing over taxi toast" # Recipient Bytom public key RECIPIENT_PUBLIC_KEY = "3e0a377ae4afa031d4551599d9bb7d5b27f4736d77f78cac4d476f0ffba5ae3e" # Bytom fund asset id ASSET = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" # Bytom fund amount AMOUNT = 10_000 print("=" * 10, "Sender Bytom Account") # Initializing Bytom sender wallet sender_wallet = Wallet(network=NETWORK) # Initializing Bytom wallet from mnemonic sender_wallet.from_mnemonic(mnemonic=SENDER_MNEMONIC) # Getting sender wallet information's sender_seed = sender_wallet.seed() print("Sender Seed:", sender_seed) sender_xprivate_key = sender_wallet.xprivate_key() print("Sender XPrivate Key:", sender_xprivate_key) sender_xpublic_key = sender_wallet.xpublic_key() print("Sender XPublic Key:", sender_xpublic_key) sender_expand_xprivate_key = sender_wallet.expand_xprivate_key() print("Sender Expand XPrivate Key:", sender_expand_xprivate_key) sender_private_key = sender_wallet.private_key() print("Sender Private Key:", sender_private_key) sender_public_key = sender_wallet.public_key() print("Sender Public Key:", sender_public_key) sender_program = sender_wallet.program() print("Sender Program:", sender_program)
TRANSACTION_ID = "5ec2547c7aece45af6b4b97fabcc42cb6b1ecfa9c7d30a0b3c4655888284b1bd" # Recipient 12 word mnemonic RECIPIENT_MNEMONIC = "hint excuse upgrade sleep easily deputy erase cluster section other ugly limit" # Sender Bytom public key SENDER_PUBLIC_KEY = "91ff7f525ff40874c4f47f0cab42e46e3bf53adad59adef9558ad1b6448f22e2" # Bytom fund asset id ASSET = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" # Bytom fund amount AMOUNT = 10_000 print("=" * 10, "Recipient Bytom Account") # Initializing Bytom recipient wallet recipient_wallet = Wallet(network="mainnet") # Initializing Bytom wallet from mnemonic recipient_wallet.from_mnemonic(mnemonic=RECIPIENT_MNEMONIC) # Getting recipient wallet information's recipient_seed = recipient_wallet.seed() print("Recipient Seed:", recipient_seed) recipient_xprivate_key = recipient_wallet.xprivate_key() print("Recipient XPrivate Key:", recipient_xprivate_key) recipient_xpublic_key = recipient_wallet.xpublic_key() print("Recipient XPublic Key:", recipient_xpublic_key) recipient_expand_xprivate_key = recipient_wallet.expand_xprivate_key() print("Recipient Expand XPrivate Key:", recipient_expand_xprivate_key) recipient_private_key = recipient_wallet.private_key() print("Recipient Private Key:", recipient_private_key) recipient_public_key = recipient_wallet.public_key() print("Recipient Public Key:", recipient_public_key) recipient_program = recipient_wallet.program() print("Recipient Program:", recipient_program)