Skip to content

Commit

Permalink
Add EVM blockchains and change other
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-skripnik committed Jul 17, 2023
1 parent 66daec2 commit 9116d6a
Show file tree
Hide file tree
Showing 35 changed files with 20,191 additions and 22 deletions.
6 changes: 6 additions & 0 deletions blockchains/evm/apps/create-token/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Создать токен",
"description": "Создайте ERC-20 токен в поддерживаемых блокчейнах",
"in_menu": "Создать токен",
"category": "no_category"
}
33 changes: 33 additions & 0 deletions blockchains/evm/apps/create-token/content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php if (!defined('NOTLOAD')) exit('No direct script access allowed');
return '<div>
<h2>2. Создание токена</h2>
<p>Название</p>
<input type="text" id = "name">
<p>Тикер</p>
<input type="text" id = "symbol">
<p> Начальная поставка</p>
<input type="number" min = "1" id = "start_supply">
<p> Максимальная поставка</p>
<input type="number" min = "1" id = "max_supply">
<button onclick="createAsset()">Создать токен</button>
<p><b>Результат:</b> <span id="resultLog"></p>
</div>
<div id="mintToken" style="display: none;">
<h2>Минт токена, если вы - создатель смартконтракта</h2>
<p>Сумма будет переведена на ваш кошелёк.</p>
<p> Сумма минта</p>
<input type="number" min = "1" id = "mint_amount">
<button onclick="mintToken()">Минт</button>
</div>
<h2>Донат</h2>
<p>0xaeac266a4533CB0B4255eA2922f997353a18B2E8</p>
<h2>Автор</h2>
<p>Незрячий разработчик Денис Скрипник. Канал: <a href="https://t.me/blind_dev" target="_blank">@blind_dev</a><br>
<a href="https://github.com/denis-skripnik/tokens-panel" target="_blank">Github</a></p>
<script>
const tokenAddressFromURL = getParameterByName("address");
if (tokenAddressFromURL !== "") {
document.getElementById("mintToken").style.display = "block";
}
</script>';
?>
2 changes: 2 additions & 0 deletions blockchains/evm/apps/create-token/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php if (!defined('NOTLOAD')) exit('No direct script access allowed');
?>
Loading

0 comments on commit 9116d6a

Please sign in to comment.