Foundry的使用

https://codesandbox.io/p/github/BunsDev/foundry-toolkit/master

Foundry:面向以太坊开发者的快速、现代工具包

该工具包由 Paradigm 构建,这是一家知名的加密货币投资公司,在开源以太坊开发领域拥有深厚的根基。与那些通常依赖 JavaScript/TypeScript 进行测试和脚本编写的旧工具不同,Foundry 完全依赖于 Solidity 和 Rust,以实现低延迟、顺畅的体验。

Foundry 有三个主要工具,涵盖智能合约生命周期的各个方面:

  • Forge — for compiling, testing, and deploying contracts.

  • Forge—— 用于编译、测试和部署合约。

  • Cast — a command-line tool for interacting with smart contracts and blockchains.

  • Cast—— 用于与智能合约和区块链交互的命令行工具。

  • Anvil — a local Ethereum node for development and testing.

  • Anvil—— 用于开发和测试的本地以太坊节点。



文章目录