<commit_before>from stellar_base.builder import Builder

alice_seed = '<KEY>'
bob_address = 'GB<KEY>FDYIATZZ3F3XQ7SOQ5PXLVQMDSOI5ACEE'

horizon_uri = 'https://horizon-testnet.stellar.org'  # testnet horizon
# horizon_uri = 'https://horizon-testnet.stellar.org' # public horizon
network = 'TESTNET'  # for test network
# network = 'PUBLIC' # for public network

builder = Builder(secret=alice_seed, horizon_uri=horizon_uri, network=network) \
    .add_text_memo("Buy yourself a beer!") \
    .append_payment_op(destination=bob_address, asset_code='XLM', amount='10.5') \
    .append_set_options_op(home_domain='fed.network')

builder.sign()  # signed by alice
response = builder.submit()  # send it to horizon
print(response)<commit_msg>chore: fix the incorrect url in the example.<commit_after>from stellar_base.builder import Builder

alice_seed = '<KEY>'
bob_address = 'GB<KEY>IOUICFDYIATZZ3F3XQ7SOQ5PXLVQMDSOI5ACEE'

horizon_uri = 'https://horizon-testnet.stellar.org'  # testnet horizon
# horizon_uri = 'https://horizon.stellar.org' # public horizon
network = 'TESTNET'  # for test network
# network = 'PUBLIC' # for public network

builder = Builder(secret=alice_seed, horizon_uri=horizon_uri, network=network) \
    .add_text_memo("Buy yourself a beer!") \
    .append_payment_op(destination=bob_address, asset_code='XLM', amount='10.5') \
    .append_set_options_op(home_domain='fed.network')

builder.sign()  # signed by alice
response = builder.submit()  # send it to horizon
print(response)
{'fraction_non_alphanumeric': 0.12333333333333334, 'fraction_numerical': 0.010666666666666666, 'mean_word_length': 5.700892857142857, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5552121', 'n_tokens_mistral': 534, 'n_tokens_neox': 518, 'n_words': 104}