feat: 添加 MiniSwap CLI 工具及相关文档
- 新增 CLI 工具,支持通过命令行与 MiniSwapAMM 合约交互 - 创建 CLI 使用指南文档,详细说明命令和操作流程 - 更新合约地址,确保与新部署的合约匹配 - 添加快速网络连接测试脚本,验证合约连接和网络状态 - 实现完整测试场景脚本,模拟用户操作和流动性管理
This commit is contained in:
@ -9,7 +9,10 @@
|
||||
"deploy": "hardhat run scripts/deploy.js --network localhost",
|
||||
"node": "hardhat node",
|
||||
"dev": "cd frontend && npm start",
|
||||
"build": "cd frontend && npm run build"
|
||||
"build": "cd frontend && npm run build",
|
||||
"cli": "hardhat run scripts/cli.js --network localhost",
|
||||
"test-scenario": "hardhat run scripts/test-scenario.js --network localhost",
|
||||
"test-connection": "hardhat run scripts/quick-test.js --network localhost"
|
||||
},
|
||||
"keywords": ["defi", "dex", "amm", "ethereum", "solidity", "react"],
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user