Write a script for computing on the CUDA/OpenCL GPU
Trx... and end on...Btr.Next, the generation of addresses is launched, and the addresses will be generated until the address matching the mask is generated, here is such an address with its private key and you need to save it in the block.The mask can also be either at the end or only at the beginning.And not necessarily three characters, it can be any number of characters.
Our job is to start this process on a video card.What would it be done at least 100 million times a second and compared to a mask?
At the start of the program, you need to use a mask.For example, I need what to generate an address that will begin with
Trx... and end on...Btr.Next, the generation of addresses is launched, and the addresses will be generated until the address matching the mask is generated, here is such an address with its private key and you need to save it in the block.The mask can also be either at the end or only at the beginning.And not necessarily three characters, it can be any number of characters.
Есть скрипт на Python, генерирующий адрес TRON и приватный ключ к нему. В скрипте используются библиотеки keccak, base58 и ecdsa - которые работают на CPU.
Необходимо переписать этот скрипт на C/C++, и заменить эти библиотеки на их аналоги для C/C++ работающие на GPU, для того что бы можно было генерировать адреса быстрее.
Важно, что бы все функции выполнялись на GPU, потому то что если хотя бы одна будет выполняться на процессоре, тогда весь скрипт будет работать медленно.
Так же нужно добавить сохранение ключа если он совпал по маске.
Ожидаемое количество сгенерированных адресов от 100 миллионов в секунду. Аналогичный софт для генерации биткоин адреса и ключа - делает 1,5 миллиарда генераций в секунда на видеокарте RTX3090.
Алгоритмы похожи, поэтому 100 миллионов - очень реальная цифра. Можно использовать его (софт для генерации биткоин адреса) в качестве основы (он написан на C++).
По сути вот на этой странице расписан весь процесс создания от приватного ключа до публичного адреса. Все шаги описаны. https://secretscan.org/PrivateKeyTron
Наша же задача запустить этот процесс на видеокарте. Что бы это делалось хотя бы 100 млн раз в секунду и сравнивалось с маской
При запуске программы нужно вводить маску. Например, мне нужно что бы сгенерировался адрес который будет начинаться на
Trx... и заканчиваться на ...Btr. Далее запускается генерация адресов, и адреса будут генерироваться до тех пор, пока не сгенерируеся адрес совпадающий по маске, вот такой адрес с его приватным ключем и нужно сохранить в блокнот.
Маска может быть также либо только в конце, либо только в начале. И не обязательно по три символа, может быть любое количество символов.
1 .Generate a 256 bit number
2ndConvert it into a 64-bit sixteen-digit number is a private key.
4bab7b96b3b1c32b25cecaa5ad9085583825ad80a09a9c9cb2868312d45021fa
ThreePrivate key through ECDSA - Uncompressed Public Key 130 characters, ECDSA(private key), 04 + x + y
0464cacdda6201760bb6280c04654206b3be88ac8b93ff4d3b5666d369f76306986bc442243496ff30c3873328611dcf0d2ee043030648bc4e185801916fed53
4 .We are going to 04
64cacdda6201760bb6280c04654206b3be88ac8b93ff4d3b5666d369f76306986bc442243496ff30c3873328611dcf0d2ee043030648bc4e185801916fed53
and 5.We continue through keccak256
f92da974c6f15ee4bab0e4aad86b366ec4de84a23379d1e66a08b81a3b877535
6 .The last 40 characters.
d86b366ec4de84a23379d1e66a08b81a3b877535
7 .Add to “41”
41d86b366ec4de84a23379d1e66a08b81a3b877535
8 .The SHA-256 hash
d50023502bbf3f123f0b53a2503a903c60fefabb0ef6c08ec229359edd40cc95
The 9.The SHA-256 hash.
e7214af804c9039181f51c3616502e9a248098d776b5e6d022a7d523c8570f4d
The 10.The first 8 symbols
by e7214af8
11 of 11.At the end, add the control amount to step 7
41d86b366ec4de84a23379d1e66a08b81a3b877535e7214af8
12 .We go through base58 and we get the TRON address.
TVhXPkwJKqcsk9kEyfeRre2YaCoPgfrBMZ
This page is a work example of https://secretscan.org/PrivateKeyTron
Our task is to do this process on a video card to do it as quickly as possible.The received TRON address to be compared with the task at the start of the mask, and if it coincides then save the address and private key to it in the text document.
Процесс создания приватного ключа и адреса TRON
1. Сгенерировать 256 битное число
2. Конвертировать его в 64 битное шестнадцатиричное число - это и есть приватный ключ
4bab7b96b3b1c32b25cecaa5ad9085583825ad80a09a9c9cb2868312d45021fa
3. Провести приватный ключ через ECDSA - Uncompressed Public Key 130 characters, ECDSA(private key), 04 + x + y
0464cacdda6201760bb6280c04654206b3be88ac8b93ff4d3b5666d369f76306986bc442243496ff3030c3873328611dcf0d2ee043030648bc4e185801916fed53
4. Отбрасываем спереди 04
64cacdda6201760bb6280c04654206b3be88ac8b93ff4d3b5666d369f76306986bc442243496ff3030c3873328611dcf0d2ee043030648bc4e185801916fed53
5. Далее проводим через keccak256
f92da974c6f15ee4bab0e4aad86b366ec4de84a23379d1e66a08b81a3b877535
6. Берем последние 40 символов
d86b366ec4de84a23379d1e66a08b81a3b877535
7. Спереди добавляем "41"
41d86b366ec4de84a23379d1e66a08b81a3b877535
8. Проводим через SHA-256 hash
d50023502bbf3f123f0b53a2503a903c60fefabb0ef6c08ec229359edd40cc95
9. Еще раз проводим через SHA-256 hash
e7214af804c9039181f51c3616502e9a248098d776b5e6d022a7d523c8570f4d
10. Контрольная сумма первые 8 символов
e7214af8
11. В конце добавляем контрольную сумму к шагу 7
41d86b366ec4de84a23379d1e66a08b81a3b877535e7214af8
12. Проводим через base58 и у нас получается адрес TRON
TVhXPkwJKqcsk9kEyfeRre2YaCoPgfrBMZ
На этой странице рабочий пример https://secretscan.org/PrivateKeyTron
Наша задача, делать этот процесс на видеокарте, что бы делать это максимально быстро. Полученный адрес TRON сравнивать с заданной при запуске маской, и если он совпадает то сохранять адрес и приватный ключ к нему в текстовый документ
Applications 1
-
453 5 0 Can you look at the script that works on the CPU? It may be possible to perform calculations by PyTorch on the CUDA nuclei.
-
Какой спектр видеокарт должен поддерживаться?
-
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 4 days 23 hours back ∙ 5 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 5 days 5 hours back ∙ 14 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 9 days 12 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 12 days 14 hours back ∙ 8 proposals |
Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500… C & C++, Embedded Systems & Microcontrollers ∙ 13 days 14 hours back ∙ 5 proposals |