Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

How to send USDT (with memo/without) on the TON network (Python).

Translated13 USD

  1. 135    11  0
    1 day13 USD

    Поскольку TON является отдельной блокчейн-сетью, для её использования потребуется доступ к TonLib или другим библиотекам для взаимодействия с сетью TON

    ______

    pip install tonclient-py

    ______

    from tonclient.client import TonClient, DEVNET_BASE_URLS
    from tonclient.types import ClientConfig, WalletTransfer

    # Настройка клиента для сети TON (devnet для тестов или mainnet для основной сети)
    client = TonClient(config=ClientConfig(network={'server_address': DEVNET_BASE_URLS}))

    # Приватный ключ отправителя
    private_key = "ваш приватный ключ"

    # Адрес кошелька отправителя и получателя
    sender_address = "адрес отправителя"
    receiver_address = "адрес получателя"

    # Сумма отправки (в nanoTON)
    amount = 1 * 10**9 # 1 TON

    # Если необходимо использовать memo
    memo = "Мемо для транзакции" # Мемо может быть пустым

    # Создание и отправка транзакции
    def send_transaction(sender_address, receiver_address, amount, memo):
    try:
    # Создаем транзакцию с memo или без него
    transaction = WalletTransfer(
    dest=receiver_address,
    amount=amount,
    message=memo,
    bounce=False
    )

    # Подписываем и отправляем транзакцию
    client.wallet.send_transfer(sender_address, private_key, transaction)
    print(f"Транзакция отправлена на адрес {receiver_address}, сумма: {amount / 10**9} TON")

    except Exception as e:
    print(f"Ошибка при отправке транзакции: {e}")

    # Вызов функции отправки
    send_transaction(sender_address, receiver_address, amount, memo)

    # Завершаем работу клиента
    client.close()

  2. 1 proposal concealed

Current freelance projects in the category Python

Development of software for managing iPhone via USB cable from PC

223 USD

A program needs to be developed for Windows that allows connecting a jailbroken iPhone via USB cable and controlling it from a computer. Main functionality: Connecting the iPhone via USB. The program should quickly recognize the connected iPhone and operate through the cable…

C & C++Python ∙ 5 hours 15 minutes back ∙ 10 proposals

BuzzPost automation for Facebook in Israel

The project already exists and it works - the task is to solve the issue of Facebook restrictions when the number of posts per hour exceeds 3-4 (from 7 AM to 12 AM), client accounts are restricted by Facebook. Website - https://buzzpost.co.il/ Also, look for loopholes in the…

PythonCustomer Support ∙ 1 day 1 hour back ∙ 12 proposals

Creation of a TikTok farm with income generation

601 USD

Looking for a person who can write software for a TikTok farm, so we can generate traffic and earn income. We are seeking a ready-made solution with a full cycle.

PythonBot Development ∙ 3 days 20 hours back ∙ 16 proposals

AI Commenting Platform for TikTok and Instagram.

Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:…

AI & Machine LearningPython ∙ 5 days 3 hours back ∙ 23 proposals

Build a customer classification model

1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python.

AI & Machine LearningPython ∙ 6 days 22 hours back ∙ 46 proposals

Client
Vitaly K.
Ukraine Kremenets  2  0
Project published
1 year back
131 views