AI and Blockchain: The Future of Decentralized Innovation on Steem and TRON [UA/EN]]
ШІ покращує децентралізовані платформи
Роль ШІ в екосистемі децентралізованої платформи надзвичайно важлива. Якщо простіше, то його застосування дозволяє впровадити нові можливості. Які також значно краще й ефективніше виконують завдання, котрі раніше обтяжували людину. Затрати часу та велика кількість даних, не давала відразу реагувати на контент чи надавати обсяги історичних даних, раніше не доступних. Бо банально це все потрібно організовувати в ручному режимі.
Контент і Steemit (STEEM)
Steemit як вебплатформа для взаємодії із блокчейном STEEM: створення контенту, оцінювання, курування та іших аспектів. Не надає зручності, як під час створення та редагування допису, так і під час транснаціональної взаємодії. До того ж конкуруючою перевагою над класичними соціальними мережами, є переважно свобода щодо контенту та винагорода. Організація інформації, вимагає покращення, бо часто цінні й корисні дописи просто десь губляться, бо їх витісняють нові. Звичайно вручну це все робити ніхто не хоче, бо це особистий час за який ніхто не заплатить. Є ж багато цікавіших занять.
Модерування
Модерування на блокчейні має обмеження, адже все публікується без заборон, а прибрати це вже не вийде. Є лише можливість заборонити показ на вебресурсі, щоб убезпечити інших від шкідливої інформації чи образ. Реакція на такі дії буває відсутньою довгий час або не своєчасно. А ШІ може проаналізувати або виконати якісь блокуючі дії на рівні спільноти чи платформи. Вже після репорту на порушення чи відразу.
Безпека
Виявлення в реальному часі різних маніпулятивних дій з боку одного або групи акаунтів. Підсвічування та виявлення вкладених посилань чи файлів на наявність загроз, як-то фішинг, вірусні атаки, накрутку голосів та інше
Перевірка шкідливого або неправомірного вмісту до публікації
Теж важливе питання, щодо завантаження графічного чи це якогось контенту. Чи є на це у людини права й дозволи, як-от буває із додавання скриншотів із онлайн занять дітей чи ще десь де окрім власних дітей чи людей є ще хтось інший. Тож має бути перевірка на наявність дозволів, або автоматичне приховування облич, розповсюдження яких не дозволено. Бо вже опісля, із плином часу, вже не видалити опубліковане фото чи ще щось подібне.
Сюди ж можна віднести різні фейки чи новини, які не розповсюджені через офіційні джерела інформації, котрі загально визнані й пройшли перевірку на адекватність та достовірність. Щоб виключити різного роду жорстоку пропаганду та обман.
Визначення мови ворожнечі.
Тож це можна вилучати до публікації чи не пропускати через наявний вміст, тоді й навантаження на блокчейн буде нижче і інфопростір здоровіший та чистіший.
Психологічна підтримка та заохочення
Наприклад людина має схильність часто писати депресивні дописи й отримувати за це винагороду, що спонукає до продовження. А ШІ може трішки втішити нагадуванням чи порадою, як покращити свій стан і запропонувати змістити увагу на позитивніші речі, де винагорода буде трохи вища або частіше присвоюватись.
Приватна верифікація
На Steemit блокчейну STEEM заведено, та й його молодшого медового брата, проходити верифікацію. Надавши лінки на соціальні мережі, або своїм фото із листком паперу, що не всім підходить. Однак альтернативних не тай то й багато, або їх нікому впроваджувати. Тож ШІ може спокійно проводити персональну верифікацію особи знану як KYC. Зі збереженням приватності, щоб дані не потрапляли до третіх сторін і цілком автоматизовано. Без очікувань та зайвим посвічуванням таблом, якщо є на це потреба чи інші індивідуальні особлисті.
Можливо із застосування криптотокена, типу цифрового криптопаспорта на основі реальних даних особи. Щось подібне є на Binance із назвою BAB токен. Чи розглянути інтеграцію із DID сервісами? Котрі дозволяють педвтердити реальність особи не розкриваючи даних, або певних даних. Щось на кштал Zero-Knowledge Proofs.
Курація та справедлива винагорода із ШІ на Steemit (STEEM)
Платформа Steemit і блокчейн, об'єктивно, зараз проживають не найкращі часи. Як економічно так і розвитку інфраструктури. Принаймні, якщо подивитись на головному сайті Steem та розділ із робробниками, то там деяке запустіння. Посилання переважно ведуть на покинуті сайти які не обслуговуються або із давно не оплаченим хостингом. Виглядає це не дуже презентабельно, а то й підозріло. І якщо ніхто із знайомих не розповів або блогерів. Чи власні дослідження не покажуть, що там все ще щось працює. То заманити користувачів та інвесторів не так вже й просто. Ліквідність SBD вельми низька. Отримати його можна лише на внутрішній біржі, або купити на HTX і просто на нього дивитись. Там ним можна лише торгувати, а не виводити чи заводити. STEEM монета тримається, бо трохи має капіталізацію завдяки фьючерсу.
Одним із видів заохочення "смаколиком" це курування із ШІ в напівручному чи автоматизованому режимі. Це дозволить класифікувати та оцінювати дописи за різними параметрами протягом лічених секунди. І не чекати доки дійде черга з боку груп курування. Сподобається це комусь чи ні. Бо буває просто, що дописи просто не входять у перелік власних уподобань кураторів чи ще чогось.
З чим стикаються новачки? А з тим, що для діяльності на платформі й отримання винагороди потрібно інвестиції або добряче працювати. Мотивації не додуть і одноманітні дописи, які отримують винагороди за "красиві очі", тобто наявність накопиченого ресурсу SteemPower. Звичайно люди щоб його отримати теж довгий час працювали, але більшості це все одно. Особливо на фоні того, що корисна інформація, дійсно потрібна, може буде без уваги. Тоді яка буде мотивація продовжувати свою діяльність. Хіба якщо в першу чергу, діяльнсть ця для власного задоволення від процесу та самовираження.
Що можна зробити для хорошого курування?
- Аналіз та визначення якості та цінності опублікованих матеріалів за різними
параметрами. Із використанням NLP та інших сервісів та моделей:- цінність;
- корисність;
- глибину охоплення.
- сентимент допису та коментарів;
- унікальность;
- відповідність теми до тегів.
Курування на основі цього пунтку й зараз можливо, але потрібно мати знання або довго консультуватись із ШІ, щоб зібрати просту модель на Python і навчити її. А ще оплатити VPS чи запускати із власного ПК. Загалом багато роботи;
- Загальний аналіз профілю акаунту та його взаємодію з іншими, для покращеної
оцінки; - Встановити допустимий рівень:
- ШІ вмісту. Певний відсоток може бути присутній після перекладу, бо бува оригінал чистий, а іншою мовою вже трохи забарвлений, ніби не людина його робила (якщо на пралформі не буде реалізована система автоматичної адаптації до обраної мови).
- подібність до іншого власного матеріалу;
- релевантність до тегів;
- інформативність;
- Регуляція чи фільтація спаму, фейків;
- Інтелектуальне розпізнавання матеріалу, який має визначатись чи не братись до уваги при аналізі, якщо це:
- цитати;
- код;
- інші чутливі символи та їх поєднання, що може вливати на визначення ШІ вмісту;
В цілому робота ШІ та його налаштування досить глибока тема й вимагає спеціальних знань. Тож деякі нюанси із поверхневими знаннями не завжди відомі. Однак ключивими пунктами є саме:
- Підтримка та заохочення хорошого контенту;
- Швидке курування;
- Доступ до якісних матеріалів. Це можна також реалізувати із розробкою інформаційної панелі як на головній сторінці Steemit, так і локально у кожній спільноті окремо. Де релевантні записи, будуть сортуватись, компонуватись та групуватись, щоб був список швидкого доступу і перехід за посиланнями. Також додати опцію, щоб можна було подати пропозицію від користувачів. Чи з боку андміністрації, щоб додати щось до такого списку, лише декількома кліками мишки.
Не аналізом єдиним
Одного аналізу не достатньо, потрібно його ефективно
відкалібрувати, щоб був потрібний результат. А поті на його основі виконувати дії. Тож варто розглянути й механізм виконання курування. Який він буде за участю
ШІ:
- Інформативний - надає лише дані аналізу й, наприклад, формує рейтинговий список найкращих дописів. Звичайно із позначками перевірки, поясненнями (згорнуті для зручності) та рекомендаціями відсотка голосу для акаунту який це робить. Такий список легко гортати й не треба нікуди ходити за посиланнями. А людина в ручному режимі виставляє кураторські голоси (UpVote).
- Напівавтоматичний - як у першому варіанті, але потрібно дати лише згоду
на апвоут певній кількості дописів. - Автоматичний - коли ШІ робить все сам, в тому числі розрахунок % сили
голосу.
Стосовно інформативного й зручного режиму, то в мене було трішки експериментального досвіду. В принципі така зручна панель куруванння чи опція, була б дуже зручна. Коли весь допис загорнуто у спойлер, а видно лише заголовок і потрібні дані про акаунт, включаючи оцінку від ШІ. Щоб переглянути матеріал достатньо одного кліку мишки, щоб його розгорнути й одного щоб згорнути. Тож ніби зручніше, на противагу переходам по новим вкладкам.
Щось таке...
Що в підсумку?
В підсумку, якщо добре навчити, скомпонувати й впровадити пункти із попереднього питання: "Курація із ШІ на Steemit (STEEM)". Є хороша можливість робити автоматизований аналіз матеріалів із показом показників декількох видів показників, які будуть впливати на розрахунок винагороди від акаунту, що ставить UpVote. Тобто сили голосу. Або навіть краще, якщо брати до уваги параметри, що курувати від платформи будуть декілька основних steemcurator. То й для них можна додати загальний розрахунок відносно наявної сили голосу, його вичерпання, часу відведеного на голосування за допис, та кількість дописів. І відповідно до цього, робити балансоване й справедливе голосування.
Сматр-контракти та dApps із ШІ
Багато із того, що ми робимо у звичайному фінансовому житті, можна впровадити у блокчейні за допомогою смарт-контрактів. Щоб також усунути не надійних посередників і взаємодіяти на рівні людина-послуга. Тобто настає заздалегідь прописана умова і тоді відбувається виконання.
ШІ додає багато до ефективності та безпеки.
Ефективність
В першому випадку, це складніша автоматизація із обробкою більшої кількості умов. Котрі базуються як на закладених налаштуваннях, так і використання зовнішньої інформації. На основі чого може коригувати різні параметри, як-то комісія, відсоткові ставки та багато іншого. І навіть прогнозувати деякі події, щоб застосовувати рішення.
Приклад. На одній криптобіржі, пропонують стейкінг STEEM монет під 30%
річних, але ставка плаває відповідно до якихось змін ( мені не відомих). Однак
покласти монети можна не на фіксований період, а як заманеться і забрати їх
у будь-який момент. Сьогодні ставка понад 30%, а згодом вже 15%. Щось змінилось, система врахувала нові дані та відредагувала відсоток. Це велика економія
часу, людського ресурсу та операційних витрат.
Безпека
Другий бік медалі, щоб покращити надійність і безпеку смарт-контрактів. Шляхом аналізу вразливостей і помилок. Проведення аудиту та виявлення різних шахрайський та підозрілих дій. Зазвичай супроводжувані, якоюсь аномалією.
АЕА
AEA - автономні економічні агенти, теж можуть бути актуальні. Розширити функціональність чи впровадити торгового бота для певних завдань. Та й ресурс це значно економить ніж цілісна система AGI.
Нюанси
"Не газуй, бо цеп спаде", і справа не тільки в газові (оплаті за транзакції на блокчейні), а у можливостях впхати ШІ в сам блокчейн. Тож ефективніше й дешевше, коли всі розрахунки проходять off-chain. А сам ШІ лише виконує вузьконаправлені або широкого плану завдання. А це теж саме, що поступово впроваджується скрізь. Тобто аналітика, поради, рішення, прогнози, поведінка ігрових персонажів NPC або прості повторювані дії в іграх чи ще десь. Запобігання шахрайству і багато іншого. Заміна людською діяльності на значно швидшу від цифрового розуму, який працює 24/7. Тож якщо потрібно сотні працівників, щоб обробляти велику кількість інформації, моніторити безпеку і таке інше, то це взяти на себе ШІ (різні моделі за своєю спеціалізацією й завданнями.)
З цього виходить, що все застосування ШІ зводиться до роботи з даними із блокчейну та проєктами побудованими на ньому.
Концептуально це може бути цифровий кабінет. Коли після підключення гаманця,
стають доступні різні розділи із рекомендаціями, прогнозами, голосування.
По основним сферам: DeFi, ігровим, аналітичним, соціальним. Автоматизація певних
процесів та все інше для зручного та ефективного досвіду.
Питання етики та безпеки ШІ в блокчейні
По-перше, дані одна із основ машинного навчання. Як відомо, їх походження має бути юридично чистим. Конфіденційна інформація не передаватись третім сторонам або не використовуватись. Тож з цієї точки зору важливо щоб бони були якісними та без упереджень. Якщо навчена модель буде віддавати комусь перевагу, це не добре й схоже на дискримінацію. Хоча дещо треба фільтрувати. Тож в контексті курування контенту на Steemit, це теж важливе питання. Наприклад, коли котики в пріоритеті, то песики, можуть не доотримувати справедливої винагороди.
По-друге, централізація. Зосередження влади в одних руках чи вузькому колі,
може зачепити питання справедливості. Що може загрожувати контролю блокчейну й
навчальних даних.
По-третє, безпека самого ШІ. Він вразливий, й піддавшись сторонньому
впливу на різних стадіях, може діяти на користь третіх осіб. А це самі дані, код
та інші аспекти. З іншого боку, можна розв'язувати загальні питання, як-то
відстеження транзакцій та виявлення незаконної діяльності.
Торговий бот на основі ШІ на TRON
На S22W2 КриптоАкадемії розглядалась тема "AI and Machine Learning in Cryptocurrency Trading: A Steem/USDT Perspective". Принцип створення торгового бота на TRON аналогічний. Тобто теоретична основа та складова. Бо практичний бік, це не для всіх, якщо брати до уваги особистого програмування на Pyton. Навіть із допомогою ШІ, погляд методів навчання моделі та збору деяких даних, займав достатньо багато часу. А щоб зібрати цілком робочу й стабільну систему, то треба докласти багатенько зусиль. Хоча є і якісь готові рішення, де за певну оплату надається потрібний сервіс.
Тільки є деяка різниця для прямої роботи саме на блокчейні. А саме бот буде складатись із двох частин.
Перша це самі смартконтракти (чи він один) розгорнуті на блокчейні (включно з усіма потрібними процесами). Із прописаними належними параметрами покупки/продажу та всім іншим необхідним.
Друга, набір взаємопов'язаних модулів на мові Python (як це описано в челенджі
за S22W2). Тільки до них іще буде додано два, оди відповідальний за інтеграцію
ШІ із смарконтрактами, щоб була взаємодія. А інший, за відправку сформованих
торгових рішень для виконання через смарт контракт.
На блокчейні будуть виконуватись лише операції смарконтракту. Це значно економить ресурси і є ефективно. Всі обчислення самого бота та аналіз будуть виконуватись поза блокчейном.
На питання: "Як бот виконуватиме угоди, керуватиме ризиками та адаптуватиметься до коливань в режимі реального часу?", можна відповісти наступним чином. Відповідно до навченої моделі та прописаних алгоритмів дій у коді. Тобто це буде реакція на зміну даних. Якщо вони змінюються, то й відповідні дії теж будуть. Для ризиків вкладаються параметри мані менеджменту. По суті для поверхневого більше нічого й додати. Хіба схематична схема складових на зображенні, щоб не дублювати частину із раніше опублікованих матеріалів. А просто показати з чого воно складається, щоб було якесь уявлення. Інші аспекти, то вже великі й обширні пласти даних та навиків, які в мене відсутні. А сама тема потребує глибокого розкриття, що ШІ може пояснити швидше й конструктивніше. Тож ось це для якогось уявлення про загальну цілісність торгового механізму.
Python-модулі (з ШІ, off-chain) | Смарт-контракти (Solidity, on-chain, TRON) |
---|---|
1. market_data_module.py | |
2. analysis_module.py | 1. TradingBot.sol (основний контракт) |
3. trading_automation_module.py | |
4. smart_contract_interaction_module.py | |
5. ai_model_interaction_module.py | |
6. monitoring_module.py | |
7. config_module.py | |
8. error_handling_module.py |
В результаті маємо основні складові:
- ШІ комплекс off-chain, виконує всю роботу й передає команди смарт-контракту;
- Смартконтракт on-chain, виконує торгові команди ШІ бота;
- Оракул - вводить зовнішні дані до смарконтракту. Тож бот може працювати без
нього, якщо у смар-контракті прописаних умов для перевірки узгодження операцій
реальними даними. Свого роду додаткової перевірки.
EN translated by AI |
---|
AI Enhances Decentralized Platforms
The role of AI in the decentralized platform ecosystem is incredibly
important. Simply put, its application allows for the introduction of new
capabilities that also perform tasks much better and more efficiently, tasks that previously burdened humans. Time constraints and large amounts of data made it impossible to immediately react to content or provide volumes of historical data that were previously unavailable, because, quite simply, all of this needed to be organized manually.
Content and Steemit (STEEM)
Steemit, as a web platform for interacting with the STEEM blockchain creating content, rating, curating, and other aspects does not provide convenience either during post creation and editing or during transnational interaction. Moreover, its competitive advantage over traditional social networks is primarily freedom of content and rewards. The organization of information needs improvement, because often valuable and useful posts simply get lost, as they are displaced by new ones. Of course, no one wants to do all of this manually, because it's personal time for which no one will pay. There are many more interesting things to do.
Moderation
Moderation on the blockchain has limitations, since everything is published without restrictions, and removing it is no longer possible. There is only the option to disable display on the web resource to protect others from harmful information or insults. The response to such actions is often absent for a long time or untimely. AI can analyze or perform some blocking actions at the community or platform level, either after a report of a violation or immediately.
Security
Real-time detection of various manipulative actions by one or a group of accounts, highlighting and detection of embedded links or files for the presence of threats, such as phishing, viral attacks, vote manipulation, and others.
Verification of Harmful or Illegal Content Before Publication
This is also an important issue, because few people consider the minor details regarding the uploading of graphic or other content -- whether the person has the rights and permissions for it. This is often the case with adding screenshots from online children's classes, or other places where, in addition to their own children or acquaintances, there are other people. Therefore, there should be a check for the availability of permissions, or automatic hiding of faces, the distribution of which is not allowed, because afterwards, over time, it will no longer be possible to delete a published photo or something similar.
This also includes various fakes or news that are not distributed through official sources of information that are generally recognized and have been checked for adequacy and reliability, in order to exclude various kinds of cruel propaganda and deception.
Detection of hate speech.
So, this can be removed before publication or not allowed through due to the existing content. This will reduce the load on the blockchain and the information space will be healthier and cleaner.
Psychological Support and Encouragement
For example, a person tends to often write depressing posts and receive
rewards for it, which encourages them to continue. AI can provide a little comfort with a reminder or advice on how to improve their condition, and suggest shifting attention to more positive things, where the reward will be slightly higher or awarded more often.
Private Verification
On Steemit, on the STEEM blockchain, it is customary, and also for its younger honey brother, to go through verification by providing links to social networks or their photo with a piece of paper, which is not suitable for everyone. However, there aren't many alternatives, or there's no one to implement them. So, AI can easily conduct personal verification of a person, known as KYC, while maintaining privacy, so that data does not
fall into the hands of third parties, and fully automated, without waiting and unnecessary showing of one's face, if there is a need for this or other individual peculiarities.
Possibly with the use of a crypto token, like a digital crypto passport based on real personal data. Something similar exists on Binance called a BAB token, or consider integration with DID services, which allow you to prove the reality of a person without disclosing data or certain data, something like Zero-Knowledge Proofs.
Curation and Fair Rewards with AI on Steemit (STEEM)
The Steemit platform and blockchain, objectively, are currently going through not the best of times, both economically and in terms of infrastructure development. At least, if you look at the main Steem website and the section with developers, there is some desolation there. The links mostly lead to abandoned sites that are not maintained or with long-unpaid hosting. It doesn't look very presentable, and even suspicious, and if none of your friends or bloggers have told you, or your own research doesn't show that something is still working there, then attracting users and investors is not so easy. The liquidity of SBD is very low. You can only get it on the internal exchange or buy it on HTX and just look at it. There you can only trade it, not withdraw or deposit it. The STEEM coin is holding on because it has some capitalization thanks to futures.
One of the types of encouragement, a "treat," is curation with AI in semi-manual or automated mode. This will allow classifying and evaluating posts by various parameters within a matter of seconds and not waiting for the queue from curation groups to arrive, whether someone likes it or not, because it often happens that posts simply do not fall into the list of curators' personal preferences or something else.
What do newbies face? The fact that activity on the platform and receiving rewards requires investment or a lot of work. Motivation will not be increased by monotonous posts that receive rewards for "pretty eyes," that is, the presence of accumulated SteemPower resources. Of course, people also worked for a long time to get it, but for most people, it doesn't matter, especially against the
background of the fact that useful information, really needed, may be ignored. Then what will be the
motivation to continue their activity, unless, first and foremost, this activity is for their own pleasure from the process and self-expression.
What can be done for good curation?
- Analysis and determination of the quality and value of published materials by various
parameters using NLP and other services and models:- value;
- usefulness;
- depth of coverage;
- sentiment of the post and comments;
- uniqueness;
- relevance of the topic to the tags.
Curation based on this point is already possible, but you need to
have knowledge or consult with AI for a long time to build a simple model in Python and train it, and also pay for a VPS or run it from your own PC. Overall, a lot of work;
- Overall analysis of the account profile and its interaction with others for improved
assessment; - Set an acceptable level of:
- AI content. A certain percentage may be present after translation, because
sometimes the original is clean, and in another language it is already slightly colored, as if a human did not
do it (if the platform does not implement a system of automatic adaptation to the
chosen language); - similarity to other own material;
- relevance to tags;
- informativeness;
- AI content. A certain percentage may be present after translation, because
- Regulation or filtering of spam, fakes;
- Intelligent recognition of material that should be determined or not taken
into account during analysis, if it is:- quotes;
- code;
- other sensitive symbols and their combinations that may affect the determination of AI content;
In general, the work of AI and its configuration is a rather deep topic and requires special knowledge, so some nuances with superficial knowledge are not always known. However, the key points are:
- Support and encouragement of good content;
- Fast curation;
- Access to quality materials. This can also be implemented with the development of an information panel both on the main Steemit page and locally, in each community separately, where relevant posts will be sorted, arranged, and grouped to provide a quick access list and links. Also, add an option to allow users to submit suggestions, or from the administration, to add something to such a list with just a few mouse clicks.
Not by Analysis Alone
Analysis alone is not enough; it needs to be effectively
calibrated to get the desired result, and then actions need to be performed based on it. So it is worth
considering the mechanism of curation, how it will be with the participation of
AI:
- Informative - provides only analysis data and, for example, forms a rating
list of the best posts, of course, with verification marks, explanations
(collapsed for convenience), and recommendations for the percentage of the vote for the account that
does it. Such a list is easy to scroll through, and you don't need to go anywhere for links, and
the person manually sets curator votes (UpVote). - Semi-automatic - as in the first option, but you only need to give consent
to upvote a certain number of posts. - Automatic - when AI does everything itself, including calculating the % of voting power.
Regarding the informative and convenient mode, I had a bit of experimental experience. In principle, such a convenient curation panel or option would be very convenient, where the entire post is collapsed into a spoiler, and only the title and necessary account data are visible, including the AI assessment. To view the material, one click of the mouse is enough to expand it, and one to collapse it, so it seems more convenient, as opposed to navigating through new tabs.
In summary
If you properly train, compose, and implement the points from the previous question: "Curation with AI on Steemit (STEEM)", there is a good opportunity
to do automated analysis of materials with the display of several types of indicators that will affect the calculation of rewards from the account that places the UpVote, that is, the voting power. Or, even better, if you take into account the parameters that several main steemcurators will curate from the platform, then for them you can add a general calculation relative to the available voting power, its depletion, the time allotted for voting for the post, and the number of posts, and, accordingly, make balanced and fair voting.
Smart Contracts and dApps with AI
Much of what we do in ordinary financial life can be implemented on the blockchain using smart contracts to also eliminate unreliable intermediaries and interact at the person-service level; that is, a pre-defined condition arises, and then execution takes place.
AI adds a lot to efficiency and security.
Efficiency
In the first case, this is more complex automation with the processing of a larger number of conditions that are based both on the established settings and on the use of external information, based on which AI can adjust various parameters, such as commission, interest rates, and much more, and even predict some events in order to apply solutions.
Example. One crypto exchange offers staking of STEEM coins at 30%
per annum, but the rate fluctuates according to some changes (unknown to me). However, with that, you can deposit coins not for a fixed period, but as you like, and withdraw them at any time. Today the rate is over 30%, and later it is already 15%. Something changed, the system took into account the new data and adjusted the percentage. This is a great saving of time, human resources, and operating costs, and when a similar offer exists for several dozen cryptocurrencies, it is already a different matter for alarge system of financial services.
Security
The other side of the coin is to improve the reliability and security of smart contracts by analyzing vulnerabilities and errors, conducting audits, and detecting various fraudulent and suspicious actions that are usually accompanied by some anomaly.
AEA
AEAs - Autonomous Economic Agents - can also be relevant: expand functionality or implement a trading bot for certain tasks, and this saves resources significantly compared to a holistic AGI system.
Nuances
"Don't accelerate too much or the chain will break," and it's not just about gas (payment for transactions on the blockchain), but about the possibilities of incorporating AI into the blockchain itself. So it's more efficient and cheaper when all calculations take place off-chain, and the AI itself only performs narrowly focused or broad-plan tasks, and this is the same as what is gradually being implemented everywhere, that is, analytics, advice, solutions, forecasts, the behavior of game characters (NPCs) or simple repetitive actions in games or elsewhere, fraud prevention and much more, replacing human activity with the much faster digital mind that works 24/7. So if hundreds of employees are needed to process a large amount of information, monitor security, and so on, then this can be taken over by AI (different models according to their specialization and tasks).
From this it follows that all the use of AI comes down to working with data from the blockchain and projects built on it.
Conceptually, this can be a digital dashboard, where, after connecting a wallet, various sections become available with recommendations, forecasts, voting on the main areas: DeFi, gaming, analytical, social, automation of certain processes, and everything else for a convenient and effective experience.
Issues of AI Ethics and Security in Blockchain
First, data is one of the foundations of machine learning. As is well known, its origin must be legally clean. Confidential information should not be transferred to third parties or used. So from this point of view, it is important that it be of high quality and without bias. If a trained model favors someone, it is not good and looks like discrimination, although some things need to be filtered. So in the context of content curation on Steemit, this is also an important issue. For example, if cats are a priority, then dogs may not receive fair rewards.
Second, centralization. Concentration of power in one hand or a small circle
can affect the issue of fairness, which can threaten the control of the blockchain and
training data.
Third, the security of the AI itself. It is vulnerable and, having been subjected to external
influence at various stages, can act in the interests of third parties, and these are the data, code,
and other aspects. On the other hand, general issues can be addressed, such as
tracking transactions and detecting illegal activity.
AI-Based Trading Bot on TRON
At S22W2 Crypto Academy, the topic "AI and Machine Learning in Cryptocurrency Trading: A Steem/USDT Perspective" was discussed. The principle of creating a trading bot on TRON is similar; that is, the theoretical basis and component, because the practical side is not for everyone, if you take into account personal programming in Python. Even with the help of AI, reviewing the methods of training the model and collecting some data took quite a long time, and to build a fully working and stable system, you need to put in a lot of effort, although there are some ready-made solutions where the necessary service is provided for a fee.
There is only some difference for direct work specifically on the blockchain, namely: the bot will consist of two parts.
The first is the smart contracts themselves (or it is one) deployed on the blockchain (including all necessary processes), with the prescribed appropriate parameters of purchase/sale and everything else necessary.
The second is a set of interconnected modules in the Python language (as described in the challenge
for S22W2), only two more will be added to them: one responsible for integrating
AI with smart contracts so that there is interaction, and the other for sending the generated
trading decisions for execution through the smart contract.
Only smart contract operations will be performed on the blockchain. This significantly saves resources and is efficient. All calculations of the bot itself and analysis will be performed off-chain.
To the question, "How will the bot execute trades, manage risks, and adapt to real-time fluctuations?", one can answer as follows: according to the trained model and the prescribed algorithms of actions in the code; that is, it will be a reaction to a change in data. If they change, then the corresponding actions will also change. Risk management parameters are included for risks. In essence, for a superficial level, there is nothing more to add, except perhaps a schematic diagram of the components in the image, so as not to duplicate the part from previously published materials, but simply to show what it consists of, in order to have some idea. Other aspects are already large and extensive layers of data and skills that I do not have, and the topic itself requires deep disclosure, which AI can explain faster and more constructively. So this is for some idea of the overall integrity of the trading mechanism.
Python Modules (with AI, off-chain) | Smart Contracts (Solidity, on-chain, TRON) |
---|---|
1. market_data_module.py | |
2. analysis_module.py | 1. TradingBot.sol (main contract) |
3. trading_automation_module.py | |
4. smart_contract_interaction_module.py | |
5. ai_model_interaction_module.py | |
6. monitoring_module.py | |
7. config_module.py | |
8. error_handling_module.py |
As a result, we have the main components:
- The AI complex off-chain performs all the work and transmits commands to the smart contract;
- The smart contract on-chain executes the trading commands of the AI bot;
- The Oracle - feeds external data to the smart contract. So the bot can work without
it, if the smart contract has prescribed conditions for verifying the matching of operations
with real data, a kind of additional verification.
#ukraine #steemexclusive #cryptoacademy-s23w1 #crypto #steem #tron #ai
@kouba01 - there doesn't appear to be a moderation comment for this post yet it was the top selected post?