<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Codorrr</title>
        <link>https://paragraph.com/@codorrr</link>
        <description>undefined</description>
        <lastBuildDate>Tue, 21 Apr 2026 00:49:06 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Solidity explanation part II]]></title>
            <link>https://paragraph.com/@codorrr/solidity-explanation-part-ii</link>
            <guid>2rnEV8saJVqsOyX66DAr</guid>
            <pubDate>Mon, 29 Aug 2022 02:08:53 GMT</pubDate>
            <description><![CDATA[Lets create a contract.contract Helloworld { string hello = “Hello World”; function sayHello() returns (string) { return hello; } } The code of contract goes between curly braces. The name HelloWorld is the name of our contract. It’s not necessary that the name has to be name given to the file. The keyword contract here can be treated similar to a class in C++/java. Where class has methods and variables so are here. Let’s see. The string variable is like a normal OOP string variable nothing f...]]></description>
            <content:encoded><![CDATA[<p>Lets create a contract.</p><pre data-type="codeBlock" text="contract Helloworld
{
 string hello = “Hello World”;
 function sayHello() returns (string)
    {
        return hello;
    }
}
"><code><span class="hljs-class"><span class="hljs-keyword">contract</span> <span class="hljs-title">Helloworld</span>
</span>{
 <span class="hljs-keyword">string</span> hello <span class="hljs-operator">=</span> “Hello World”;
 <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">sayHello</span>(<span class="hljs-params"></span>) <span class="hljs-title"><span class="hljs-keyword">returns</span></span> (<span class="hljs-params"><span class="hljs-keyword">string</span></span>)
    </span>{
        <span class="hljs-keyword">return</span> hello;
    }
}
</code></pre><p>The code of contract goes between curly braces. The name HelloWorld is the name of our contract. It’s not necessary that the name has to be name given to the file.</p><p>The keyword contract here can be treated similar to a class in C++/java. Where class has methods and variables so are here. Let’s see.</p><p>The string variable is like a normal OOP string variable nothing fancy. The function sayHello() is a method, which when called returns something. Inside the parenthesis, goes the parameters. Currently none, but we’ll see later what they could be. The keyword returns tells us the return type of the function. Here it is string and yes it has to mentioned in parenthesis. Inside the function body we return the hello string variable.</p>]]></content:encoded>
            <author>codorrr@newsletter.paragraph.com (Codorrr)</author>
        </item>
        <item>
            <title><![CDATA[Solidity explanation part I]]></title>
            <link>https://paragraph.com/@codorrr/solidity-explanation-part-i</link>
            <guid>KRjBzW48htdwnZhtFXPV</guid>
            <pubDate>Sun, 19 Jun 2022 06:14:42 GMT</pubDate>
            <description><![CDATA[// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract Primitives { bool public boo = true; /* uint stands for unsigned integer, meaning non negative integers different sizes are available uint8 ranges from 0 to 2 ** 8 - 1 uint16 ranges from 0 to 2 ** 16 - 1 ... uint256 ranges from 0 to 2 ** 256 - 1 */ uint8 public u8 = 1; uint public u256 = 456; uint public u = 123; // uint is an alias for uint256 /* Negative numbers are allowed for int types. Like uint, different ranges are avail...]]></description>
            <content:encoded><![CDATA[<p><em>// SPDX-License-Identifier: MIT</em></p><p>pragma solidity ^0.8.13; contract Primitives { bool public boo = true; <em>/* uint stands for unsigned integer, meaning non negative integers different sizes are available uint8 ranges from 0 to 2 ** 8 - 1 uint16 ranges from 0 to 2 ** 16 - 1 ... uint256 ranges from 0 to 2 ** 256 - 1 */</em> uint8 public u8 = 1; uint public u256 = 456; uint public u = 123; <em>// uint is an alias for uint256</em> <em>/* Negative numbers are allowed for int types. Like uint, different ranges are available from int8 to int256 int256 ranges from -2 ** 255 to 2 ** 255 - 1 int128 ranges from -2 ** 127 to 2 ** 127 - 1 */</em> int8 public i8 = -1; int public i256 = 456; int public i = -123; <em>// int is same as int256</em> <em>// minimum and maximum of int</em> int public minInt = type(int).min; int public maxInt = type(int).max; address public addr = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c; <em>/* In Solidity, the data type byte represent a sequence of bytes. Solidity presents two type of bytes types : - fixed-sized byte arrays - dynamically-sized byte arrays. The term bytes in Solidity represents a dynamic array of bytes. It’s a shorthand for byte[] . */</em> bytes1 a = 0xb5; <em>// [10110101]</em> bytes1 b = 0x56; <em>// [01010110]</em> <em>// Default values</em> <em>// Unassigned variables have a default value</em> bool public defaultBoo; <em>// false</em> uint public defaultUint; <em>// 0</em> int public defaultInt; <em>// 0</em> address public defaultAddr; <em>// 0x0000000000000000000000000000000000000000</em> }</p>]]></content:encoded>
            <author>codorrr@newsletter.paragraph.com (Codorrr)</author>
        </item>
    </channel>
</rss>