yarn
yarn compile
yarn localnode
modify hardhat.config.ts
and run
yarn deploy
for examples:
heco_testnet: {
url: "https://http-testnet.hecochain.com",
chainId: 256,
accounts: ["0x..."]
},
yarn test
-
增加/移出流动性
发放LP Token,移除流动性时按比例发放奖励
-
交易功能
-
实现手续费功能,千分之三手续费
-
实现滑点功能
-
实现部署脚本