Notes https://github.com/annu12340/Block-chain-code/blob/master/.NOTES.md
-
Day 1: Simply display the content of a function in a smart contract in a web page
Day 1.5 : Better explaination of day 1 ('App' calls function in js and 'instance' calls function in solidity)
-
Day 2: Buttons
- Display content of a function in a smart contract when btn is clicked - Counter with increment and decrement btns - Calculator (with +,-,\*,/ options)
-
Day 3: Arrays
- Array of structs - Arrays (advanced) - Todo list using arrays - Crud model
-
Day 4: Mapping
- Simple Mapping - Mapping of structs ppl
-
Day 5: Conditional stmts
-
Day 6: Payable
-
Miscellaneous
- Fibonacci series - Simple Bank example - Hotel room example - Voting
- Use the
truffle unbox pet-shop
as the template - Write the contract in the remix ide
- Once, it is successfully runned, write this code inside the /Contracts folder (.sol as extension).
- Inside the /Migrations folder, write the migration code (.js as extension)
truffle compile
truffle migrate --reset
With this the bc part would be over
- Inside the /src folder, edit the index.html and js/app.js folder, to create the front end
- Open the ganache network and connect it with metamask
- Run the
npm run dev
cmd to run the project
-
Airbnb : https://github.com/annu12340/ethindia-workshop/tree/complete-dapp
-
Voting system : https://github.com/annu12340/Dapp-voting-system
-
Pete's pet shop : https://github.com/annu12340/Pete-s-shop
-
To do list : https://github.com/dappuniversity/eth-todo-list (good one)
-
Building an escrow https://github.com/blockgeeks/eth101/blob/master/escrow%20contract/escrow.sol (good one)
- Video https://www.youtube.com/watch?v=6Mry6oAQVXU
- Dapp university : https://www.youtube.com/watch?v=gU64BZW5lQQ
-
Conference : https://github.com/eshon/conference
(explanation : https://medium.com%2F@medium.com/@ConsenSys/a-101-noob-intro-to-programming-smart-contracts-on-ethereum-695d15c1dab4#.5b1uv8cqv)
-
A collection of projects : https://github.com/nurASingh/block_chain/tree/master/contracts
Solidity official doc : https://solidity.readthedocs.io/en/v0.5.3/solidity-by-example.html
- Voting - Simple Open Auction - Safe Remote Purchase
- dapp university : https://github.com/jklepatch/eattheblocks/tree/master/dapp-30
- blockgeeks : https://www.youtube.com/channel/UCd8CDrm6rvwBZc6g7BYAkfQ
- CodeXpert : https://www.youtube.com/channel/UCb3Rrg2t4PZ59Sna497DUZA
- GH : https://github.com/mattlockyer/cryptobnb
- Awesome Blockchain AI : https://github.com/steven2358/awesome-blockchain-ai