├── client ├── .gitignore ├── images │ ├── animated.svg │ ├── hello.svg │ └── logo.png ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── src │ ├── App.css │ ├── App.tsx │ ├── components │ │ ├── Footer │ │ │ └── Footer.tsx │ │ ├── Loader │ │ │ └── Loader.tsx │ │ ├── Navbar │ │ │ └── Navbar.tsx │ │ ├── Services │ │ │ └── Services.tsx │ │ ├── Transactions │ │ │ └── Transactions.tsx │ │ ├── Welcome │ │ │ └── Welcome.tsx │ │ └── index.tsx │ ├── context │ │ └── TransactionContext.tsx │ ├── favicon.svg │ ├── hooks │ │ └── useFetch.tsx │ ├── index.css │ ├── logo.svg │ ├── main.tsx │ ├── utils │ │ ├── Transactions.json │ │ ├── constants.ts │ │ ├── dummyData.ts │ │ └── shortenAddress.ts │ └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json └── vite.config.ts └── smart_contract ├── .gitignore ├── README.md ├── contracts └── Transactions.sol ├── hardhat.config.js ├── package-lock.json ├── package.json ├── scripts └── deploy.js └── test └── sample-test.js /client/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | .env 7 | .env.local 8 | 9 | .vercel 10 | -------------------------------------------------------------------------------- /client/images/animated.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/images/hello.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rman1223/web3_crypto/15c6140aa4d73c78511633a5f93e1a7d056ef53c/client/images/logo.png -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |Market
13 |Exchange
14 |Tutorials
15 |Wallet
16 |Come join us
20 |info@crypto.com
21 |@Cryptoapp 2022
27 |All rights reserved
28 |{subtitle}
22 |From: {shortenAddress(addressFrom)}
44 | 45 | 46 | 50 |To: {shortenAddress(addressTo)}
51 | 52 | 53 |Amount: {amount} ETH
54 | 55 | {message && ( 56 | <> 57 |Message: {message}
59 | > 60 | )} 61 |{timestamp}
72 |62 | Explore the crypto world. Buy and sell cryptocurrencies easily on Krypto. 63 |
64 | {!currentAccount && ( 65 | 71 | )} 72 | 73 |{shortenAddress(currentAccount)}
93 |Ethereum
94 |