<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lief Storer</title>
    <description>The latest articles on DEV Community by Lief Storer (@thelief).</description>
    <link>https://dev.to/thelief</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1101594%2Ff2317d17-8a5b-4bca-86d0-7e5d95eb698c.jpeg</url>
      <title>DEV Community: Lief Storer</title>
      <link>https://dev.to/thelief</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thelief"/>
    <language>en</language>
    <item>
      <title>How to deploy a smart contract in Rust</title>
      <dc:creator>Lief Storer</dc:creator>
      <pubDate>Wed, 21 Jun 2023 21:58:51 +0000</pubDate>
      <link>https://dev.to/stellar/how-to-deploy-a-smart-contract-in-rust-24f5</link>
      <guid>https://dev.to/stellar/how-to-deploy-a-smart-contract-in-rust-24f5</guid>
      <description>&lt;p&gt;Soroban contracts are small programs written in the Rust programming language. In this tutorial we'll walk you through setting up your local environment so that you're ready to build Smart Contracts in Rust. If you're wondering why Rust and not Solidity, read &lt;a href="https://soroban.stellar.org/docs/fundamentals-and-concepts/migrating-from-evm/introduction-to-solidity-and-rust" rel="noopener noreferrer"&gt;this&lt;/a&gt; to compare the platforms.&lt;/p&gt;

&lt;p&gt;To build and develop contracts you need only a couple prerequisites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A &lt;a href="https://www.rust-lang.org/" rel="noopener noreferrer"&gt;Rust&lt;/a&gt; toolchain&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;An editor that supports Rust&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Soroban CLI&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install Rust&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you use macOS, Linux, or another Unix-like OS, the simplest method to install a Rust toolchain is to install rustup. Install rustup with the following command.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you use Windows, or need an alternative method of installing Rust, check out:&lt;br&gt;
&lt;a href="https://www.rust-lang.org/tools/install" rel="noopener noreferrer"&gt;https://www.rust-lang.org/tools/install&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Install the target
&lt;/h2&gt;

&lt;p&gt;Install the wasm32-unknown-unknown target.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rustup target add wasm32-unknown-unknown&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Configure an Editor
&lt;/h2&gt;

&lt;p&gt;Many editors have support for Rust. Visit the following link to find out how to configure your editor:&lt;br&gt;
&lt;a href="https://www.rust-lang.org/tools" rel="noopener noreferrer"&gt;https://www.rust-lang.org/tools&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A popular editor is Visual Studio Code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;Visual Studio Code &lt;/a&gt;editor.&lt;br&gt;
&lt;a href="https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer" rel="noopener noreferrer"&gt;Rust Analyzer&lt;/a&gt; for Rust language support.&lt;br&gt;
&lt;a href="https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb" rel="noopener noreferrer"&gt;CodeLLDB&lt;/a&gt;for step-through-debugging.&lt;/p&gt;
&lt;h2&gt;
  
  
  Install the Soroban CLI
&lt;/h2&gt;

&lt;p&gt;The Soroban CLI can execute Soroban contracts in the same environment the contract will execute on network, however in a local sandbox.&lt;/p&gt;

&lt;p&gt;Install the Soroban CLI using cargo install.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cargo install --locked --version 0.8.0 soroban-cli&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;INFO&lt;br&gt;
Report issues and share feedback about the Soroban CLI &lt;a href="https://github.com/stellar/soroban-cli/issues/new/choose" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;Run the soroban command and you should see output like below.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;soroban&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;❯ soroban
Build, deploy, &amp;amp; interact with contracts; set identities to sign with; configure networks; generate keys; and more.

Intro: https://soroban.stellar.org
CLI Reference: https://github.com/stellar/soroban-tools/tree/main/docs/soroban-cli-full-docs.md

Usage: soroban &amp;lt;COMMAND&amp;gt;

Commands:
  contract    Tools for smart contract developers
  config      Read and update config
  events      Watch the network for contract events
  lab         Experiment with early features and expert tools
  version     Print version information
  completion  Print shell completion code for the specified shell

Options:
  -h, --help     Print help (see more with '--help')
  -V, --version  Print version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's a video to help guide you through the process. &lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/jSLJEHVEMQA"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Once you've completed the initial setup, check out the Hello World contract deployment documentation &lt;a href="https://soroban.stellar.org/docs/getting-started/hello-world" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>smartcontract</category>
      <category>rust</category>
      <category>blockchain</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Tech Talks with Tomer: The Challenges of Smart Contracts and Interoperability with Axelar Co-founder Sergey Gorbunov</title>
      <dc:creator>Lief Storer</dc:creator>
      <pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate>
      <link>https://dev.to/stellar/tech-talks-with-tomer-the-challenges-of-smart-contracts-and-interoperability-with-axelar-co-founder-sergey-gorbunov-ol3</link>
      <guid>https://dev.to/stellar/tech-talks-with-tomer-the-challenges-of-smart-contracts-and-interoperability-with-axelar-co-founder-sergey-gorbunov-ol3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets-global.website-files.com%2F5dee83171c0040227763490c%2F645bfdaf4145444fe831c9ab_Thumbnail%2520%282%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets-global.website-files.com%2F5dee83171c0040227763490c%2F645bfdaf4145444fe831c9ab_Thumbnail%2520%282%29.png" alt="Tech Talks with Tomer S2 E1 Interoperability" width="800" height="480"&gt;&lt;/a&gt;&lt;br&gt;
Tech Talks with Tomer is a video and podcast series with Stellar Development Foundation VP of Product Tomer Weller. In this episode he chats with the co-founder of Axelar, Sergey Gorbunov.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stellar.org/blog/tech-talks-with-tomer-smart-contracts-and-interoperability-with-axelar-co-founder-sergey-gorbunov?utm_source=devto&amp;amp;utm_medium=organic&amp;amp;utm_campaign=ttwt" class="ltag_cta ltag_cta--branded" rel="noopener noreferrer"&gt;Listen to Podcast&lt;/a&gt;
&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>interoperability</category>
      <category>crypto</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
