/ethereum_projects

various random ethereum projecs from online tutorials

Primary LanguageJavaScript

Ethereum projects

Just some code from various Ethereum tutorials online

casino-ethereum

A basic Ethereum casino with React frontend https://medium.com/@merunasgrincalaitis/the-ultimate-end-to-end-tutorial-to-create-and-deploy-a-fully-descentralized-dapp-in-ethereum-18f0cf6d7e0e

wrestling

react_example

An interactive react front end for basic smart contract https://medium.com/@zubairnahmed/https-medium-com-zubairnahmed-react-ethereum-getting-started-with-the-minimum-toolset-required-part-1-of-4-9562efa23d18

hamburger-coin

creating an erc20 coin with OpenZepplin framework http://www.masonforest.com/blockchain/ethereum/2017/11/13/how-to-deploy-an-erc20-token-in-20-minutes.html

Go blockchain

main.go: Basic Blockchain from: https://medium.com/@mycoralhealth/code-your-own-blockchain-in-less-than-200-lines-of-go-e296282bcffc

main2.go: Blockchain networking from: https://medium.com/@mycoralhealth/part-2-networking-code-your-own-blockchain-in-less-than-200-lines-of-go-17fe1dad46e1

pow.go: Proof of Work blockchain from: https://medium.com/@mycoralhealth/code-your-own-blockchain-mining-algorithm-in-go-82c6a71aba1f

pet-shop-tutorial

Create a pet shop with Truffle and Ganache, with front end from: http://truffleframework.com/tutorials/pet-shop

quorum_7nodes

Use truffle and quorum to create private transactions between nodes from: http://truffleframework.com/tutorials/building-dapps-for-quorum-private-enterprise-blockchains Used docker image to setup private nodes instead of vagrant: https://github.com/ConsenSys/quorum-docker-Nnodes

tutorial_token

Create a basic token with OpenZeppelin and truffle, with front end from: http://truffleframework.com/tutorials/robust-smart-contracts-with-openzeppelin

debugging_smart_contracts

Debugging a basic smart contract with Truffle

from:

Highlights

  • truffle develop creates an interactive repl with a preconfigured blockchain and Ethereum addresses for easy development. Uses Ganache under the hood, with auto-mining on.
  • migrate --reset compile and reset contract in one step within console
  • truffle develop --log run in a separate terminal while truffle develop is running to get logs including useful data like the transaction id of failed transactions
  • debug <Transaction ID> from within truffle develop allows you to debug the smart contract