diff --git a/README.md b/README.md index dadf216..d12d108 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # Faucet Webpage -A simple webpage for Sepolia Testnet's faucet. +It's HW3 for 1112 NCNU CSIE "Principles and Practice of Blockchains" -It's HW1 for 1112 NCNU CSIE "Principles and Practice of Blockchains" +link to Metamask and manage your ERC-20 token on Sepolia Testnet. -link to Metamask and create a transaction to the smart contract to get SepoliaETH. - -![](docs/Screenshot_20230226_025506.png) +![](docs/Screenshot_20230508_220420.png) +![](docs/Screenshot_20230508_220621.png) ## Project Setup @@ -15,17 +14,6 @@ link to Metamask and create a transaction to the smart contract to get SepoliaET npm install ``` -### fill in your smart contract's address - -```sh -cp .env.example .env -vim .env -''' -VITE_BANK_ADDR = "YOUR BANK ADDRESS" -''' - -``` - ### Compile and Hot-Reload for Development ```sh @@ -36,12 +24,4 @@ npm run dev ```sh npm run build -``` - -## Notice - -Now, I am not sure of difference between `window.ethereum` & `web3` - -I use `window.ethereum` to send transaction, check accounts, check network and use `web3` to encode ABI. - -I am not sure whether it's a suitable implementation \ No newline at end of file +``` \ No newline at end of file diff --git a/docs/Screenshot_20230226_025506.png b/docs/Screenshot_20230226_025506.png deleted file mode 100644 index cea7ee8..0000000 Binary files a/docs/Screenshot_20230226_025506.png and /dev/null differ diff --git a/docs/Screenshot_20230508_220420.png b/docs/Screenshot_20230508_220420.png new file mode 100644 index 0000000..1db6cae Binary files /dev/null and b/docs/Screenshot_20230508_220420.png differ diff --git a/docs/Screenshot_20230508_220621.png b/docs/Screenshot_20230508_220621.png new file mode 100644 index 0000000..342edbc Binary files /dev/null and b/docs/Screenshot_20230508_220621.png differ