Solidity 笔记

开发环境 IDE 在线 IDE Remix: https://remix.ethereum.org 本地 IDE Remix-IDE Truffle 开发测试框架 运行环境 Geth 节点 + 钱包 MetaMask 钱包 测试币领取 Demo Library 库的使用 创建文件 CommonLan

Remix IDE 导入本地项目

本地安装 remixd 安装插件 npm install -g @remix-project/remixd 查看版本 remixd -v 0.6.27 启动并共享指定文件夹 remixd -s <absolute-path-to-the-shared-folder> --remix-ide <y

Springboot 自带日志 slf4j + logback 配置滚动文件

需求如下 DEV 用 Console 输出,PROD 用日志文件 日志文件滚动保存 日志链路 ID 准备 application.yml logging: config: classpath:logback-spring.xml logback-spring.xml <?xml versi

React 使用 Axios 拦截器取消重复请求

场景 在项目中切换路由,停止原路由中的正在请求的接口 例子:两个路由链接 A 和 B 分别可以通过Axios获取不同的文章,当点击 A 发起请求时,在服务器响应之前再马上点击 B,就会出现选中的 B 却加载了 A 的文章的情况出现 代码实现 通过Axion的CancelToken来实现取消请求 im