Created
November 4, 2023 18:07
-
-
Save guilledk/b7d492b3067b327f37a17e8e26cc0ee2 to your computer and use it in GitHub Desktop.
This file contains 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
# initialize main class and point to telos node | |
cleos = CLEOS(url=f'https://mainnet.telos.net') | |
# import private key related to account_name | |
cleos.import_key(account_name, private_key) | |
# transfer from account_name to recipient 1.0000 TLOS with custom memo | |
cleos.transfer_token(account_name, recipient, '1.0000 TLOS', memo='Hello py-leap!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment