nft-wallet
所属分类:NFT
开发工具:TypeScript
文件大小:7355KB
下载次数:0
上传日期:2022-10-19 05:08:00
上 传 者:
sh-1993
说明: 米宝的网络应用程序。
(The Web app of Mibao.)
文件列表:
nft-wallet-develop (0, 2023-07-26)
nft-wallet-develop\.buildpacks (105, 2023-07-26)
nft-wallet-develop\.editorconfig (222, 2023-07-26)
nft-wallet-develop\.env.example (1097, 2023-07-26)
nft-wallet-develop\.eslintrc.js (704, 2023-07-26)
nft-wallet-develop\.vscode (0, 2023-07-26)
nft-wallet-develop\.vscode\settings.json (322, 2023-07-26)
nft-wallet-develop\LICENSE (10765, 2023-07-26)
nft-wallet-develop\craco.config.js (791, 2023-07-26)
nft-wallet-develop\package.json (3727, 2023-07-26)
nft-wallet-develop\public (0, 2023-07-26)
nft-wallet-develop\public\64.png (3849, 2023-07-26)
nft-wallet-develop\public\Gv6Fm6EgOa.txt (33, 2023-07-26)
nft-wallet-develop\public\alipay.htm (22925, 2023-07-26)
nft-wallet-develop\public\dQSxtZyHVf.txt (33, 2023-07-26)
nft-wallet-develop\public\favicon.ico (4286, 2023-07-26)
nft-wallet-develop\public\fonts (0, 2023-07-26)
nft-wallet-develop\public\fonts\Poppins-Regular.ttf (256920, 2023-07-26)
nft-wallet-develop\public\icons (0, 2023-07-26)
nft-wallet-develop\public\icons\120.png (6506, 2023-07-26)
nft-wallet-develop\public\icons\152.png (7943, 2023-07-26)
nft-wallet-develop\public\icons\16.png (1000, 2023-07-26)
nft-wallet-develop\public\icons\167.png (9965, 2023-07-26)
nft-wallet-develop\public\icons\180.png (9965, 2023-07-26)
nft-wallet-develop\public\icons\192.png (9965, 2023-07-26)
nft-wallet-develop\public\icons\24.png (1833, 2023-07-26)
nft-wallet-develop\public\icons\32.png (1833, 2023-07-26)
nft-wallet-develop\public\icons\512.png (33036, 2023-07-26)
nft-wallet-develop\public\icons\64.png (3849, 2023-07-26)
nft-wallet-develop\public\index.html (2836, 2023-07-26)
... ...
# Mibao
The web app of Mibao.
## Quick start
### Prerequisites
You will need node >= 14 and yarn >= 1.22 to build and run Mibao. Run command:
```bash
$ yarn
```
to install dependencies.
### Start local development server
After Node.js and yarn has been installed, run this command to start a local development server:
```bash
$ yarn dev
```
## Development
### Tech stack
* [React](https://reactjs.org/), UI library
* [React Router](https://reactrouter.com/), router
* [Chakra UI](https://chakra-ui.com/), UI Components
* [Create React App](https://github.com/facebook/create-react-app)/[craco](https://github.com/gsoft-inc/craco), Bundle tool
* [Jotai](https://github.com/pmndrs/jotai), State managements
* [pw-core](https://github.com/lay2dev/pw-core), CKB SDK for dApps
In summary, Mibao is a React-based single-page application that implements routing via `react-router`. Mibao generates pure HTML/CSS/JavaScript files and does not require a server with a specific back-end language to run it.
### File Structure
```bash
./src
├── App.css # entry css file
├── App.tsx # entry React component
├── apis # API impl
├── assets # static assets
├── cache # storage cache
├── components # common components
├── constants # constants variable
├── favicon.svg
├── hooks # custom React hooks
├── i18n # locale files
├── index.tsx # entry file
├── mock
├── models # TypeScript models
├── pw # pw-core interactions
├── react-app-env.d.ts #
├── routes # react router config
├── styles # common styles
├── utils
└── views # route component
```
Note that `/.env.example` includes both the mainnet/testnet environment variables. The compiled files are generated in the `/build` folder.
## Contribution
Please make sure that the Pull Request follows the requirements in [PULL REQUEST TEMPLATE](/.github/PULL_REQUEST_TEMPLATE.md).
## License
Mibao is released under the terms of the Apache-2.0 license.
近期下载者:
相关文件:
收藏者: