Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmaxbu committed Feb 10, 2025
1 parent 648bf72 commit a1aa5f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 119 deletions.
69 changes: 7 additions & 62 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,11 @@
## Foundry
## Foundry-Faucet

**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
This project is just for practise.
This is a tiny project, so its code is very simple.
But you can experience the complete process through this project.

Foundry consists of:
## goals

- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
- **Chisel**: Fast, utilitarian, and verbose solidity REPL.
1. deploy to rhe testnet
2. fully tested

## Documentation

https://book.getfoundry.sh/

## Usage

### Build

```shell
$ forge build
```

### Test

```shell
$ forge test
```

### Format

```shell
$ forge fmt
```

### Gas Snapshots

```shell
$ forge snapshot
```

### Anvil

```shell
$ anvil
```

### Deploy

```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
```

### Cast

```shell
$ cast <subcommand>
```

### Help

```shell
$ forge --help
$ anvil --help
$ cast --help
```
19 changes: 0 additions & 19 deletions script/Counter.s.sol

This file was deleted.

14 changes: 0 additions & 14 deletions src/Counter.sol

This file was deleted.

24 changes: 0 additions & 24 deletions test/Counter.t.sol

This file was deleted.

0 comments on commit a1aa5f7

Please sign in to comment.