<?xml version="1.0" encoding="utf-8" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:tt="http://teletype.in/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"><title>Derson</title><author><name>Derson</name></author><id>https://teletype.in/atom/derson</id><link rel="self" type="application/atom+xml" href="https://teletype.in/atom/derson?offset=0"></link><link rel="alternate" type="text/html" href="https://teletype.in/@derson?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><link rel="next" type="application/rss+xml" href="https://teletype.in/atom/derson?offset=10"></link><link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></link><updated>2026-04-05T15:45:46.446Z</updated><entry><id>derson:0-1Ubo3Xi5e</id><link rel="alternate" type="text/html" href="https://teletype.in/@derson/0-1Ubo3Xi5e?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><title>Developing and Integrating Smart Contracts in ZKSync</title><published>2023-12-06T15:35:53.618Z</published><updated>2023-12-06T15:35:53.618Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img4.teletype.in/files/bb/44/bb44fa2a-a51c-4928-9939-d73cffe1745f.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://miro.medium.com/v2/resize:fit:971/1*w_5npXegHQq5zql15ol3bQ.png&quot;&gt;My social | ZkSync</summary><content type="html">
  &lt;p id=&quot;Zjze&quot;&gt;&lt;a href=&quot;https://twitter.com/ega0311&quot; target=&quot;_blank&quot;&gt;My social&lt;/a&gt; | &lt;a href=&quot;https://twitter.com/zksync&quot; target=&quot;_blank&quot;&gt;ZkSync&lt;/a&gt;&lt;/p&gt;
  &lt;h3 id=&quot;twL9&quot;&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;xuTM&quot;&gt;ZKSync, a cutting-edge Layer 2 scaling solution, has transformed blockchain scalability through its efficient zero-knowledge rollup technology. In this article, we delve into the technical aspects of developing and integrating smart contracts within the ZKSync ecosystem. Understanding the intricacies of smart contract development is crucial for unlocking the full potential of ZKSync.&lt;/p&gt;
  &lt;h3 id=&quot;VOqa&quot;&gt;&lt;strong&gt;1. ZKSync Smart Contract Development: Fundamentals&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;ONlf&quot;&gt;ZKSync utilizes zk-rollups to batch and compress transactions, alleviating on-chain congestion and reducing costs. To develop smart contracts in ZKSync, one must grasp the fundamentals of zero-knowledge proofs and the specificities of zk-rollup architecture. Smart contracts are coded in a language compatible with the Ethereum Virtual Machine (EVM), ensuring seamless integration with the broader Ethereum ecosystem.&lt;/p&gt;
  &lt;figure id=&quot;BI5M&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://miro.medium.com/v2/resize:fit:971/1*w_5npXegHQq5zql15ol3bQ.png&quot; width=&quot;971&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;HROT&quot;&gt;In the realm of ZKSync smart contract development, familiarity with the unique aspects of zk-rollups is imperative. The batching of transactions and their subsequent compression enable ZKSync to achieve impressive scalability without compromising security. Developers need to adapt their coding practices to harness the benefits of this innovative approach effectively.&lt;/p&gt;
  &lt;h3 id=&quot;XM7G&quot;&gt;&lt;strong&gt;2. Tools and Libraries: Streamlining Development Processes&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;Kgiz&quot;&gt;ZKSync provides a comprehensive set of tools and libraries to streamline the smart contract development process. Developers can leverage these resources to optimize their workflow, ensuring the efficient creation and deployment of contracts on the ZKSync layer. Understanding the integration of these tools is essential for a smooth development experience.&lt;/p&gt;
  &lt;p id=&quot;wzSP&quot;&gt;Integrating ZKSync tools into the smart contract development pipeline enhances efficiency and reduces development time. The availability of development kits, APIs, and documentation simplifies the learning curve, allowing developers to focus on the intricacies of their specific applications. A seamless integration experience contributes significantly to the widespread adoption of ZKSync.&lt;/p&gt;
  &lt;h3 id=&quot;bQcD&quot;&gt;&lt;strong&gt;3. Interoperability with Ethereum: Seamless Integration&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;VnGU&quot;&gt;ZKSync&amp;#x27;s strength lies in its interoperability with the Ethereum network. Smart contracts developed for the Ethereum mainnet can be seamlessly integrated into ZKSync, unlocking new possibilities for decentralized applications (dApps) and decentralized finance (DeFi) projects. This section explores the steps and considerations for achieving this integration.&lt;/p&gt;
  &lt;figure id=&quot;I2MB&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://zksync.io/share_image.png&quot; width=&quot;1200&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;KmXI&quot;&gt;Ensuring interoperability between ZKSync and Ethereum expands the reach of smart contracts developed within the ZKSync ecosystem. Developers can tap into the existing Ethereum developer community and leverage the wealth of tools and resources available on the Ethereum network. This seamless integration fosters collaboration and innovation across the broader blockchain landscape.&lt;/p&gt;
  &lt;h3 id=&quot;aXaw&quot;&gt;&lt;strong&gt;4. Real-world Use Cases: Showcasing ZKSync Smart Contracts in Action&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;rDaP&quot;&gt;Examining real-world use cases provides valuable insights into the versatility of ZKSync smart contracts. Whether facilitating instant token swaps, enabling efficient micropayments, or powering decentralized exchanges, ZKSync&amp;#x27;s smart contracts play a pivotal role in enhancing the overall blockchain ecosystem. This section showcases practical examples and code snippets to illustrate the application of ZKSync smart contracts.&lt;/p&gt;
  &lt;p id=&quot;gTy3&quot;&gt;Real-world applications highlight the tangible impact of ZKSync&amp;#x27;s smart contracts on various aspects of decentralized finance and blockchain interactions. Through detailed use cases, developers can gain inspiration and insights into the diverse ways ZKSync can be employed. These examples serve as a foundation for creating innovative and practical solutions within the ZKSync framework.&lt;/p&gt;
  &lt;h3 id=&quot;Ka0S&quot;&gt;&lt;strong&gt;5. Security Best Practices: Safeguarding ZKSync Smart Contracts&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;Ylsg&quot;&gt;Security is paramount in blockchain development. This section outlines best practices for securing smart contracts within the ZKSync environment. From protecting against potential vulnerabilities to ensuring robustness in the face of evolving threats, developers must adhere to stringent security measures to guarantee the integrity of their smart contracts.&lt;/p&gt;
  &lt;p id=&quot;qDqv&quot;&gt;Implementing security best practices ensures the resilience of ZKSync smart contracts against a constantly evolving threat landscape. Addressing potential vulnerabilities, employing secure coding practices, and engaging in rigorous testing are essential components of maintaining the trustworthiness of smart contracts within the ZKSync ecosystem. Security-conscious development is integral to the long-term success and adoption of ZKSync.&lt;/p&gt;
  &lt;h3 id=&quot;IMgf&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;
  &lt;p id=&quot;Y8Is&quot;&gt;ZKSync&amp;#x27;s integration of smart contracts marks a significant milestone in the realm of blockchain scalability. Developers keen on harnessing the power of ZKSync must grasp the technical intricacies involved in smart contract development. By exploring real-world use cases and adhering to security best practices, developers can contribute to the ongoing evolution of decentralized applications powered by ZKSync.&lt;/p&gt;

