Created
September 20, 2017 07:05
-
-
Save simform-solutions/145c1f4e288114b1322d6991d1e36a9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Takes the prepared transaction data and sends it to the IOTA node for attaching itto the tangle | |
def send_transfer(prepared_transferes): | |
print("Sending transfer, this can take a while...") | |
change_addy = bytes(get_deposit_address()) | |
api = Iota(iota_node, seed) | |
api.send_transfer( | |
depth=7, | |
transfers=prepared_transferes, | |
change_address=change_addy, | |
min_weight_magnitude=18 | |
) | |
print("Transaction compleated!") | |
# Not yet implemented | |
def replay_transaction(): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment