{"id":3814,"date":"2021-03-05T03:59:53","date_gmt":"2021-03-05T03:59:53","guid":{"rendered":"https:\/\/afluxcoin.com\/59\/how-to-deploy-ethereum-smart-contract%e2%80%8a-%e2%80%8aa-step-by-step-guide\/"},"modified":"2021-03-05T03:59:53","modified_gmt":"2021-03-05T03:59:53","slug":"how-to-deploy-ethereum-smart-contract%e2%80%8a-%e2%80%8aa-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/afluxcoin.com\/es\/59\/how-to-deploy-ethereum-smart-contract%e2%80%8a-%e2%80%8aa-step-by-step-guide\/","title":{"rendered":"How To Deploy Ethereum Smart Contract?\u200a\u2014\u200aA Step By Step Guide!"},"content":{"rendered":"

Step 1: Create a wallet with MetaMaski. Install MetaMask Extension in your Chrome browser and enable it.[This serves as an Ethereum browser and a wallet. It enables you to manage smart contracts and dApps on the web. That way, you don\u2019t need to download the Ethereum blockchain.]ii. Next, you create a wallet and set your passwordiii. Now confirm that the \u201cMain Ethereum Network\u201d at the top right corner of the page is checked.Step 2: Choose a test networkThis is where you select a network with which you will test your smart contract. Select from any of these options:Ropsten Test NetworkKovan Test NetworkRinkeby Test NetworkGoerli Test NetworkStep 3: Send dummy Ethers to your walletYou can\u2019t test your smart contract without ethers hence the need to get some dummy ethers into your MetaMask wallet:i. Click on Buyii. Then select \u201cGet Ether\u201d from the Test Faucet optioniii. It opens you to another page. Select \u201crequest 1 ether\u201d and complete the form that will pop up.iv. The dummy ether is sent to your account automaticallyYou are now ready to write your smart contractStep 4: Use editor remix to write the smart contract in Solidityi. Open Remix Browser (https:\/\/remix.ethereum.org)ii. Click on the plus icon on the top left side to create a .sol extension file.iii. A field will be opened where you are to input the codes for your smart contract.iv. When you are done with the codes, select a compiler from the left menu to compile the solidity Ethereum smart contract code.Here is a sample for an ERC20 token:Step 5: Deploy your contractClick on the deploy button at the right-hand side of the Remix window.Then wait for the process to complete. You will find the address of your smart contract at the right-hand side of remix window.Step 6: Test Your Ethereum Smart ContractGo to\u2026<\/p>","protected":false},"excerpt":{"rendered":"

Step 1: Create a wallet with MetaMaski. Install MetaMask Extension in your Chrome browser and enable it.[This serves as an Ethereum browser and a wallet. It [\u2026]<\/span><\/p>","protected":false},"author":0,"featured_media":2796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/posts\/3814"}],"collection":[{"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/comments?post=3814"}],"version-history":[{"count":0,"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/posts\/3814\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/es\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/media?parent=3814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/categories?post=3814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afluxcoin.com\/es\/wp-json\/wp\/v2\/tags?post=3814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}