AltCoin




اجماع

majority rules

validate transactions properly

computer nodes 51% consensus mechanisms

advantage proof of work:

  • anybody can attached machines and gain rewards

blockchain trilemma: 1- scalable/speed 2- decentralization secure


fastest: solana (arweave),


AltCoin

Hands on

setup:macOS

1: install nvm: Node Version Manager

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash

nvm install 12

nvm use 12

nvm alias default 12

npm install npm --global # Upgrade npm to the latest version

2. install hardhat: Ethereum development environment for professionals

npm install --save-dev hardhat

3.