[English version below | 英文在下方]
BP DApp 支持用户发行BP代币、钱包交互、转账,并计划实现BP抵押借ETH的Aave风格借贷功能。适合区块链初学者和开发者学习与实践。
- 🚀 一键发行BP(BestPossible)ERC-20代币
- 🔗 支持MetaMask钱包连接与交互
- 💸 BP代币转账
- 🏦 计划支持BP抵押借ETH(Aave风格)
- 🧑💻 代码开源,易于二次开发
- 克隆本项目
- 安装依赖:
npm install - 启动本地Ganache测试网络
- 部署合约:
npx hardhat run scripts/deploy.js --network localhost - 打开
index.html,连接MetaMask体验DApp
- Solidity(智能合约)
- Hardhat(开发与部署)
- Ethers.js(前端合约交互)
- Tailwind CSS(前端样式)
欢迎提Issue、PR,或在Discussions区交流想法!
BP DApp . Users can issue BP tokens, interact with wallets, transfer tokens, and (in the future) use BP as collateral to borrow ETH in an Aave-like lending system. This project is suitable for blockchain beginners and developers to learn and practice.
- 🚀 One-click BP (BestPossible) ERC-20 token deployment
- 🔗 MetaMask wallet connection and interaction
- 💸 BP token transfer
- 🏦 BP as collateral to borrow ETH (Aave style, coming soon)
- 🧑💻 Open source and easy to extend
- Clone this repo
- Install dependencies:
npm install - Start local Ganache testnet
- Deploy contracts:
npx hardhat run scripts/deploy.js --network localhost - Open
index.htmland connect MetaMask to experience the DApp
- Solidity (Smart Contracts)
- Hardhat (Dev & Deploy)
- Ethers.js (Frontend interaction)
- Tailwind CSS (Frontend style)
Feel free to open issues, pull requests, or join the discussion!
教程:https://bestpossible.space/article/26
通过本地ganache网络,部署基础的erc-20合约,发行自己的代币,再导入metamask中体验转账功能。
通过js完成前端与合约交互,实现简单查询余额和转账功能