Framing and Frame in Net
Framing and Frame in Network Communication 📦 Framing is a fundamental concept in network communication, transforming a continuous stream of data into
Study
未读
write marcos by your self
Write marcos by your self Some examples Rust 宏的示例代码,展示了一些常见的用法和技巧: 简单的重复代码块: macro_rules! repeat {
($expr:expr; $n:expr) => {
{
Tokio Async Example
Tokio Async Example This example demonstrates how to use the tokio crate to perform asynchronous operations. Tokio Async Example Prerequisites Install
Git Branches Synchronization
Git branches synchronization To synchronize branches in Git, you can use the following steps: Ensure that you are on the branch you want to synchroniz
P2PSwap contract prototype
P2PSwap contract prototype P2PSwap logic overview P2PSwap 是一个基于以太坊的跨链代币交换合约,允许用户创建一个代币交换合约,存入特定数量的一种代币 A,并在将来某个时间点用另一种代币 B 进行交换。 以下是 P2PSwap 合约从编写、部署到
Contract deploy
Contracts deploy The tutorial links for Deploying your contracts Hardhat Openzeppelin Besu
One-stop with Hardhat
One-stop with Hardhat (Hardhat 操作总结) 简介 Hardhat 是一个以太坊开发环境,专为智能合约开发、部署、测试和调试而设计。它提供了一套工具,使得与以太坊网络的交互变得更加简单高效。 环境准备 安装 Node.js (版本 v18.16.0 以上) 安装 npm
Main Functions of Contract
Main Functions of Contract 1. transfer 函数 token.transfer(recipient, amount) 含义:将指定数量的代币从调用者(msg.sender)转移到接收者(recipient)地址。 定义:此函数通常存在于 ERC20 代币合约中,用于
Tmux 常用操作和快捷键
Tmux 常用操作和快捷键 一、写在前面 我们使用 Linux 的时候,常常需要多个会话操作,这时候有个tmux 工具可以实现在同一个会话中进行多窗口的显示的功能,而且在使用如 xshell 等工具远程链接使用服务器的时候,有时会话会断开,当我们重连 tmux 后,会发现之前的操作还可以保留。某种意