Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tauseedzaman/erc20-token

building erc20 with foundry
https://github.com/tauseedzaman/erc20-token

erc20 erc20-foundry erc20-smart-contract erc20-tokens

Last synced: about 1 month ago
JSON representation

building erc20 with foundry

Awesome Lists containing this project

README

        

## Foundry
# Screenshots

Coverage:
![image](https://github.com/tauseedzaman/erc20-token/assets/64689921/5b59b51b-984b-4eec-b505-8afb16a9dc87)

Tests
![image](https://github.com/tauseedzaman/erc20-token/assets/64689921/a66b4108-9b32-4edb-90d9-5b962561ca9a)

**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**

Foundry consists of:

- **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.

## 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 --private-key
```

### Cast

```shell
$ cast
```

### Help

```shell
$ forge --help
$ anvil --help
$ cast --help
```