<?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: pauline-banye</title>
    <description>The latest articles on DEV Community by pauline-banye (@paulinebanye).</description>
    <link>https://dev.to/paulinebanye</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%2F686905%2F3741cf9b-1316-4bef-a0c0-bcf7c862561a.jpg</url>
      <title>DEV Community: pauline-banye</title>
      <link>https://dev.to/paulinebanye</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/paulinebanye"/>
    <language>en</language>
    <item>
      <title>Create your first Smart contract with Remix (Noob friendly)</title>
      <dc:creator>pauline-banye</dc:creator>
      <pubDate>Sat, 19 Mar 2022 05:20:12 +0000</pubDate>
      <link>https://dev.to/paulinebanye/writing-your-first-smart-contract-with-remix-3b2d</link>
      <guid>https://dev.to/paulinebanye/writing-your-first-smart-contract-with-remix-3b2d</guid>
      <description>&lt;p&gt;As the buzz around Web 3 intensifies, the interest in Blockchain technology has skyrocketed. In the tech industry, it's becoming common for developers who have experience coding with Python or JavaScript to start learning  Rust, Yul and Solidity - languages used for writing smart contracts and creating decentralized applications (dApps). &lt;/p&gt;

&lt;p&gt;This article would focus on the basic steps for creating and compiling a very simple contract but before we get started, here’s a brief overview about smart contracts and dapps.&lt;/p&gt;

&lt;h3&gt;
  
  
  WHAT ARE SMART CONTRACTS AND DAPPS?
&lt;/h3&gt;

&lt;p&gt;Smart contracts are simply automated computer codes that run on a decentralized blockchain network. They are digital contracts which are executed automatically, without a third party, when the terms of an agreement are fulfilled. For example, you could purchase an NFT virtually and immediately the payment is received, you are in possession of your newly minted NFT without having to go through an agent or third party.&lt;/p&gt;

&lt;p&gt;DApps are applications but unlike regular applications, they run on a decentralized peer-to-peer network. You can think of a dApp as an app with a combination of a frontend interface users can interact with and a smart contract as the backend.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What is a decentralized network?&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;The concept of decentralized networks can be a bit confusing but the easiest way to explain is by comparing it to a centralized network. A centralized network is one which operates off a single server that handles all the data and processing needs. Majority of the apps we use currently are hosted from one central server. If that server goes down, that site or app is down until the server is back up. &lt;/p&gt;

&lt;p&gt;However, a decentralized network is the exact opposite. Sites are hosted by multiple independent servers, also called nodes, each with the same exact copy of information. Thus, if there’s a problem with one server, the site would still function without interruptions.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf80l6ud6traxa53spey.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf80l6ud6traxa53spey.jpg" alt="dapps" width="800" height="548"&gt;&lt;/a&gt;&lt;br&gt;
Now that you have a better idea of what smart contracts are, let's start writing one! &lt;/p&gt;

&lt;p&gt;For this tutorial, we’ll create a smart contract using Solidity in 4 steps; writing, compiling, deploying and verification. All these steps can be performed using various software but to make this as simple as possible, all we require are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://remix.ethereum.org/"&gt;Remix&lt;/a&gt;: an extremely convenient medium for writing smart contracts with solidity. You could either use the browser extension or download the free desktop application.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en"&gt;Metamask&lt;/a&gt; chrome extension&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://rinkeby.etherscan.io/"&gt;Rinkeyby&lt;/a&gt; testnet&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  WRITING THE SMART CONTRACT WITH SOLIDITY
&lt;/h3&gt;

&lt;p&gt;In this mini tutorial, we will create a simple file that sets a message input and returns that input when a view function is called.&lt;/p&gt;

&lt;p&gt;So let's get started! &lt;/p&gt;

&lt;p&gt;First, navigate to the remix website  on your browser. Remix comes with a default workspace, which you can work with or create another. &lt;/p&gt;

&lt;p&gt;You would notice that several files and folders have been created by default, including a contracts folder.  Within the contracts folder, create a file with a .sol extension and input the following code.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flkcf5yter417ur4l09o6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flkcf5yter417ur4l09o6.jpg" alt="Remix IDE" width="682" height="395"&gt;&lt;/a&gt;&lt;br&gt;
Okay, time to deconstruct this code!&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;SPDX License identifier&lt;/strong&gt; refers to the license for the file.  It could be open source, business, private etc. Here we used the open source GPL 3.0 license.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pragma  solidity&lt;/strong&gt; specifies the solidity version for the file. It is a very important requirement as the file would not compile without it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HelloWorld&lt;/strong&gt; is the name assigned to this contract and &lt;strong&gt;"string public message"&lt;/strong&gt; defines a state variable for the contract. &lt;/p&gt;

