...age]
name = "p2p"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libp2p = "0.46.1"
tokio ={ version = "1.19.2", features = ["full"]}
```
运行
```bash
p2p on master [?] is ...
...ad141e4b30942e38bc77e2d5696bf6b1786f7a7722415c8 doesn't exist, creating it and funding it with 100000000 Octas
Account 0xe6eba0c086998fbd5ad141e4b30942e38bc77e2d5696bf6b1786f7a7722415c8 funded successfully
---
Aptos CLI is now set up for account 0xe6eba0c086998fbd5ad141e4b30942e38bc77e2d5696bf6...
...en/articles/...](https://4pillars.io/en/articles/part5-accounting-taxation-and-regulatory-challenges-of-stablecoins)
>- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~
... panic!("Not a valid input for a field point, num should be nonnegative and less than prime, obtained {}", num);
} else {
FieldPoint {num:num, prime:prime}
}
}
}
```
方法是按照关键字 `impl` 和 `struct` 的名称定义的。我们有一个 `FieldPoint` 的...