- alchemy: connect to blockchain
- hardhat: deploy smart contract
- ethers: call smart contract
- metamask: connect to wallet
- fleek: host static website
cd && git clone https://github.com/tannertanner1/simple-storage.git
cd simple-storage # && code .
npm i
# Create a new repository: https://github.com/new
mkdir <dir> && cd <dir> # && code .
npm init -y
git init
git remote add origin https://github.com/<user>/<dir>.git
git add . && git commit -m "" && git push -u origin main
npm i ethers@5.7.2 dotenv@16.0.3 -S
touch README.md .env.example .env .gitignore
npm i hardhat@2.12.5 @nomicfoundation/hardhat-toolbox@2.0.0 -D
npx hardhat # Create an empty hardhat.config.js
mkdir contracts && touch contracts/SimpleStorage.sol
npx hardhat compile # Compiled 1 Solidity file successfully
mkdir test && touch test/SimpleStorage.js
npx hardhat test # 2 passing
mkdir scripts && touch scripts/deploy.js
npx hardhat run scripts/deploy.js --network sepolia
touch index.html # index.js index.css
git add . && git commit -m "" && git push # ga && gc "" && gp
# Add New Site: https://app.fleek.co
https://docs.openzeppelin.com/learn/deploying-and-interacting
https://hardhat.org/tutorial/testing-contracts
https://docs.metamask.io/guide/rpc-api.html
https://docs.fleek.co/hosting/site-deployment/#site-deployment