Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Apr 1, 2024
1 parent 17cf8be commit 8e45d96
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 46 deletions.
67 changes: 21 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,41 @@
## Foundry
<img align="right" width="150" height="150" top="100" src="./public/honk.webp">

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

Foundry consists of:
**An EVM verifier for the HONK (sumcheck + zeromorph) proving system.**

- **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.
This repo consists of:

## Documentation
- A differential fuzzer against a cpp implementation (found in barretenberg)
- A verifier for an ECDSA circuit

https://book.getfoundry.sh/
## Upcoming

## Usage

### Build

```shell
$ forge build
```

### Test

```shell
$ forge test
```

### Format
- Optimized assembly implementation

```shell
$ forge fmt
## Building
1. **C++**
On ubuntu make sure you have a cpp toolchain installed ->
```

### Gas Snapshots

```shell
$ forge snapshot
sudo apt-get install cmake clang clang-format ninja-build libstdc++-12-dev
```
We will be building with clang16 - so make sure you have that compiler :)

### Anvil

```shell
$ anvil
```
2. **Foundry**
See installation instructions here: https://book.getfoundry.sh/

### Deploy

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

### Cast
### Build

```shell
$ cast <subcommand>
$ ./bootstrap.sh # This will download the SRS and build the C++
$ forge build # Build the contracts
```

### Help
### Test

```shell
$ forge --help
$ anvil --help
$ cast --help
$ forge test
```
Binary file added public/honk.webp
Binary file not shown.

0 comments on commit 8e45d96

Please sign in to comment.