learn-solidity
                                
                                 learn-solidity copied to clipboard
                                
                                    learn-solidity copied to clipboard
                            
                            
                            
                        Learn Solidity Step by Step
Learn Solidity
Learn Solidity Step by Step
Prerequisite
To Run these examples please follow following steps
Installation
- Install Geth (https://ethereum.github.io/go-ethereum/downloads/)
- Install Truffle npm install -g truffle
- Start Test Network - There are three options
- Use Test network using following comming
- Geth --testnetOR
- Geth --rinkeby
 
- Create Private network
- Use ganache-cli
- npm install -g ganache-cli
- Run ganache-cli using following command
- ganache-cli
- This will create Test network
 
 
 
- Use Test network using following comming
Compile, Deploy and Test Project
- 
Go to project folder e.g - cd 01_HelloWorld
 
- 
Inside that folder Compile with following command - truffle.cmd compileon Windows
- truffle compile
 
- 
Deploy Contract with following command - truffle.cmd migrateon Windows
- truffle migrate
 
- 
Test Contract with following command - truffle.cmd teston Windows
- truffle test