![]() |
|
[Tut] How to Install the Solidity Compiler? [Overview + Videos] - Printable Version +- Sick Gaming (https://sickgaming.net) +-- Forum: Programming (https://sickgaming.net/forum-76.html) +--- Forum: Python (https://sickgaming.net/forum-83.html) +--- Thread: [Tut] How to Install the Solidity Compiler? [Overview + Videos] (/thread-99989.html) |
[Tut] How to Install the Solidity Compiler? [Overview + Videos] - xSicKxBot - 09-26-2022 How to Install the Solidity Compiler? [Overview + Videos] 5/5 – (1 vote) There are four major ways to install the Solidity compiler:
In this tutorial, we’ll have a quick look at each of them and give you a link to a more detailed resource so you can set up your Solidity compiler as quickly and efficiently as possible. Video: For your convenience, I embedded the video tutorial provided by our Solidity expert Matija so you don’t even need to leave this page.Without further ado, let’s get started! ![]() Method 1: Install Solidity Compiler via npm As you watch the video or go through this tutorial, feel free to download the following slides as well — for your convenience: Finxter-Solidity-Slides-Install-Compiler-NPMDownload Full Tutorial: How to Install the Solidity Compiler via npm?Method 2: Install Solidity Compiler via Docker on Ubuntu Solidity-Blog-Finxter-Compiler-DockerDownload Before we go into details about the Docker installation of Code: solc Docker is an open platform for developing, shipping, and running applications… Docker provides the ability to package and run an application in a loosely isolated environment called a container… Containers are lightweight and contain everything needed to run the application, so you do not need to rely on what is currently installed on the host.Source: https://docs.docker.com/get-started/overview/ There are some parts of the description I’ve deliberately left out (separated by the symbol …) because they’re not essential to our understanding of the technology. Full Tutorial: How to Install the Solidity Compiler via Docker on Ubuntu?Method 3: Install Solidity Compiler via Source Code Compilation This is a very complex way to install the Solidity compiler and I wouldn’t recommend it for most people. Due to the complexity, I’ll only give a quick overview of the associated article (tutorial).Feel free to dive into it after scanning through these three contributions:
Full Tutorial: How to Install the Solidity Compiler via Source Code Compilation?Method 4: Install Solidity Compiler via Static Binary and Linux Packages You’ll just download the compiler’s static binary, or in short, binary, and simply run it, without any additional prerequisites or preparations required. First, downloading the file Code: solc-static-linuxCode: $ cd ~ && wget https://github.com/ethereum/solidity/releases/download/v0.8.16/solc-static-linux
$ chmod +x ~/solc-static-linuxSecond, running Code: solcCode: $ ~/solc-static-linux 1_Storage.sol -o output – abi – bin
Compiler run successful. Artifact(s) can be found in directory "output".When checking our Code: solidity_srcCode: .abiCode: .bin Full Tutorial: How to Install the Solidity Compiler via Static Binary and Linux Packages?Learn Solidity Course Solidity is the programming language of the future. It gives you the rare and sought-after superpower to program against the “Internet Computer”, i.e., against decentralized Blockchains such as Ethereum, Binance Smart Chain, Ethereum Classic, Tron, and Avalanche – to mention just a few Blockchain infrastructures that support Solidity. In particular, Solidity allows you to create smart contracts, i.e., pieces of code that automatically execute on specific conditions in a completely decentralized environment. For example, smart contracts empower you to create your own decentralized autonomous organizations (DAOs) that run on Blockchains without being subject to centralized control. NFTs, DeFi, DAOs, and Blockchain-based games are all based on smart contracts. This course is a simple, low-friction introduction to creating your first smart contract using the Remix IDE on the Ethereum testnet – without fluff, significant upfront costs to purchase ETH, or unnecessary complexity.
|