<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sltani Mohamadali on Medium]]></title>
        <description><![CDATA[Stories by Sltani Mohamadali on Medium]]></description>
        <link>https://medium.com/@s0ltani.mohamadali69?source=rss-a3ef93d1b6cf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Sltani Mohamadali on Medium</title>
            <link>https://medium.com/@s0ltani.mohamadali69?source=rss-a3ef93d1b6cf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:52:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@s0ltani.mohamadali69/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploy a simple storage smart contract on StarkNet]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/deploy-a-simple-storage-smart-contract-on-starknet-be68b7ac58cd?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/be68b7ac58cd</guid>
            <category><![CDATA[starknet]]></category>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 14:13:58 GMT</pubDate>
            <atom:updated>2023-10-31T14:13:58.107Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T196w9wLApe5uCIG.png" /></figure><p>StarkNet and zero-knowledge rollups are gaining in popularity lately due to their efficiency, so it’s time to learn how to develop on StarkNet. This tutorial will show you how to create a simple smart contract in Cairo to save and retrieve a variable and then deploy it on the StarkNet testnet using the <a href="https://foundry-rs.github.io/starknet-foundry/">StarkNet Foundry</a> framework.</p><p>You can find the project with the smart contract and the compiled files in the protostar-project folder of the <a href="https://github.com/soos3d/Create-and-deploy-a-smart-contract-on-StarkNet">GitHub repository</a>.</p><p>If you want to learn some StarkNet fundamentals, I recommend reading this article about <a href="https://chainstack.com/chainstack-announces-support-for-starknet/">StarkNet’s architecture and environment</a>.</p><h3>A Cairo smart contract</h3><p>Cairo is a relatively new language that powers smart contracts on StarkNet; it is worth learning more about it! The smart contract you will deploy today is very similar to a simple storage contract you are probably familiar with in Solidity.</p><p>In this tutorial we’ll write a straightforward smart contract, but it will teach you how to declare a variable, write a getter function, and write a function to set the variable.</p><h3>The smart contract head</h3><p>The first thing we need is to declare it as a StarkNet contract and importing the ‘HashBuiltin’ package.</p><pre>%lang starknet<br>from starkware.cairo.common.cairo_builtins import HashBuiltin</pre><p>As you can notice, we are importing a package, the <em>HashBuiltin </em>it’s a struct specifying the hash builtin memory structure. You can learn more about this package from the <a href="https://chainstack.com/starknet-cairo-developer-introduction-part-2/">StarkNet</a> and Cairo <a href="https://docs.cairo-lang.org/0.12.0/how_cairo_works/builtins.html#introduction">Docs</a>.</p><p>At this point, we can continue by declaring the variable.</p><h3>Declare a variable</h3><p>Like Solidity, we need to declare a variable to use it. In this example, the variable is a ‘felt’, named ‘my_value_storage’, where we can basically store a number.</p><pre>@storage_var<br>func my_value_storage() -&gt; (my_value_storage: felt) {<br>}</pre><p>Storage variables are, by default, not visible from the ABI. They are similar to “<strong>private</strong>” variables in Solidity.</p><blockquote><em>A storage variable can be read with ‘</em><em>var_name.read()‘ or written to with ‘</em><em>var_name.write()&#39;.</em></blockquote><h3>Getter function</h3><p>When we use variables, it is good practice to declare a ‘<strong>getter</strong>‘ function. So we can add that too!</p><p>A getter is a <strong>view </strong>function that we can call to see the stored variable.</p><pre>@view<br>func get_my_stored_value{syscall_ptr: felt*, pedersen_ptr: HashBuiltin*, range_check_ptr}() -&gt; (<br>    my_stored_value: felt<br>) {<br>    let (my_stored_value) = my_value_storage.read();<br>    return (my_stored_value,);<br>}</pre><blockquote><em>For example, this function can be called from the StarkNet explorer and display the stored value.</em></blockquote><h3>Function to set the variable</h3><p>Now that we have the variable declared, how do we modify it?<br>We could automatically set it up when the contract is deployed with a ‘constructor’, but for this tutorial, I want to create a function for it.</p><p>This is an ‘<strong>external</strong>‘ function, which can be called by another smart contract (or wallet), allowing us to modify that variable!</p><pre>@external<br>func set_my_stored_value{syscall_ptr: felt*, pedersen_ptr: HashBuiltin*, range_check_ptr}(<br>my_value: felt,<br>) {<br>    my_value_storage.write(my_value);<br>    return ();<br>}</pre><p>As you notice, in the function to set a stored value, we use my_value_storage.write(my_value), where my_value is the argument passed through the function.</p><h3>Full smart contract</h3><p>Now that we have all the separate parts, we can put them together. Here you’ll find the entire smart contract, with some comments.</p><pre>%lang starknet<br>from starkware.cairo.common.cairo_builtins import HashBuiltin<br>// Store a variable<br>// Storage vars are by default not visible through the ABI. They are similar to &quot;private&quot; variables in Solidity.<br>// This variable is a felt and is called my_value_storage<br>// From within a smart contract, it can be read with my_value_storage.read() or written to with my_value_storage.write()<br>@storage_var<br>func my_value_storage() -&gt; (my_value_storage: felt) {<br>}<br>// Declaring getters<br>// Public variables should be declared explicitly with a getter<br>// Function to return the variable&#39;s value.<br>@view<br>func get_my_stored_value{syscall_ptr: felt*, pedersen_ptr: HashBuiltin*, range_check_ptr}() -&gt; (<br>    my_stored_value: felt<br>) {<br>    let (my_stored_value) = my_value_storage.read();<br>    return (my_stored_value,);<br>}<br>// Set the variable&#39;s value.<br>@external<br>func set_my_stored_value{syscall_ptr: felt*, pedersen_ptr: HashBuiltin*, range_check_ptr}(<br>my_value: felt,<br>) {<br>    my_value_storage.write(my_value);<br>    return ();<br>}</pre><h3>A Protostar project</h3><p>For this example, we’ll use <a href="https://github.com/software-mansion/protostar">protostar</a>, one of the Starknet framework.</p><p>First thing, <a href="https://docs.swmansion.com/protostar/docs/tutorials/installation">install Protostar</a>.</p><blockquote><em>Note that Protostar is only supported on Linux and macOS.</em></blockquote><h3>Initialize a Protostar project</h3><p>After we installed Protostar, let’s create a project by using the following command.</p><pre>protostar init store-variable</pre><p>Where store-variable is the name of the project.</p><p>The result of running protostar init is a configuration file protostar.toml, example files, and the following 3 directories:</p><ul><li>src — A directory for your code.</li><li>lib — A default directory for external dependencies.</li><li>tests — A directory storing tests.</li></ul><p>The protostar.toml file is the configuration file where we specify the path to our contracts; in this case, you’ll already have a cairo.main example file.</p><p>In this case, we will generate a contract named main from our src folder.</p><pre>[&quot;protostar.contracts&quot;]<br>main = [<br>    &quot;src/main.cairo&quot;,<br>]</pre><p>Simply delete the example code and paste our smart contract’s code.</p><h3>Compile the Cairo smart contract</h3><p>We have initialized a Protostar project, and there is a Cairo smart contract is in the src folder; we are ready to compile.</p><p>From the project main directory, run the following command to compile.</p><pre>protostar build</pre><p>You will receive a success message if the contract is compiled correctly.</p><pre>16:23:13 [INFO] Built the project successfully                                                                                                             <br>16:23:14 [INFO] Execution time: 2.96 s</pre><p>After the contract has been compiled, you will notice a build directory in the project, where you can find the contract’s ABI and the compiled contract as main.json.</p><h3>Deploy the smart contract on the StarkNet testnet</h3><p>After the smart contract was compiled, we can finally use Protostar to deploy it on the StarkNet testnet.</p><p>Use the following command to deploy the compiled contract.</p><pre>protostar deploy ./build/main.json --network testnet</pre><p>The result will show you the transaction hash and the contract address and give you a link to the smart contract on the Voyager explorer.</p><pre>[INFO] Deploy transaction was sent.<br>Contract address: 0x06a5ea9e42c921bd58e24b8da9d1fc91a488df0700b173f1c6bb0e453f68afec<br>Transaction hash: 0x1cbba90ba0d1fbfba09b1f7a0f987134dd9a02a845ca89244b3272374d37ede<br>https://goerli.voyager.online/contract/0x06a5ea9e42c921bd58e24b8da9d1fc91a488df0700b173f1c6bb0e453f68afec</pre><h3>Interact with the deployed contract</h3><p>Now that the smart contract has been deployed on the StarkNet testnet, you can use the Voyager explorer to interact with it.</p><p>You can use the <a href="https://goerli.voyager.online/contract/0x010c484443bafd91e255e7326676f146f825a1cbc1d69a711eb04186b2e2a734#readContract">smart contract we deployed</a> if you still need to deploy yours.</p><p>Use the Read Contract tab to call the view function and see the stored value.</p><p>Then you can use the Write Contract tab to call the external function and modify the value.</p><p>When writing to a contract, so change the state of the network; you will need to authorize the transaction, so remember to connect your wallet to the Voyager explorer and have some test ETH.</p><p>You can get some Goerli ETH on the L2 from the <a href="https://faucet.goerli.starknet.io/">StarkNet faucet</a>.</p><h3>Conclusion</h3><p>Congratulations on completing this tutorial. Today you learned how to write and deploy a simple smart contract in Cairo!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be68b7ac58cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starknet one of the best zero-knowledge solution]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/starknet-one-of-the-best-zero-knowledge-solution-9f96ad3b1eb0?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f96ad3b1eb0</guid>
            <category><![CDATA[starknet]]></category>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 14:09:12 GMT</pubDate>
            <atom:updated>2023-10-31T14:09:12.716Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Starknet?</h3><p>Starknet is a Validity Rollup Layer 2. It provides high throughput, low gas costs, and retains Ethereum Layer 1 levels of security</p><p>Given a sudoku puzzle, verifying a solution is easier than solving from scratch. If our goal is to convince people of the statement “this puzzle has been solved”, we can save a lot of computation by having one person compute a solution and then propagate it for others to verify. In this strategy, each computation of a solution becomes a one-time event which does not require replication by society. In a similar vein, Starknet scales Ethereum by replacing heavy L1 computation with lighter (hence cheaper!) L1 verification using STARK proofs computed off-chain.</p><h3><strong>How it works</strong></h3><p>With the above analogy in mind, the time is ripe for some jargon. Starknet is a permissionless Validity-Rollup (also known as a “ZK-Rollup”) that supports general computation and currently operates in production as an L2 network over Ethereum. The eventual L1 security of Starknet is ensured by its use of the safest and most scalable cryptographic proof system — STARK.</p><p>Starknet contracts are (for the most part) written in the Cairo language — A Turing complete programming language designed for STARK proofs.</p><h3>Starknet environments</h3><p>Within Starknet’s deployment pipeline there are separate and distinct networks that operate independently of each other for testing before deployment.</p><p>Table 1. Current versions supported in each environment</p><p>Environment</p><p>Starknet version</p><p>Sierra version</p><p>Cairo version</p><p>Mainnet</p><p>0.12.2</p><p>1.3.0</p><p>2.0.0–2.3.0</p><p>Goerli Testnet 1</p><p>0.12.2</p><p>1.3.0</p><p>2.0.0–2.3.0</p><p>Goerli Testnet 2</p><p>0.12.2</p><p>1.3.0</p><p>2.0.0–2.3.0</p><h3>Starknet v0.12.2 (September 4th 23)</h3><p>Starknet v0.12.2 is live on Mainnet.</p><p>This version includes the following changes:</p><ul><li>Enabling P2P Authentication: An additional endpoint in the sequencer gateway to provide a signature on the state diff commitment and block hash.</li><li>Resolving Mismatches in Queries: An extension to the get_state_update endpoint in the sequencer gateway that returns both the pending state diff and the pending block together.</li><li>Increased maximum Cairo steps per transaction from 1 million to 3 million.</li></ul><h3>Starknet v0.12.1 (August 21st 23)</h3><p>Starknet v0.12.1 is live on Mainnet.</p><p>This version includes the following changes:</p><ul><li>Mempool Validation.</li><li>Inclusion of Failed Transactions.</li><li>Keccak builtin.</li></ul><h3>Starknet v0.12.0 (July 12th, 23)</h3><p>Starknet v0.12.0 is live on Mainnet.</p><p>This version contains the following changes:</p><ul><li>Use the <a href="https://github.com/starkware-libs/blockifier">rust blockifier</a> and <a href="https://github.com/lambdaclass/cairo-vm">LambdaClass’s Cairo VM</a> to accelerate the sequencer’s time to handle transactions.</li><li>Support <a href="https://github.com/starkware-libs/cairo/releases/tag/v2.0.0">version 2.0.0</a> of the Cairo compiler.</li><li>Replace the PENDING status of transactions to ACCEPTED_ON_L2 - once a transaction is in that status it means that it will be included in a block, this applies to transactions - blocks still have the PENDING status.</li><li>Add an experimental get_block_hash syscall.</li><li>Change HTTP error code from 500 to 400 on API errors.</li></ul><h3>Starknet v0.11.2 (May 31, 23)</h3><p>Starknet v0.11.2 is live on Mainnet.</p><p>This version contains the following changes:</p><ul><li>Upgrade Cairo 1.0 version to v1.0.0-rc0 (Cairo 1.0 activated on Starknet!)</li></ul><h3>Starknet v0.11.1 (May 23, 23)</h3><p>Starknet v0.11.1 is live on Mainnet.</p><p>This version contains the following changes:</p><ul><li>Upgrade Cairo 1.0 version to v1.0.0-rc0.</li><li>Charged transaction fee is now based on an average Ethereum gas price instead of a single sample (estimation API is unaffected).</li><li>API changes:</li><li>Remove the state root in get_state_update for pending blocks to allow faster responses in future versions.</li><li>Testing framework:</li><li>Allow declaring (and interacting with) Cairo 1.0 contracts.</li><li>Currently, the Cairo 1.0 ABI is not supported yet, so a Cairo 0 ABI should be supplied to declare() manually.</li><li>Split deploy() to two phases declare and deploy: deprecated_declare() (for Cairo 0 contract) or declare() (for Cairo 1.0 contracts) and deploy() (for both).</li><li>Add current block hash to the Starknet Core contract (currently not verified by the Starknet OS):</li><li>Breaking change: The LogStateUpdate event’s data is changed to include blockHash.</li></ul><h3>Starknet v0.11.0 (Mar 29, 23)</h3><p>Starknet v0.11.0 is live on Mainnet.</p><p>invoke and declare transactions of version 0 are no longer supported on this version.</p><p>In Starknet v0.11.0, you can declare, deploy and run Cairo 1.0 smart contracts. We also introduce a new system call that allows a smooth transitioning of existing contracts to a Cairo 1.0 implementation.</p><p>Historically, contract classes have been defined in terms of Cairo assembly, or Casm for short (the class definition also included more information needed for execution, e.g., hint data). The novelty of Cairo 1.0 is the introduction of Sierra (Safe Intermediate Representation), an intermediate layer between Cairo 1.0 and Casm.</p><p>The introduction of Cairo 1.0 and Sierra has several effects on the system. Below we list the effects on each component; of particular note are:</p><ul><li>A new version of the declare transaction, which allows sending the new class structure</li><li>The state commitment will now include contract classes</li><li>Changes to the onchain data format</li><li>New system call — replace_class</li></ul><h3>Starknet v0.10.3 (Dec 12, 22)</h3><p>The deploy transaction is no longer supported on this version.</p><p>This version contains the following changes:</p><p>Starknet</p><ul><li>Performance — Separate the state commitment computation from the execution of the transactions</li><li>Add starknet-class-hash command to compute the class hash of a compiled Starknet contract</li></ul><p>Cairo:</p><ul><li>Autoformatter: Automatically break lines inside expressions</li></ul><h3>Starknet v0.10.2 (Nov 29, 22)</h3><ul><li>This version introduces sequencer parallelization! This is the first step in our roadmap of performance upgrades. Details about the specific mechanism of parallelization and the roadmap in general are described in <a href="https://medium.com/starkware/starknet-performance-roadmap-bb7aae14c7de">this medium post</a>.</li><li>A new endpoint, estimate_fee_bulk, is added to the feeder gateway. This will allow estimating the fee of several transactions at once, where each transaction is executed relative to the resulting state from applying the previous one.</li><li>Sequencing performance improvements</li><li>Builtin ratio changes, which affects builtin costs</li><li>Add estimate_fee_bulk API that computes the fee of multiple transactions that will be executed consecutively</li></ul><p>As part of this version, we will also increase the finality of transactions in the pending block, by fixing the timestamp at the time of the block creation. This will solve the issue of transactions moving from pending to rejected on account of too old timestamp</p><h3>Starknet v0.10.1 (Oct 25, 22)</h3><p>This version contains the following changes:</p><p>Starknet:</p><ul><li>Add DeployAccount transaction (which will replace the Deploy transaction for deploying account contracts). To use it, you should first add enough funds to your account address to pay the transaction fee, and then you can invoke DeployAccount</li><li>Split the starknet deploy_account CLI command into starknet new_account and starknet deploy_account</li><li>Account contracts that are expected to be deployed this way should implement the`<em>validate_deploy</em>()` entry point, which should check the signature of the DeployAccount transaction</li><li>Improve L1 fee computation: the fee is computed according to the diff of the storage state</li><li>API: Remove entry_point_type field from transaction information</li></ul><p>Cairo:</p><ul><li>Add uint256_mul_div_mod to uint256.cairo</li></ul><h3>Starknet v0.10.0 (Sept 05, 22)</h3><p>This version introduces the next step in Starknet’s account abstraction design, specifically the validate/execute separation. See <a href="https://www.notion.so/starkware/Starknet-0-10-0-4ac978234c384a30a195ce4070461257">here</a> for more information.</p><p>This version contains the following changes:</p><p>Starknet:</p><ul><li>Contract (breaking changes):</li><li>@external and @view functions should be imported directly by the main compiled file. Otherwise, they will not be usable as external functions</li><li>Forbid using the same storage variable name in two modules</li><li>New transaction version (version 1) for invoke and declare transactions:</li><li>Transactions of version 0 are deprecated and will not be supported in Starknet from the next version (v0.11.0). Please update your systems to use the new version</li></ul><p>In order to use transactions of version 1 you will need to upgrade your account contracts</p><ul><li>Add nonce field to the transactions. Nonce validation is now part of the Starknet protocol and is enforced to be executed sequentially</li><li>Invoke:</li><li>Split <em>execute</em> to two functions:` <em>validate</em>` (only validates the transaction) and <em>execute</em> (only executes the transaction)</li><li>Remove the selector (which is now always <em>execute</em>) field, following the above change.</li><li>Declare:</li><li>declare transaction should now be sent from an account (and is validated using <em>validate_declare</em> in the account contract)</li><li>Support fee for sending L1 messages. At this point, it’s not mandatory and messages with no fee will still be handled. Starting from the next version it will become mandatory.</li></ul><p>Cairo:</p><p>Syntax changes in Cairo (to make it more similar to rust and C++):</p><ul><li>You can use the cairo-migrate script to convert old code to the new syntax. Use the -i flag to apply the changes to the files</li><li>End statements with ;</li></ul><p>New lines are still part of the language at this point, and you cannot put more than one instruction per line. This will change in Cairo1.0.</p><ul><li>Use { … } for code blocks (instead of : and end)</li><li>Add () around the condition of if statements</li><li>Remove the member keyword in structs</li><li>Change comment to use // instead of #</li><li>Use …​, ap` instead of `...; ap in low level Cairo code</li><li>Support return types that are not tuples. For example, func foo() → felt (instead of func foo() → (r: felt)) As a result, it’s now mandatory to specify return types. func foo() → (res) should be replaced by func foo() → (res: felt). The cairo-migrate tool does that automatically.</li><li>Return statement accepts expressions, rather than only tuples. For example, you can write let x = (5,); return x;</li><li>A few standard library functions were changed to return felt. The cairo-migrate script also fixes calls to those functions</li><li>Support using functions as expressions</li><li>This only applies to functions with → felt signature`, whose ap change is known at compile-time (e.g., recursive functions cannot be used this way)</li><li>Fix a bug in the secp signature verification code that allowed a malicious prover to ignore the value of v (this does not let the prover fake a signature, but allows it to claim that a valid signature is invalid).</li><li>Add Cairo code for the recursive STARK verifier</li></ul><p>Technical changes: * Move from python3.7 to python3.9</p><h3>Starknet v0.9.1 (July 20, 22)</h3><p>This version contains the following changes:</p><p>Starknet:</p><p>API changes:</p><ul><li>Add get_block_traces API - returns all the transaction traces of a given block</li><li>Add a list of declared contracts in get_state_update</li><li>Add a 0x prefix for class hash in the API</li><li>Add starknet_version field for blocks (only applies to new blocks)</li></ul><p>Starknet CLI:</p><ul><li>Change the default block number to pending</li><li>Using a wallet is the default, --no_wallet must be specified explicitly to override this</li><li>Deploying contracts:</li><li>Add deploy_contract function to the account contract created by starknet deploy_account</li><li>Use this function to deploy contract (unless using --no_wallet). In particular, deploy should be used after declaring the contract (it expects the contract class hash)</li><li>Support --dry_run to get the transaction information without signing or sending it</li><li>Support deploy_from_zero in the deploy syscall to deploy a contract to an address that does not depend on the deployer</li></ul><p>Cairo: * Support and in if statements (if x == y and z == w).</p><p>At the moment other boolean combinations are not supported</p><h3>Starknet v0.9.0 (June 06, 22)</h3><p>This version introduces the contract class/instance paradigm into Starknet. See <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Contracts/contract-classes/">here</a> for more information.</p><p>This version contains the following changes:</p><p>Starknet:</p><ul><li>Enforce fees — max_fee must not be set to zero, and selector must be <em>execute</em></li><li>Split the concepts of contract class and contract instance.</li><li>Add declare transaction type</li><li>New API and CLI commands:</li><li>declare - Declares a contract class</li><li>get_class_by_hash - Returns the contract class given its hash</li><li>get_class_hash_at - Returns the class hash for a given contract instance address</li><li>Rename delegate_call to library_call, and change the contract address argument to class hash.</li><li>Add a deploy system call.</li><li>Rename ContractDefinition to ContractClass</li><li>Reduce the compiled contract file’s size by removing unnecessary identifiers (this optimization can be disabled using --dont_filter_identifiers)</li></ul><p>Cairo:</p><ul><li>Initial support for the EC-op builtin (scalar multiplication over the STARK curve). Not supported in Starknet yet.</li><li>Add additional helper methods to blake2s.cairo, including big-endian support</li></ul><p>Technical changes: * Change function’s return type from a struct to a named tuple. In particular, foo.Return.SIZE is no longer supported.</p><p>Thanks For reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f96ad3b1eb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZetaChain: The future of Multichain]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/zetachain-the-future-of-multichain-18f2ac480f2?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/18f2ac480f2</guid>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Fri, 23 Dec 2022 17:54:19 GMT</pubDate>
            <atom:updated>2022-12-23T17:54:19.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*xXoFAUR2CDLsaO_u.jpeg" /></figure><p>ZetaChain: The future of Multichain</p><p>The beauty of ZetaChain can be described by envisioning a blockchain as a data highway. In this analogy, ZetaChain is the actual highway and the multiple lanes hosted on this highway can be explained as the peak functioning interoperability of various network chains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*lSTPGZoHKMcVUuCr.gif" /></figure><p>The ZetaCain Highway</p><p>ZetaChain can be defined as not just a single highway with a predefined set number of lanes, but offering a single lane for data exchange for every application and its corresponding blockchain — A blockhain as a data network without any speed-limits, traffic congestions and at any given point of data transfer, the singular lane in question belongs to a single particular driver. It’s a race track with one users as the sole supercar driver burning the wheels. Today with the ever growing demand of the crypto ecosystem, it has been ever so necessary for blockchains to be able to scale and provide a higher uptime. Though all of this demands comes at an extra cost. This cost being blockchains getting overloaded with multiple transactions, eventually leading to an overall slowdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*W1uwV_z3jcRcyl9F.jpeg" /></figure><p>ZetaChain CCTX (Cross-chain transaction)</p><p>The kind of scalability ZetaChain aims to offer to users across the board, makes it a top choice to handle large volumes of transactions without overloading during super high demand.</p><h3>How does ZetaChain achieve all this?</h3><p>Unlike other blockchain projects, ZetaChain has achieved its Omni-chain working mechanism by building on the Cosmos SDK. Very few maybe aware, but Cosmos is a Layer-0 blockchain. No, its not a typing mistake, Layer-0 blockchain bery much exist, and these are the blockchains that allow for the creation of nee blockchains on top of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/0*yg_sUZRgia9XJJJX.png" /></figure><p>Omnichain deployment if ZetaChain</p><p>Unlike other blockchains, Cosmos does not make its own network a priority, but rather helps in accelerating the working mechanism of an ecosystem of networks that can share data between themselves with not a single centralised party driving the event.</p><h3>Current state of ZetaChain?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*aDRRciUs32FLscql.jpeg" /></figure><p>The ZetaChain Explorer</p><p>The ZetaChain Explorer</p><p>Users can search for information on any transaction with just the TX Hash. Since ZetaChain is a public blockchain and all information occuring on ZetaChain is public, users can easily see what type of transaction was executed (Send or Receive) and between whom (sender-receiver)and across what chain (Polygon, Ethereum etc)…I am attaching an explorer example image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0Inzn_uvcg83zMij.jpeg" /></figure><p>Actual screenshot of a transaction on ZetaChain Explorer</p><p>Actual screenshot of a transaction on ZetaChain Explorer</p><p>The best part about ZetaChain has to be the structural framework of how the transaction fees are determined. Even though ZetaChain aims at enabling the transfer of assets across different blockchains, gas-fee has always been an issue while interacting with different protocols. This becomes a huge hassle for the users interacting with multiple smart-contracts.</p><p>ZetaChain enables the users to pay for all the fees consolidated within a singke transaction. So instead of a user having to pay the smart contract mainnet fee and then interacting with the contract again to pay the gas-fee, ZetaChain makes the entire process super simple by rolling all the fees in one.</p><p>Another offering to note with ZetaChain has to do with asset handling. More often than not, multiple protocols that aim to be cross-chain or interoperable in nature, rewuire the user to convert their main asset to a Wrapped version. For eg, wETH (Wrapped Ethereum), but these wrapped assets bring in a huge problem of contract exploits and we can clearly see the depeg of stETH from the main ETH. ZetaChain solves this as well.</p><h3>Conclusion</h3><p>Currently ZetaChain is live on their Athens (testnet) Devnet and soon the project will announce the launch of their ZetaChain Mainnet. Developers can currently deploy their dApps on the Athens Testnet. At the time of writing, there are already 10 dApps live on the ZetaChain testnet network.</p><p>Overall, ZetaChain has a super unique proposition and yes, it is the only blockchain thats offers fully interoperable smart contracts. Furthermore, ZetaChain also enables interoperability to non-smart-contract chains like Bitcoin &amp; Doge.</p><h3>Sources:</h3><ul><li><a href="https://docs.zetachain.com/learn/faq">https://docs.zetachain.com/learn/faq</a></li><li><a href="https://twitter.com/zetablockchain?s=21&amp;t=1rr3nL2rWilXqyIKlfX1Uw">Twitter</a></li><li><a href="https://blog.zetachain.com/zetachain-tech-upgrades-building-towards-omnichain-interoperability-fdc4837c97eb">Zetachain Blogs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18f2ac480f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shardeum Blockchain]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/shardeum-blockchain-ab749d7349be?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab749d7349be</guid>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Fri, 23 Dec 2022 16:30:31 GMT</pubDate>
            <atom:updated>2022-12-23T16:30:31.927Z</atom:updated>
            <content:encoded><![CDATA[<h3>Decentralization for everyone</h3><p>Shardeum is an EVM-based, linearly scalable smart contract platform that provides low gas fees forever while maintaining true decentralization and solid security through dynamic state sharding.</p><p>The first linearly scalable smart contract platform that increases transactions per second (TPS) by adding more nodes.</p><p>EVM-based layer 1 blockchain</p><p>Any <a href="https://shardeum.org/blog/what-are-decentralized-applications/">dApp</a> that can run on the <a href="https://shardeum.org/blog/how-to-connect-evm-network-to-metamask/">Ethereum Virtual Machine</a> will seamlessly run on Shardeum.</p><p>Linear scalability &amp; low gas forever</p><p>Every <a href="https://shardeum.org/blog/what-is-a-blockchain-node/">node</a> that joins the Shardeum network immediately increases the transactions per second (TPS) and total capacity of the network to achieve linear scaling and ensure low transaction fees even as the usage grows.</p><p>Anyone can operate a node</p><p>Hardware requirements to operate a validator node are kept low by offloading historical data to archive nodes and adding more nodes to reduce the load on each validator.</p><p>Immediate finality &amp; low latency</p><p>All transactions are guaranteed to be processed within a few seconds to ensure low latency and are irreversible once processed to achieve immediate finality.</p><p>Solid security</p><p>A leaderless <a href="https://shardeum.org/blog/consensus-mechanism-used-in-shardeum/">Proof-of-Quorum (PoQ)</a> consensus algorithm, Proof-of-Stake (PoS) with slashing, standby nodes, node rotation and permissionless participation all contribute to increasing the security of the network.</p><p>High fairness &amp; energy efficiency</p><p>Shardeum processes transactions on a first-come, first-served basis, with the same gas rate for all transactions to ensure fairness and eliminate miner extractable value. As a PoS network, Shardeum is energy efficient and sustainable.</p><p><a href="https://discord.gg/shardeum">https://discord.gg/shardeum</a><br><a href="https://twitter.com/shardeum">https://twitter.com/shardeum</a><br><a href="https://github.com/shardeum/">https://github.com/shardeum/</a><br><a href="https://telegram.me/shardeum"><strong>https://telegram.me/shardeum</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab749d7349be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AlienSwap Introduction]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/alienswap-introduction-c5a8c0339c06?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5a8c0339c06</guid>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Wed, 21 Dec 2022 17:31:16 GMT</pubDate>
            <atom:updated>2022-12-21T17:31:16.731Z</atom:updated>
            <content:encoded><![CDATA[<p>Trade and Earn with NFTs.<br><a href="http://alienswap.xyz/">AlienSwap.xyz</a> is the first members-based NFT marketplace where 100% of revenue is returned to the community.<br>What is AlienSwap 👽 ?</p><blockquote><em>“AlienSwap is truly an NFT marketplace built for the community, a membership-based marketplace that gives 100% of its revenue back to the community, where all collectors and artists can enjoy trading and be rewarded. We Aliens build, We Aliens share!</em></blockquote><p>We want to create a real decentralized NFT market, which means that all community members and traders can 100% own AlienSwap.”</p><ul><li>We Aliens build: All community members experience, trade, communicate, and improve on AlienSwap. The community is what makes AlienSwap stronger.</li><li>We Aliens share: All members in the community share AlienSwap’s growth dividends such as 100% trading fee, trading rewards, staking rewards, and membership rewards.</li></ul><p><strong>AlienSwap</strong></p><p>Bulk purchase, listing to create a better NFT market for the community</p><p><strong>NFT Aggregation</strong></p><p>Access liquidity from multiple NFT markets to ensure collectors are getting the best deal</p><p><strong>Trading Rewards</strong></p><p>Trading rewards, listing rewards, aggregate rewards, staking rewards, 100% of the income goes to the community</p><p><strong>Membership Based</strong></p><p>AlienSwap Genesis Pass members will enjoy exclusive airdrops and trading discounts</p><p><strong>Referral Rewards</strong></p><p>Invite friends to join AlienSwap and earn 10% commission</p><p>💬 💬 join Discord: <a href="https://discord.gg/6SzkW9hNRa">https://discord.gg/6SzkW9hNRa</a></p><p>🐦🐦 focus on Twitter: <a href="https://twitter.com/AlienSwap_NFT">https://twitter.com/AlienSwap_NFT</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5a8c0339c06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5ireChain]]></title>
            <link>https://medium.com/@s0ltani.mohamadali69/5irechain-7d83ae80d6c4?source=rss-a3ef93d1b6cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d83ae80d6c4</guid>
            <dc:creator><![CDATA[Sltani Mohamadali]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 14:55:19 GMT</pubDate>
            <atom:updated>2022-12-11T14:55:19.703Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learn and start<br>building on the world’s<br>first sustainable blockchain.</h3><h3>What is 5ire?</h3><p>5ire’s primary goal is to create 5ireChain, a user-centric sustainability-driven blockchain. This is achieved by embedding sustainability both in 5irechain’s base layers and in the upper decision-making that democratically commands the network.</p><h3>Security</h3><p>Homomorphic Encryption</p><p>5ire’s Homomorphic Encryption allows users to keep their personal and financial information private on 5ireChain while enabling validating nodes to perform operations on the encrypted data. This allows us to provide the same services as available on permissioned blockchains over our public blockchains quantum computers that will exist in the future.</p><p>Robust security is one of our top priorities. 5ireChain uses TPM chips on nodes to ensure that nodes are not running malicious code or activities. This allows us to keep 5ireChain’s network security in check and provide a secure infrastructure for builders and developers to build upon.</p><h3>Scalability</h3><p>Transaction Pools</p><p>Existing blockchains use single transaction pools where all transactions are stored with every node. 5ireChain distributes transactions based on wallet addresses and each transaction pool serves unique addresses. This helps us concurrently process transactions through nested chains without worrying about transactions overlapping.</p><h3>Decentralisation</h3><p>Proof of 5ire</p><p>The disadvantages of Proof of Work and traditional Proof of Stake led us to think of other consensus methods. 5ireChain will be the first blockchain to have sustainability embedded in the network base layers. Validators’ reputations will be based on the number of sustainable and ESG practices they follow. This allows for a voting protocol more complex than other consensus methods and removes the opportunity for centralization or cartelization while also supporting our commitment to the United Nations sustainable development goals.</p><p>Website: <a href="https://5ire.org/">https://5ire.org</a></p><p>White paper: <a href="https://bit.ly/3UowTa0">https://bit.ly/3UowTa0</a></p><p>LinkedIn: <a href="https://www.linkedin.com/company/5ireChain">https://www.linkedin.com/company/5ireChain</a></p><p>Twitter: <a href="https://twitter.com/5irechain">https://twitter.com/5irechain</a></p><p>Discord: <a href="http://discord.gg/5ire">http://discord.gg/5ire</a></p><p>Telegram: <a href="https://t.me/OfficialFireChain">https://t.me/OfficialFireChain</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d83ae80d6c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>