Skip to content

Commit

Permalink
added lib submodules, fixed code. Test broken because fork testnet de…
Browse files Browse the repository at this point in the history
…funct
  • Loading branch information
d10r committed Nov 18, 2024
1 parent b31910f commit 492e450
Show file tree
Hide file tree
Showing 67 changed files with 29 additions and 28,115 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# build all examples independently
fail-fast: false
matrix:
project: ["money-streaming-intro-foundry"]
project: ["money-streaming-intro-foundry", "gda-advertisement-auction"]
install: ["clean-install"]
steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@
[submodule "projects/money-streaming-intro-foundry/lib/forge-std"]
path = projects/money-streaming-intro-foundry/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "projects/gda-advertisement-auction/lib/forge-std"]
path = projects/gda-advertisement-auction/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "projects/gda-advertisement-auction/lib/superfluid-protocol-monorepo"]
path = projects/gda-advertisement-auction/lib/superfluid-protocol-monorepo
url = https://github.com/superfluid-finance/protocol-monorepo
[submodule "projects/gda-advertisement-auction/lib/openzeppelin-contracts"]
path = projects/gda-advertisement-auction/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
67 changes: 1 addition & 66 deletions projects/gda-advertisement-auction/README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1 @@
## Foundry

**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 <your_rpc_url> --private-key <your_private_key>
```

### Cast

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

### Help

```shell
$ forge --help
$ anvil --help
$ cast --help
```
TODO
1 change: 1 addition & 0 deletions projects/gda-advertisement-auction/lib/forge-std
Submodule forge-std added at 1eea5b

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions projects/gda-advertisement-auction/lib/forge-std/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions projects/gda-advertisement-auction/lib/forge-std/.gitmodules

This file was deleted.

Loading

0 comments on commit 492e450

Please sign in to comment.