Circle 稳定币在与 EVM 兼容的区块链上使用的智能合约源仓库
要求: - Node 20.9.0 - Yarn 1.22.19 - Foundry@f625d0f sh $ nvm use $ npm i -g [email protected] # Install yarn if you don't already have it $ yarn install # Install npm packages and other dependencies listed in setup.sh ### IDE 我们建议在此项目中使用 VSCode,并安装以下扩展:extensions ## 开发 ### 合约的 TypeScript 类型定义文件 类型会在合约编译过程中自动生成: sh $ yarn compile 要在不重新编译的情况下生成类型定义,请运行: sh $ yarn hardhat typechain ### 校验和格式化 要检查代码是否存在问题: sh $ yarn static-check # Runs a static check on the repo. 或单独运行检查: sh $ yarn typecheck # Type-check TypeScript code $ yarn lint # Check JavaScript and TypeScript code $ yarn lint --fix # Fix problems where possible $ yarn solhint # Check Solidity code 要自动格式化代码: ```sh
$ yarn fmt
暂无开放 Issues,或尚未同步最近议题。