Solidity Tutorial
Selected Reading
- Solidity - Discussion
- Solidity - Useful Resources
- Solidity - Quick Guide
- Solidity - Error Handling
- Solidity - Events
- Solidity - Assembly
- Solidity - Libraries
- Solidity - Interfaces
- Solidity - Abstract Contracts
- Solidity - Constructors
- Solidity - Inheritance
- Solidity - Contracts
- Solidity - Restricted Access
- Solidity - Withdrawal Pattern
- Cryptographic Functions
- Mathematical Functions
- Function Overloading
- Solidity - Fallback Function
- Solidity - Pure Functions
- Solidity - View Functions
- Solidity - Function Modifiers
- Solidity - Functions
- Solidity - Style Guide
- Solidity - Special Variables
- Solidity - Ether Units
- Solidity - Conversions
- Solidity - Mappings
- Solidity - Structs
- Solidity - Enums
- Solidity - Arrays
- Solidity - Strings
- Solidity - Decision Making
- Solidity - Loops
- Solidity - Operators
- Solidity - Variable Scope
- Solidity - Variables
- Solidity - Types
- Solidity - Comments
- Solidity - First Application
- Solidity - Basic Syntax
- Solidity - Environment Setup
- Solidity - Overview
- Solidity - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Solidity - First Application
Sopdity - First Apppcation
We re using
to Compile and Run our Sopdity Code base.Step 1 − Copy the given code in Remix IDE Code Section.
Example
pragma sopdity ^0.5.0; contract SopdityTest { constructor() pubpc{ } function getResult() pubpc view returns(uint){ uint a = 1; uint b = 2; uint result = a + b; return result; } }
Step 2 − Under Compile Tab, cpck Start to Compile button.
Step 3 − Under Run Tab, cpck Deploy button.
Step 4 − Under Run Tab, Select SopdityTest at 0x... in drop-down.
Step 5 − Cpck getResult Button to display the result.
Output
0: uint256: 3Advertisements