Skip to content

Bestposs1ble/erc-20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BP DeFi DApp

[English version below | 英文在下方]

项目简介

BP DApp 支持用户发行BP代币、钱包交互、转账,并计划实现BP抵押借ETH的Aave风格借贷功能。适合区块链初学者和开发者学习与实践。

功能特色

  • 🚀 一键发行BP(BestPossible)ERC-20代币
  • 🔗 支持MetaMask钱包连接与交互
  • 💸 BP代币转账
  • 🏦 计划支持BP抵押借ETH(Aave风格
  • 🧑‍💻 代码开源,易于二次开发

快速开始

  1. 克隆本项目
  2. 安装依赖:npm install
  3. 启动本地Ganache测试网络
  4. 部署合约:npx hardhat run scripts/deploy.js --network localhost
  5. 打开 index.html,连接MetaMask体验DApp

技术栈

  • Solidity(智能合约)
  • Hardhat(开发与部署)
  • Ethers.js(前端合约交互)
  • Tailwind CSS(前端样式)

贡献与交流

欢迎提Issue、PR,或在Discussions区交流想法!


BP DeFi DApp

About

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.

Features

  • 🚀 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

Quick Start

  1. Clone this repo
  2. Install dependencies: npm install
  3. Start local Ganache testnet
  4. Deploy contracts: npx hardhat run scripts/deploy.js --network localhost
  5. Open index.html and connect MetaMask to experience the DApp

Tech Stack

  • Solidity (Smart Contracts)
  • Hardhat (Dev & Deploy)
  • Ethers.js (Frontend interaction)
  • Tailwind CSS (Frontend style)

Contribution

Feel free to open issues, pull requests, or join the discussion!


screenshot

教程:https://bestpossible.space/article/26 通过本地ganache网络,部署基础的erc-20合约,发行自己的代币,再导入metamask中体验转账功能。image 通过js完成前端与合约交互,实现简单查询余额和转账功能image

About

中文: BP DeFi DApp:用BP币体验ERC-20发行、钱包交互、转账,并计划支持Aave风格的去中心化借贷。适合区块链学习与开发。 English: BP DeFi DApp: Experience ERC-20 token, wallet interaction, transfer, and (coming soon) Aave-style decentralized lending with BP token. Great for blockchain learning and development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors