Original project :https://www.youtube.com/watch?v=Wn_Kb3MR_cU
Smart Contract Code Repo:https://github.com/cxp-13/krypt_smart_contract
This project focuses on fixing the following issues:
- In the smart contract section, the
node_package
for the Hardhat project no longer requires downloading so many libraries. - Upgraded ethers to version 6.
- Replaced the deprecated method of handling the amount of ETH currency sent in
eth_sendTransaction
with BN.js instead ofparsedAmount._hex
. - Some configurations in the
tailwind.config.js
file and certain properties in Tailwind itself have been deprecated. - Solve the problem of obtaining all transaction data conversion
This template provides a minimal setup to get React working in Vite with HMR (Hot Module Replacement) and includes some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh.
- @vitejs/plugin-react-swc uses SWC for Fast Refresh.
To use this template, simply clone this repository and install the dependencies:
git clone https://github.com/<your_username>/<your_project_name>.git
cd <your_project_name>
npm install
Start the development server:
npm run dev
This will start a local server at http://localhost:3000
, where you can preview your application. Any changes made to your code will trigger HMR, updating the browser without refreshing the page.
To build for production, run:
npm run build
This will generate a production-ready build in the dist
directory.
This template comes with some ESLint rules configured for React and Prettier. You can customize these rules by modifying the .eslintrc.js
file.
This template comes with two official plugins pre-installed:
@vitejs/plugin-react
@vitejs/plugin-react-swc
You can choose which plugin to use by modifying the vite.config.js
file. By default, @vitejs/plugin-react
is used.
This template is licensed under the MIT License.