<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Подключение к DevNet]]></title><description><![CDATA[<ol start="0">
<li>Настроить кошелек <a href="https://github.com/smartholdem/smartholdem-wallet/releases" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/smartholdem/smartholdem-wallet/releases</a></li>
</ol>
<ul>
<li>В настройки &gt; управление сетями &gt; Testnet<br />
добавить dev-seed: <strong><a href="https://nodedev.smartholdem.io" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodedev.smartholdem.io</a></strong><br />
или/ Создать новую сеть и добавить dev-seed: <strong><a href="https://nodedev.smartholdem.io" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodedev.smartholdem.io</a></strong></li>
<li>сохранить</li>
<li>может потребоваться перезапуск кошелька</li>
</ul>
<ol>
<li>Переключиться на DevNet/Tesnet в верхнем меню</li>
<li>Получить адрес D... и фразы</li>
<li>Получить монеты в <a href="https://devfaucet.smartholdem.io/" target="_blank" rel="noopener noreferrer nofollow ugc">https://devfaucet.smartholdem.io/</a> (транзакция ~3 минуты)</li>
<li>Обозреватель DEvNet <a href="http://devexplorer.smartholdem.io/#/" target="_blank" rel="noopener noreferrer nofollow ugc">http://devexplorer.smartholdem.io/#/</a></li>
<li>При использовании <a href="https://github.com/smartholdem/sthjs-wrapper" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/smartholdem/sthjs-wrapper</a> с <strong>DevNet</strong> в формировании транзакций необходимо указать версию dev-сети в options <strong>{version: 0x1e}</strong> (<em>для mainnet указывать версию не требуется</em>)</li>
</ol>
<pre><code class="language-js">const smartholdemApi = require("sthjs-wrapper");

smartholdemApi.init("dev"); // devnet or main

// Сформировать транзакцию
let options = {
  version: 0x1e, //это версия dev-net
  vendorField: "Comment field (optional)",
  secondPassphrase: "Sender second passphrase (optional)"
};
let tx = smartholdemApi.createTransaction("Sender passphrase",
                      "Address of recipient",
                      "Amount to send in 10^8 (Integer)",
                      options);

console.log(tx);

// отправить в сеть
let transaction = smartholdemApi.sendTransactions([tx], (error, success, response) =&gt; {
    console.log(response);
});

</code></pre>
<ol start="6">
<li>Установка ноды DevNet</li>
</ol>
<pre><code>git clone -b development https://github.com/smartholdem/smartholdem-node-a.git
</code></pre>
<p dir="auto">далее по инструкции <a href="https://github.com/smartholdem/smartholdem-node-a" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/smartholdem/smartholdem-node-a</a></p>
]]></description><link>https://community.smartholdem.io/topic/430/подключение-к-devnet</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 06:58:33 GMT</lastBuildDate><atom:link href="https://community.smartholdem.io/topic/430.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Sep 2018 14:04:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Подключение к DevNet on Fri, 21 Sep 2018 20:41:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/1">@technol0g</a> Что это? И зачем?</p>
]]></description><link>https://community.smartholdem.io/post/4051</link><guid isPermaLink="true">https://community.smartholdem.io/post/4051</guid><dc:creator><![CDATA[pegas55]]></dc:creator><pubDate>Fri, 21 Sep 2018 20:41:25 GMT</pubDate></item></channel></rss>