&lt;p&gt;State variables are variables which are stored in the smart contract permanently. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"&lt;em&gt;string&lt;/em&gt;" specifies that the datatype for this variable is a string. &lt;/li&gt;
&lt;li&gt;"&lt;em&gt;public&lt;/em&gt;" is a term in solidity which defines the visibility of the contract. When public is assigned to a function or variable, it means that the function or variable can be called from within and outside the contract.
&lt;/li&gt;
&lt;li&gt;"&lt;em&gt;message&lt;/em&gt;" is the name assigned to the variable. Note* the variable can be named anything. For example, foo, bar, house etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;setMessage&lt;/strong&gt; and &lt;strong&gt;viewMessage&lt;/strong&gt; are functions. Functions are groups of reusable codes that can be used anywhere in the contract. Function setMessage assigns a value to the variable message while viewMessage simply returns the current message  value.&lt;/p&gt;

&lt;h3&gt;
  
  
  COMPILING THE SMART CONTRACT
&lt;/h3&gt;

&lt;p&gt;Now that we  have our codes, we need to compile them into a format, which the Ethereum Virtual Machine (EVM) can read. &lt;/p&gt;

&lt;p&gt;An EVM is an isolated virtual sandbox for running Ethereum smart contracts. Basically It's responsible for executing all contracts without access to the internet or other outside influences. &lt;/p&gt;

&lt;p&gt;The EVM cannot read high level languages like solidity. For it to understand smart contracts, the codes need to be converted into a machine readable format. &lt;/p&gt;

&lt;p&gt;In Blockchain programming, we use a tool called a compiler, which simply interpretes our source codes into &lt;em&gt;opcodes&lt;/em&gt;, the instruction/operational language the EVM understands.&lt;/p&gt;

&lt;p&gt;Luckily, Remix has a built-in compiler so we don't require another tool to convert our codes before deployment. All we need to do is select the file we intend to compile, specify the compiler version, the language we used for writing our codes (solidity in this case), any other optional parameters and click on the compile button. &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8l9l2wd7c63hz3v0jz67.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8l9l2wd7c63hz3v0jz67.jpg" alt="compiled successfully" width="465" height="848"&gt;&lt;/a&gt;&lt;br&gt;
Once our smart contract has compiled successfully, a green tick indicator is visible, then we can move on to the next step - deployment!&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>smartcontracts</category>
      <category>dapps</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>5 Foolproof Reasons Why You Must Use Digital Marketing To Promote Your Business.</title>
      <dc:creator>pauline-banye</dc:creator>
      <pubDate>Sun, 13 Mar 2022 23:14:16 +0000</pubDate>
      <link>https://dev.to/paulinebanye/5-foolproof-reasons-why-you-must-use-digital-marketing-to-promote-your-business-4jbm</link>
      <guid>https://dev.to/paulinebanye/5-foolproof-reasons-why-you-must-use-digital-marketing-to-promote-your-business-4jbm</guid>
      <description>&lt;p&gt;Are you looking for an effective way to drive business, increase your client base and supercharge your earnings? Then you need to incorporate an effective digital marketing strategy immediately!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frp2hqqigj3mbezd4l4xm.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frp2hqqigj3mbezd4l4xm.jpeg" alt="digital marketing" width="720" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What is digital marketing?
&lt;/h3&gt;

&lt;p&gt;We hear the word digital marketing quite frequently but, what is it exactly? In layman terms, digital marketing is simply the promotion of goods and services using the internet. &lt;/p&gt;

&lt;p&gt;Traditional methods of marketing required you to physically engage with your customers by contacting them at specific locations just to make sales. &lt;/p&gt;

&lt;p&gt;Don’t get me wrong, it works... but allow me to outline five ways digital marketing can achieve the same result, on a much larger and effective scale.&lt;/p&gt;

&lt;h3&gt;
  
  
  Increase potential customers.
&lt;/h3&gt;

&lt;p&gt;Do you remember the days when you would print flyers and go to church to advertise ForeverLiving products? Why? Because that’s where the largest crowd was! &lt;/p&gt;

&lt;p&gt;Not anymore! Digital marketing has made it easy for you to connect with potential clients where they spend most of their time – on social media! &lt;/p&gt;

&lt;p&gt;Facebook and Instagram alone have a staggering 2.8 billion and 1 billion active monthly users respectively. If you target a fraction of clients on these platforms, imagine what your account balance would look like! &lt;/p&gt;

&lt;p&gt;Using regular marketing methods, how many church services would you have to attend to reach that same number of potential customers?&lt;/p&gt;