</content></entry><entry><id>derson:8EmcJbfBdNf</id><link rel="alternate" type="text/html" href="https://teletype.in/@derson/8EmcJbfBdNf?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><title>In November, hackers stole over $300 million</title><published>2023-12-06T15:27:28.834Z</published><updated>2023-12-06T15:27:28.834Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img3.teletype.in/files/ed/7d/ed7dc4b3-530b-4196-a06f-da942b30b4fe.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://cs13.pikabu.ru/post_img/2023/12/06/2/1701824154129896899.jpg&quot;&gt;In November, hackers stole over $300 million in a tumultuous month for the world of cryptocurrencies and decentralized finance (DeFi). According to a report by Immunefi, let's explore the key points and, most importantly, how to secure your digital assets.</summary><content type="html">
  &lt;p id=&quot;nCq9&quot;&gt;In November, hackers stole over $300 million in a tumultuous month for the world of cryptocurrencies and decentralized finance (DeFi). According to a report by Immunefi, let&amp;#x27;s explore the key points and, most importantly, how to secure your digital assets.&lt;/p&gt;
  &lt;figure id=&quot;bipe&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://cs13.pikabu.ru/post_img/2023/12/06/2/1701824154129896899.jpg&quot; width=&quot;700&quot; /&gt;
  &lt;/figure&gt;
  &lt;h2 id=&quot;iyQ7&quot;&gt;Review of Hacking Attacks&lt;/h2&gt;
  &lt;p id=&quot;aWx6&quot;&gt;&lt;strong&gt;Record Losses&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;SGYR&quot;&gt;In November, people lost 15 times more money compared to the previous month.&lt;/p&gt;
  &lt;p id=&quot;tMkX&quot;&gt;&lt;strong&gt;Hacks vs. Phishing&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;UavR&quot;&gt;Most losses were associated with hacks ($335 million) rather than phishing ($7 million).&lt;/p&gt;
  &lt;p id=&quot;74BP&quot;&gt;&lt;strong&gt;Centralized Exchanges Under Attack&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;pqOb&quot;&gt;Centralized exchanges such as Poloniex, HTX, and Kronos Research were the primary targets of attacks.&lt;/p&gt;
  &lt;h2 id=&quot;smsD&quot;&gt;Dangerous Zones and Trends&lt;/h2&gt;
  &lt;p id=&quot;glmA&quot;&gt;&lt;strong&gt;BNB Chain Leading&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;WmGT&quot;&gt;BNB Chain remains the riskiest place where people lose the most money due to hacks, followed by Ethereum and Arbitrum.&lt;/p&gt;
  &lt;p id=&quot;bNeU&quot;&gt;&lt;strong&gt;Total Damage&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;xkZ6&quot;&gt;The overall damage in 2023 reached an impressive sum of $1.75 billion.&lt;/p&gt;
  &lt;h2 id=&quot;nn8H&quot;&gt;&lt;strong&gt;Risk Mitigation in DeFi&lt;/strong&gt;&lt;/h2&gt;
  &lt;p id=&quot;WmWR&quot;&gt;The cryptocurrency community continually faces new challenges, but there are several life hacks to reduce the risk of losing digital assets:&lt;/p&gt;
  &lt;p id=&quot;0PtX&quot;&gt;&lt;strong&gt;Use of Temporary Addresses&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;iHSW&quot;&gt;Avoid interacting with dubious protocols using primary wallets.&lt;/p&gt;
  &lt;p id=&quot;levP&quot;&gt;&lt;strong&gt;Permission Revocation&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;sP6w&quot;&gt;Use services like revoke to revoke permissions to spend your tokens.&lt;/p&gt;
  &lt;p id=&quot;UCNr&quot;&gt;&lt;strong&gt;Security Extensions&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;6vz2&quot;&gt;Use extensions that warn about signing suspicious contracts.&lt;/p&gt;
  &lt;p id=&quot;HcOK&quot;&gt;&lt;strong&gt;Cold Wallet Storage&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;z2fI&quot;&gt;Keep the illiquid portion of your portfolio in a cold wallet.&lt;/p&gt;
  &lt;p id=&quot;PJSw&quot;&gt;&lt;strong&gt;Choose Reliable DeFi Protocols&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;MU5N&quot;&gt;Utilize only time-tested and insured DeFi protocols.&lt;/p&gt;
  &lt;p id=&quot;P4Gr&quot;&gt;&lt;strong&gt;Audit Project Audits&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;fCty&quot;&gt;Check project audits on popular platforms such as Coinmarketcap or Coingecko.&lt;/p&gt;
  &lt;h2 id=&quot;ZH4E&quot;&gt;Conclusion&lt;/h2&gt;
  &lt;p id=&quot;zI3L&quot;&gt;The complexity of the DeFi world requires investors to be vigilant and use all available security tools. The need for constant updates and education becomes a key element in combating hacking attacks. Remember that in the cryptocurrency environment, every step must be carefully considered.&lt;/p&gt;

