https://docs.google.com/presentation/d/1tZCOUgVF_1sgipIbyFr8JYp6vIibzg3VZ4SM9p_1tqA/edit?usp=sharing
- Things you need to know
- Dependencies
- Link to code repository
- Benefits of Ethereum Smart Contracts
- Setup Development Environment
- Building The Smart Contract
- Building the Interface
- Summary
- Basic programming
- Variables
- Classes
- Functions and methods
- HTML
- CSS
- JavaScript
- IDEs
- Remix online Solidity IDE - https://remix.ethereum.org
- Ganache - http://truffleframework.com/ganache/
- Web3.js
- Twitter Bootstrap
https://github.com/Samyoul/Blockchain-North-East-Solidity-For-Beginners
Applications
- Finance
- Education
- Recruitment
- Medicine
- Gambling
- Launch Remix
- Launch Ganache
- Define the pragma
- Create the contract “BlockchainNorthEast”
- Set variables
- organisers (mapping(address => bool))
- attendees (mapping(address => bool))
- attendeeCount (uint128)
- Getters
- getAttendeeCount view
- isAttendee view
- isOrganiser view
- Setters -addAttendee - (as long as they are not in the list) -removedAttendee - (as long as they are in the list) -Modifiers -onlyByAttendee(address _address) -Demonstrate Remix test functionality
- Copy in some boilerplate HTML, includes TWBS for prettification
- Add web3.js (https://github.com/ethereum/web3.js/tree/1.0/dist)
- (https://raw.githubusercontent.com/ethereum/web3.js/1.0/dist/web3.min.js)
- Add provider / connect to a node
- Define ethereum account we will write with
- Define contract we will be working with
- Define contract location (Contract’s ethereum address)
- Interacting with the Ethereum contract methods.
- Getting data from the contract
- Setting data in the contract
- Displaying data from the contract
- Uses and benefits of Ethereum Smart Contracts
- Basic Development Tools, Remix and Ganache
- Building a contract
- Pragma
- Variables
- Getters
- Setters
- Modifiers
- Building a UI
- Web3.js
- Connecting to a node
- Define Ethereum address, contract ABI, contract address
- Interacting with the contract object with methods