&lt;h3&gt;
  
  
  Target your ads.
&lt;/h3&gt;

&lt;p&gt;Digital marketing provides you with tools to help you target your ideal client base. You are no longer advertising to random people, you begin to target specific customers who are in need of your product and are more likely to buy from you!&lt;/p&gt;

&lt;h3&gt;
  
  
  Reduce your budget.
&lt;/h3&gt;

&lt;p&gt;You can advertise digitally no matter how small your budget is. This levels the playing field, especially for small businesses, who typically wouldn’t be able to compete with the advertising budgets of larger companies. &lt;/p&gt;

&lt;h3&gt;
  
  
  Adjust your ads.
&lt;/h3&gt;

&lt;p&gt;With digital marketing, you have the ability to run multiple ad campaigns and as a bonus, gather information which can be used to adjust your advert strategy easily. You can review the ads that underperform and adjust immediately. This is not possible with traditional marketing campaigns.&lt;/p&gt;

&lt;h3&gt;
  
  
  Track your conversion rates.
&lt;/h3&gt;

&lt;p&gt;The rate at which people purchase your products compared to the total visitors to your site, is referred to as the conversion rate. You can use this powerful tool to identify where most sales are generated and what your clients like to purchase. &lt;/p&gt;

&lt;p&gt;Traditional marketing cannot capture this accurately. How much consistent profit could you make if you stock items that your customers buy readily without thinking twice?&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mjrbv7to7ffwx3p7o9s.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mjrbv7to7ffwx3p7o9s.jpg" alt="digital marketing funnel" width="759" height="530"&gt;&lt;/a&gt;&lt;br&gt;
Quite frankly, there are numerous upsides to digital marketing. Leverage on this and the growth of your business would amaze you! &lt;/p&gt;

&lt;h4&gt;
  
  
  To recap
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;It gives you the opportunity to reach a wider audience.
&lt;/li&gt;
&lt;li&gt;Digital marketing provides tools to help you target your ideal customers.&lt;/li&gt;
&lt;li&gt;It is cost effective compared to traditional marketing methods.&lt;/li&gt;
&lt;li&gt;It enables you to adjust your ad strategy easily.&lt;/li&gt;
&lt;li&gt;Using digital marketing, you can track your conversion rate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So take the plunge today! Start taking advantage of this surefire method to increase your sales and start smiling to the bank!&lt;/p&gt;

</description>
      <category>digitalmarketing</category>
      <category>business</category>
      <category>marketing</category>
    </item>
    <item>
      <title>Bitcoin Hacker?</title>
      <dc:creator>pauline-banye</dc:creator>
      <pubDate>Sun, 13 Mar 2022 17:52:22 +0000</pubDate>
      <link>https://dev.to/paulinebanye/bitcoin-hacker-bo</link>
      <guid>https://dev.to/paulinebanye/bitcoin-hacker-bo</guid>
      <description>&lt;p&gt;Ben's finally getting married! He's been a "shag them and leave them" kind of guy since freshman year in college. I can't believe it even though I just got home,  jeans covered in glitter from the stripper at his bachelor's party.  &lt;em&gt;Damn, it's really happening.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Feeling a little bit tipsy but way too edgy to sleep, I play around with the dapp I'm currently building. Solidity - what a novel concept. 2 hours in and I can barely keep my eyes open. Alright..time to call it a night.&lt;/p&gt;

&lt;p&gt;I wake up with a pounding headache, grab some tylenol &amp;amp; orange juice, time to check my coins. I log in to my wallet and almost spill juice all over my keyboard. "Holy shit!! What the hell?!" 500000 BTC and 100+ NFTs including 15 bored ape guys? Is this some kind of a joke?&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo2d3vhsbnmwzxirmdrq1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo2d3vhsbnmwzxirmdrq1.png" alt="Bored Ape Yacht Club NFT #8585 sold for a breathtaking 696 ETH ($2.7 million)" width="600" height="600"&gt;&lt;/a&gt;&lt;br&gt;
I blink rapidly. Log out and log back in. Yep, still there. Someone's gotta be messing with me. I check the address. The numbers are unfamiliar. Wait!...this isn't my wallet.&lt;/p&gt;

&lt;p&gt;But..how's this even possible? Thoughts swirling..how did I get access? &lt;br&gt;
&lt;em&gt;Holy shit! Did my drunken binge suddenly turn me into the 1st Bitcoin hacker? Should I report this? Transfer everything to my wallet? I mean anyone who has this kind of money must be into some really bad shit right?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>fiction</category>
      <category>copywriter</category>
      <category>bitcoin</category>
    </item>
  </channel>
</rss>