</content></entry><entry><id>derson:lWZYVWO6CAe</id><link rel="alternate" type="text/html" href="https://teletype.in/@derson/lWZYVWO6CAe?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><title>Expert Tips and Best Practices for Using zkSync</title><published>2023-12-03T03:18:06.831Z</published><updated>2023-12-03T03:18:06.831Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img4.teletype.in/files/77/33/77334594-4cb4-4aca-a702-56dd4f800edd.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://docs.zksync.io/social-image.png&quot;&gt;My social:
https://twitter.com/ega0311
https://medium.com/@derson12</summary><content type="html">
  &lt;section style=&quot;background-color:hsl(hsl(24,  24%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;cNQP&quot; data-align=&quot;center&quot;&gt;My social:&lt;br /&gt;&lt;a href=&quot;https://twitter.com/ega0311&quot; target=&quot;_blank&quot;&gt;https://twitter.com/ega0311&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://medium.com/@derson12&quot; target=&quot;_blank&quot;&gt;https://medium.com/@derson12&lt;/a&gt;&lt;/p&gt;
  &lt;/section&gt;
  &lt;h2 id=&quot;tRMn&quot;&gt;Introduction&lt;/h2&gt;
  &lt;p id=&quot;i9jK&quot;&gt;Welcome to the world of zkSync, where transactions are fast and secure! If you haven&amp;#x27;t heard about zkSync yet, you&amp;#x27;re in for a treat. zkSync is a scaling solution for Ethereum that uses &lt;a href=&quot;https://era.zksync.io/docs/&quot; target=&quot;_blank&quot;&gt;zero knowledge proofs&lt;/a&gt; to provide the perfect blend of speed, security, and low cost. In simple terms, zkSync allows you to make transactions on Ethereum without having to pay those exorbitant fees. Yes, you read that right, NO fees!&lt;/p&gt;
  &lt;h3 id=&quot;51Wm&quot;&gt;Advantages of zkSync&lt;/h3&gt;
  &lt;p id=&quot;ABx7&quot;&gt;By now you&amp;#x27;re probably thinking, &amp;quot;This sounds too good to be true,&amp;quot; but let us reassure you that it&amp;#x27;s not. Unlike other scaling solutions, zkSync doesn&amp;#x27;t compromise on security or decentralization. In fact, zkSync is one of the most trustless scaling solutions out there. And did we mention that zkSync is fast? Like, really fast. Transactions are processed instantly, making it perfect for micropayments and other high-frequency transactions. Overall, zkSync is a game-changer for anyone looking to use Ethereum without breaking the bank.&lt;/p&gt;
  &lt;hr /&gt;
  &lt;h2 id=&quot;225A&quot;&gt;&lt;strong&gt;Getting Started with zkSync&lt;/strong&gt;&lt;/h2&gt;
  &lt;p id=&quot;fsdB&quot;&gt;Before diving into the world of zkSync, let&amp;#x27;s briefly discuss what it is and why it&amp;#x27;s worth your time. zkSync is a trustless, secure, and low-cost scaling solution for Ethereum that allows for faster and cheaper transactions. Not only does it provide an efficient way to operate on the blockchain, but it also reduces congestion and network fees. In this blog, we&amp;#x27;ll explore how to get started with zkSync, its benefits, and best practices to ensure your security.&lt;/p&gt;
  &lt;figure id=&quot;ufvU&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://docs.zksync.io/social-image.png&quot; width=&quot;2400&quot; /&gt;
  &lt;/figure&gt;
  &lt;h3 id=&quot;Eot5&quot;&gt;Getting Started with zkSync&lt;/h3&gt;
  &lt;p id=&quot;YfaF&quot;&gt;Are you ready to join the zkSync community? Let&amp;#x27;s start by creating a &lt;a href=&quot;https://zksync.io/&quot; target=&quot;_blank&quot;&gt;zkSync wallet&lt;/a&gt;. First, download the MetaMask extension and set up an Ethereum account. Once you have your account set up, head over to the &lt;a href=&quot;https://zksync.io/&quot; target=&quot;_blank&quot;&gt;zkSync website&lt;/a&gt; and create a new wallet. Don&amp;#x27;t forget to keep your private keys safe!&lt;/p&gt;
  &lt;p id=&quot;kb7m&quot;&gt;Next, deposit some funds into your wallet. You can do this by transferring ETH or ERC-20 tokens from your Ethereum wallet or buying directly on zkSync. With zkSync&amp;#x27;s instant finality, you won&amp;#x27;t have to wait long for the transfer to complete.&lt;/p&gt;
  &lt;p id=&quot;N8WG&quot;&gt;Now that you have some funds in your wallet, let&amp;#x27;s put them to use. zkSync supports the same transactions as Ethereum, including sending and receiving ETH and ERC-20 tokens. To use zkSync for transactions, select the &amp;quot;Switch to zkSync&amp;quot; button in your MetaMask wallet and proceed with your desired transaction. It&amp;#x27;s that easy!&lt;/p&gt;
  &lt;p id=&quot;lIHs&quot;&gt;Remember, zkSync&amp;#x27;s main priority is security. Always keep your keystore file, seed phrase, and password in a safe place, and never share them with anyone. Regularly back up your data to ensure that you don&amp;#x27;t lose your funds in case of a system crash or other technical issue. Stay vigilant for phishing scams, and always double-check transaction details before confirming.&lt;/p&gt;
  &lt;p id=&quot;vquE&quot;&gt;Overall, getting started with zkSync is a breeze. With its user-friendly interface and fast transactions, it&amp;#x27;s no wonder it&amp;#x27;s becoming a popular alternative to Ethereum&amp;#x27;s mainnet. Give it a try for yourself and see the difference.&lt;/p&gt;
  &lt;hr /&gt;
  &lt;h2 id=&quot;vaOP&quot;&gt;&lt;strong&gt;Security Tips for zkSync&lt;/strong&gt;&lt;/h2&gt;
  &lt;p id=&quot;sURQ&quot;&gt;You might have heard that crypto is all about security. No wonder! One lapse in security, and you say goodbye to your crypto holdings. zkSync is no different. To have a secure experience on zkSync, you need to follow some &lt;a href=&quot;https://era.zksync.io/docs/&quot; target=&quot;_blank&quot;&gt;security tips&lt;/a&gt;.&lt;/p&gt;
  &lt;p id=&quot;QbOu&quot;&gt;Firstly, always remember the golden rule of crypto - keep your private keys safe. It&amp;#x27;s like the password to your bank account. To keep your private keys secure, use a keystore file or seed phrase. Make sure that no one (and we mean no one) has access to it.&lt;/p&gt;
  &lt;p id=&quot;pLzp&quot;&gt;Secondly, keep a strong password. It&amp;#x27;s like having a strong lock on your front door. You don&amp;#x27;t want to make it easy for hackers to gain entry to your account. But, you aim to make their life harder!&lt;/p&gt;
  &lt;p id=&quot;23MZ&quot;&gt;Thirdly, always take backups. You wouldn&amp;#x27;t want to lose your precious crypto holdings just because your device crashed or was stolen. So, make sure you have the backups ready.&lt;/p&gt;
  &lt;p id=&quot;NqrG&quot;&gt;Lastly, avoid phishing scams. It&amp;#x27;s like the con artists&amp;#x27; tricks to get your credit card details. You don&amp;#x27;t want to fall for their trap. zkSync will never ask you for your seed phrase or private keys. Be mindful of this.&lt;/p&gt;
  &lt;p id=&quot;foqY&quot;&gt;By following these &lt;a href=&quot;https://era.zksync.io/docs/&quot; target=&quot;_blank&quot;&gt;security tips&lt;/a&gt;, you&amp;#x27;re securing your zkSync account from any unwanted intrusions. So, keep that crypto safe, folks!&lt;/p&gt;

</content></entry><entry><id>derson:uwW5u8FmyAM</id><link rel="alternate" type="text/html" href="https://teletype.in/@derson/uwW5u8FmyAM?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><title>Guide to dapp in StarkNet</title><published>2023-11-20T16:23:48.983Z</published><updated>2023-11-20T16:23:48.983Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img2.teletype.in/files/9d/03/9d0398f9-e3fe-4195-a2cf-4adbac9b3a04.png"></media:thumbnail><category term="stark-net" label="StarkNet"></category><summary type="html">&lt;img src=&quot;https://miro.medium.com/v2/resize:fit:1400/1*ru9HOeMXobXj9CsBsVRuYA.jpeg&quot;&gt;LFG!</summary><content type="html">
  &lt;p id=&quot;D9ic&quot;&gt;LFG!&lt;/p&gt;
  &lt;figure id=&quot;WsoC&quot; class=&quot;m_custom&quot;&gt;
    &lt;img src=&quot;https://miro.medium.com/v2/resize:fit:1400/1*ru9HOeMXobXj9CsBsVRuYA.jpeg&quot; width=&quot;721&quot; /&gt;
    &lt;figcaption&gt;source img - https://medium.com/@coingeener/starknet-ecosystem-5b16de83a455&lt;/figcaption&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;aOdr&quot;&gt;&lt;strong&gt;General Remarks&lt;/strong&gt; &lt;/p&gt;
  &lt;p id=&quot;Kiz7&quot;&gt;We engage in activities on StarkNet when the gas on the Ethereum network is below 20 GWEI, preferably below 15 GWEI. Typically, this occurs during mornings or weekends. You can monitor gas prices &lt;a href=&quot;https://etherscan.io/gastracker&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; or using the Chrome extension, which is now available in every profile. Pin it for convenient and visual tracking.&lt;/p&gt;
  &lt;p id=&quot;UBat&quot;&gt;The transaction cost significantly depends on the gas in L1, making it essential to strategize our interactions.&lt;/p&gt;
  &lt;section style=&quot;background-color:hsl(hsl(24,  24%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;5HWO&quot; data-align=&quot;center&quot;&gt;&lt;strong&gt;SWAP&lt;/strong&gt; &lt;/p&gt;
    &lt;p id=&quot;c1Sb&quot; data-align=&quot;center&quot;&gt;When executing a swap, aim for a sum of at least 1 USD. Never swap your entire ETH volume, as it would leave you without funds for the next transaction gas. Networks set a minimum and maximum fee for transaction initiation, usually charging closer to the lower threshold. However, if your wallet lacks funds up to the upper limit during transaction initiation, you won&amp;#x27;t be able to proceed. Thus, always maintain a minimum of 3 dollars in ETH on your wallet.&lt;/p&gt;
    &lt;p id=&quot;OdbH&quot; data-align=&quot;center&quot;&gt;&lt;strong&gt;POOL&lt;/strong&gt; &lt;/p&gt;
    &lt;p id=&quot;EiHy&quot; data-align=&quot;center&quot;&gt;When adding to a pool, also contribute a minimum of 1 USD (keeping some for gas). However, in the subsequent transaction, ensure to withdraw funds from the pool, leaving a balance of 1-10 cents.&lt;/p&gt;
    &lt;p id=&quot;ZN0D&quot; data-align=&quot;center&quot;&gt;If your account lacks funds, it&amp;#x27;s preferable to execute a transaction for 10 cents rather than skipping it due to the absence of whole dollars.&lt;/p&gt;
  &lt;/section&gt;
  &lt;p id=&quot;KwWc&quot;&gt;&lt;strong&gt;1. 10kSwap&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;lz1Z&quot;&gt;
    &lt;li id=&quot;zpB8&quot;&gt;Visit &lt;a href=&quot;https://10kswap.com/&quot; target=&quot;_blank&quot;&gt;10kSwap&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;SI3m&quot;&gt;Swap ETH for USDC (alternatively, USDT or DAI).&lt;/li&gt;
    &lt;li id=&quot;EuFJ&quot;&gt;After a successful transaction, navigate to the Pool section &lt;a href=&quot;https://10kswap.com/pool&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
    &lt;li id=&quot;AV7I&quot;&gt;Select the desired pool from the list and add liquidity.&lt;/li&gt;
    &lt;li id=&quot;j99t&quot;&gt;Add liquidity to the maximum, keeping a few dollars in ETH for gas.&lt;/li&gt;
    &lt;li id=&quot;KiBz&quot;&gt;After completing the transaction, manage your pool in the My Pools section.&lt;/li&gt;
    &lt;li id=&quot;iaZ3&quot;&gt;Withdraw almost all liquidity using the Withdraw button, leaving a few cents.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;8RF6&quot;&gt;&lt;strong&gt;2. JediSwap&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;1n4V&quot;&gt;
    &lt;li id=&quot;cOci&quot;&gt;Visit &lt;a href=&quot;https://app.jediswap.xyz/#/swap&quot; target=&quot;_blank&quot;&gt;JediSwap&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;79Mk&quot;&gt;Swap ETH for a stablecoin or vice versa.&lt;/li&gt;
    &lt;li id=&quot;EobI&quot;&gt;Proceed to the POOL section &lt;a href=&quot;https://app.jediswap.xyz/#/pool&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
    &lt;li id=&quot;fhMR&quot;&gt;Click CREATE PAIR and add liquidity.&lt;/li&gt;
    &lt;li id=&quot;gyZ8&quot;&gt;After the transaction, manage your pool in the Pools section.&lt;/li&gt;
    &lt;li id=&quot;IBrf&quot;&gt;Remove almost all liquidity using the Remove Liquidity button, leaving a few cents.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;nIv2&quot;&gt;&lt;strong&gt;3. MySwap&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;wfyh&quot;&gt;
    &lt;li id=&quot;gDKS&quot;&gt;Visit &lt;a href=&quot;https://www.myswap.xyz/#/&quot; target=&quot;_blank&quot;&gt;MySwap&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;VrhQ&quot;&gt;Swap ETH for USDC.&lt;/li&gt;
    &lt;li id=&quot;Io6P&quot;&gt;After a successful transaction, go to the POOLS tab &lt;a href=&quot;https://www.myswap.xyz/#/swap?isPools=true&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
    &lt;li id=&quot;8MVW&quot;&gt;Add liquidity to the USDC/ETH pair.&lt;/li&gt;
    &lt;li id=&quot;ybs8&quot;&gt;Add liquidity to the maximum, keeping a few dollars in ETH for gas.&lt;/li&gt;
    &lt;li id=&quot;tyoS&quot;&gt;After successfully adding liquidity, check your position.&lt;/li&gt;
    &lt;li id=&quot;WrKm&quot;&gt;Withdraw liquidity, leaving a small amount, using the Withdraw Liquidity button.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;M8j1&quot;&gt;&lt;strong&gt;4. AVNU&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;Fl68&quot;&gt;
    &lt;li id=&quot;ojBK&quot;&gt;Visit &lt;a href=&quot;https://app.avnu.fi/ru&quot; target=&quot;_blank&quot;&gt;AVNU&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;s425&quot;&gt;Swap ETH for a stablecoin.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;wULc&quot;&gt;&lt;strong&gt;5. zkLend&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;Ikwb&quot;&gt;
    &lt;li id=&quot;R5aO&quot;&gt;Visit &lt;a href=&quot;https://app.zklend.com/markets&quot; target=&quot;_blank&quot;&gt;zkLend&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;kQU1&quot;&gt;Choose the token you want to lend, e.g., ETH.&lt;/li&gt;
    &lt;li id=&quot;5GpC&quot;&gt;Enter the quantity and click ENABLE &amp;amp; SUPPLY ETH.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;ZbxK&quot;&gt;&lt;strong&gt;6. Fibrous&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;YHXN&quot;&gt;
    &lt;li id=&quot;lyma&quot;&gt;Visit &lt;a href=&quot;https://fibrous.finance/&quot; target=&quot;_blank&quot;&gt;Fibrous&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;P3gG&quot;&gt;Swap ETH for a stablecoin.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;Lqx7&quot;&gt;&lt;strong&gt;7. Sithswap&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;uGDs&quot;&gt;
    &lt;li id=&quot;o03D&quot;&gt;Visit &lt;a href=&quot;https://app.sithswap.com/swap/&quot; target=&quot;_blank&quot;&gt;Sithswap&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;2jav&quot;&gt;Swap ETH for a stablecoin.&lt;/li&gt;
    &lt;li id=&quot;7Z8x&quot;&gt;Proceed to the Liquidity section and add liquidity.&lt;/li&gt;
    &lt;li id=&quot;u57Y&quot;&gt;After successfully adding liquidity, check your position in the My Pools section.&lt;/li&gt;
    &lt;li id=&quot;uRza&quot;&gt;Remove liquidity, leaving a small amount.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;wyDg&quot;&gt;&lt;strong&gt;8. Nostra&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;D3ET&quot;&gt;
    &lt;li id=&quot;ao8a&quot;&gt;Visit &lt;a href=&quot;https://alpha.nostra.finance/&quot; target=&quot;_blank&quot;&gt;Nostra&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;dJyq&quot;&gt;Choose a token from the Markets list, e.g., ETH.&lt;/li&gt;
    &lt;li id=&quot;S4mV&quot;&gt;Add liquidity to the chosen token.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;4nAC&quot;&gt;&lt;strong&gt;9. StarkNet ID&lt;/strong&gt;&lt;/p&gt;
  &lt;ul id=&quot;Nsh0&quot;&gt;
    &lt;li id=&quot;cTsR&quot;&gt;Visit &lt;a href=&quot;https://app.starknet.id/&quot; target=&quot;_blank&quot;&gt;StarkNet ID&lt;/a&gt; and connect your StarkNet wallet.&lt;/li&gt;
    &lt;li id=&quot;tt19&quot;&gt;Mint NFT identity &lt;a href=&quot;https://app.starknet.id/identities&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
    &lt;li id=&quot;NXsG&quot;&gt;After a successful mint, your NFT will appear in the list.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;hr /&gt;
  &lt;h2 id=&quot;ElVy&quot; data-align=&quot;center&quot;&gt;&lt;strong&gt;Subscribe me in &lt;a href=&quot;https://twitter.com/ega0311&quot; target=&quot;_blank&quot;&gt;twitter&lt;/a&gt; | &lt;a href=&quot;https://teletype.in/@derson&quot; target=&quot;_blank&quot;&gt;teletype&lt;/a&gt; | &lt;a href=&quot;https://medium.com/@derson12&quot; target=&quot;_blank&quot;&gt;medium&lt;/a&gt;&lt;/strong&gt;&lt;/h2&gt;

</content></entry><entry><id>derson:CEj9h1UzIra</id><link rel="alternate" type="text/html" href="https://teletype.in/@derson/CEj9h1UzIra?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=derson"></link><title>Deploying a node for Starknet</title><published>2023-11-20T16:09:51.757Z</published><updated>2023-11-20T16:10:08.500Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img1.teletype.in/files/0b/0d/0b0d66a9-dede-462c-b1da-0674943847df.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://img3.teletype.in/files/ed/73/ed73d559-3a9e-41a4-9a20-8365284dbd48.png&quot;&gt;Hello crypto enthusiast! I would like to share with you information about unique and additional activities in StarkNet. We're connected with retrodrop.tools. Let's take off!</summary><content type="html">
  &lt;section style=&quot;background-color:hsl(hsl(55,  86%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;E8s1&quot;&gt;Hello crypto enthusiast! I would like to share with you information about unique and additional activities in StarkNet. We&amp;#x27;re connected with retrodrop.tools. Let&amp;#x27;s take off!&lt;/p&gt;
  &lt;/section&gt;
  &lt;figure id=&quot;Bw5H&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/ed/73/ed73d559-3a9e-41a4-9a20-8365284dbd48.png&quot; width=&quot;839&quot; /&gt;
  &lt;/figure&gt;
  &lt;section style=&quot;background-color:hsl(hsl(34,  84%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;bF4n&quot;&gt;&lt;strong&gt;Why Deploy Nodes for Projects?&lt;/strong&gt; &lt;/p&gt;
  &lt;/section&gt;
  &lt;p id=&quot;K1XL&quot;&gt;The dominant activity in the crypto market in 2022-2023 has been drop hunting, but it&amp;#x27;s not the only way to interact with projects and earn income in crypto. Another promising niche in the market is node running. Nodes can offer multiple tools for both novice and experienced crypto enthusiasts, providing an experience unparalleled to transactions in often sluggish testnets. As you know, decentralization is achieved by creating multiple copies of the blockchain database physically stored on different devices and in different geographical regions, but synchronized and collectively adding new information to the database. This blockchain principle fundamentally differs from centralized networks operating on a client-server basis. In our case, nodes are those devices on which copies of blockchain data are stored, and they add blocks with new transactions to the chain based on the consensus mechanism.&lt;/p&gt;
  &lt;p id=&quot;b2hH&quot;&gt;Technically, nodes consist of:&lt;/p&gt;
  &lt;ul id=&quot;gXlD&quot;&gt;
    &lt;li id=&quot;8mJ0&quot;&gt;Hardware: virtual or physical server + mining equipment.&lt;/li&gt;
    &lt;li id=&quot;QGhC&quot;&gt;Software: allowing the node to interact with other network nodes and perform its assigned functions.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;section style=&quot;background-color:hsl(hsl(34,  84%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;DgIk&quot;&gt;&lt;strong&gt;Types of Nodes&lt;/strong&gt; &lt;/p&gt;
  &lt;/section&gt;
  &lt;p id=&quot;griT&quot;&gt;In addition to the basic functions mentioned above, nodes may have additional tasks requiring special configuration or software. Thus, the blockchain architecture is, in fact, a network of interconnected nodes with various functions.&lt;/p&gt;
  &lt;p id=&quot;KeFG&quot;&gt;Depending on the tasks performed and the node&amp;#x27;s configuration, nodes are divided into several categories:&lt;/p&gt;
  &lt;ul id=&quot;FSqS&quot;&gt;
    &lt;li id=&quot;weUw&quot;&gt;&lt;strong&gt;Light Nodes:&lt;/strong&gt; Store only partial transaction data and cannot independently verify blocks. They rely on full nodes during database synchronization. They are often installed by users who do not want to depend on third-party infrastructure when interacting with the network. The main advantage is low technical requirements and easy deployment.&lt;/li&gt;
    &lt;li id=&quot;Ppnf&quot;&gt;&lt;strong&gt;Full Nodes:&lt;/strong&gt; Store the entire transaction history, expanding interaction capabilities with the blockchain. They can be further categorized into pruned full nodes, which store a partial history (e.g., the last 20 GB), and archival full nodes, which store the complete transaction history.&lt;/li&gt;
    &lt;li id=&quot;rdst&quot;&gt;&lt;strong&gt;Mining Nodes:&lt;/strong&gt; Process transactions and create blocks in networks using the PoW consensus algorithm. Mining nodes, in addition to the standard configuration of a full node, also have computational power necessary for processing and hashing transactions.&lt;/li&gt;
    &lt;li id=&quot;XQEH&quot;&gt;&lt;strong&gt;Staking Nodes:&lt;/strong&gt; Perform similar functions to mining nodes but operate in networks with the PoS consensus algorithm. To launch a staking node, a certain amount of native tokens needs to be staked.&lt;/li&gt;
    &lt;li id=&quot;YBUL&quot;&gt;&lt;strong&gt;Authority Nodes:&lt;/strong&gt; Equivalent to validators in networks with the PoA or PoSA consensus concept. These nodes are allowed to process transactions based on reputation, requiring community approval.&lt;/li&gt;
    &lt;li id=&quot;i4Ol&quot;&gt;&lt;strong&gt;Masternodes:&lt;/strong&gt; Do not create blocks but can perform other tasks. The specific rights and configuration of masternodes differ from blockchain to blockchain.&lt;/li&gt;
    &lt;li id=&quot;XSkV&quot;&gt;&lt;strong&gt;Supernodes:&lt;/strong&gt; Classified as a variation of full nodes or masternodes with additional functionality. They may be more powerful than regular full nodes, providing higher throughput or specialized functions.&lt;/li&gt;
    &lt;li id=&quot;uoox&quot;&gt;&lt;strong&gt;Lightning Nodes:&lt;/strong&gt; Special nodes used in the Lightning Network solution for Bitcoin, necessary for setting up and supporting direct payment channels.&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;4ply&quot;&gt;It is worth noting that not all nodes are available for free deployment. While full or staking/mining nodes can be deployed without permission, launching masternodes or authority nodes requires meeting additional requirements and undergoing an approval process.&lt;/p&gt;
  &lt;section style=&quot;background-color:hsl(hsl(34,  84%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;ofvg&quot;&gt;&lt;strong&gt;How to Set Up a Node for StarkNet?&lt;/strong&gt; &lt;/p&gt;
  &lt;/section&gt;
  &lt;p id=&quot;grzm&quot;&gt;After the theory, let&amp;#x27;s move on to the main action in our presentation - setting up your own node. To do this:&lt;/p&gt;
  &lt;ol id=&quot;1jli&quot;&gt;
    &lt;li id=&quot;pVNP&quot;&gt;Purchase or set up a server that meets the specifications listed on node-guru or another source. I deployed Ubuntu Server 22 LTS.&lt;/li&gt;
    &lt;li id=&quot;DgHq&quot;&gt;Install our shell script - link.&lt;/li&gt;
    &lt;li id=&quot;W6ol&quot;&gt;Register on Alchemy and obtain an API key.&lt;/li&gt;
    &lt;li id=&quot;iT5B&quot;&gt;Open your server and enter the following:&lt;/li&gt;
    &lt;ul id=&quot;Ezjs&quot;&gt;
      &lt;li id=&quot;yEzA&quot;&gt;YOUR_ALCHEMY_HTTP_ADDRESS - the HTTP address from Alchemy, obtained on the website. Mainnet or testnet is your choice.&lt;/li&gt;
      &lt;li id=&quot;rbe6&quot;&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;/li&gt;
      &lt;li id=&quot;AcXe&quot;&gt;&lt;code&gt;sudo apt full-upgrade -y&lt;/code&gt;&lt;/li&gt;
      &lt;li id=&quot;q1BM&quot;&gt;&lt;code&gt;ALCHEMY=YOUR_ALCHEMY_HTTP_ADDRESS&lt;/code&gt;&lt;/li&gt;
      &lt;li id=&quot;HIvV&quot;&gt;&lt;code&gt;echo &amp;#x27;export ALCHEMY=&amp;#x27;$ALCHEMY &amp;gt;&amp;gt; $HOME/.bash_profile&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;li id=&quot;6ksa&quot;&gt;Next, you need to download our script from GitHub. Don&amp;#x27;t worry, it&amp;#x27;s just Linux commands; the code is open, and you can check it yourself.&lt;/li&gt;
    &lt;ul id=&quot;zCBj&quot;&gt;
      &lt;li id=&quot;xvlx&quot;&gt;&lt;code&gt;git clone https://github.com/SYBIL-MAFIA/starknet-node.git&lt;/code&gt;&lt;/li&gt;
      &lt;li id=&quot;3tVE&quot;&gt;&lt;code&gt;chmod +x starknet.sh&lt;/code&gt;&lt;/li&gt;
      &lt;li id=&quot;wleY&quot;&gt;&lt;code&gt;./starknet.sh&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;li id=&quot;VeRX&quot;&gt;There will be a fairly long loading process. If you&amp;#x27;ve done everything correctly, you&amp;#x27;ll see the following picture.&lt;/li&gt;
  &lt;/ol&gt;
  &lt;figure id=&quot;mR6O&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img1.teletype.in/files/8d/f6/8df601a2-d36c-4021-ac54-4657355234aa.png&quot; width=&quot;1049&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;Bkdc&quot;&gt;That&amp;#x27;s it! Congratulations on setting up, and don&amp;#x27;t forget to connect your wallet to Alchemy! If you want to update it, use:&lt;/p&gt;
  &lt;ul id=&quot;REUp&quot;&gt;
    &lt;li id=&quot;uTXH&quot;&gt;&lt;code&gt;chmod +x starknet_u.sh &amp;amp;&amp;amp; ./starknet_u.sh&lt;/code&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p id=&quot;YNUN&quot;&gt;My social — &lt;a href=&quot;https://twitter.com/ega0311&quot; target=&quot;_blank&quot;&gt;Twitter&lt;/a&gt;&lt;/p&gt;

</content></entry></feed>