Skip to content

Instantly share code, notes, and snippets.

@guilledk
Created November 4, 2023 18:07
Show Gist options
  • Save guilledk/b7d492b3067b327f37a17e8e26cc0ee2 to your computer and use it in GitHub Desktop.
Save guilledk/b7d492b3067b327f37a17e8e26cc0ee2 to your computer and use it in GitHub Desktop.
# 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