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

https://github.com/e00dan/advent-of-code-solidity

Solidity answers to Advent of Code
https://github.com/e00dan/advent-of-code-solidity

Last synced: 2 months ago
JSON representation

Solidity answers to Advent of Code

Awesome Lists containing this project

README

          

## Advent of Code 2023 in Solidity

Advent website: https://adventofcode.com/2023

Rust version of solutions: https://github.com/Kuzirashi/advent

## Usage

### Install
```
forge install
```

### Test

```shell
forge test -vvv
```

Example output:
```shell
Running 2 tests for test/Day01.sol:Day01Test
[PASS] test_day01_01() (gas: 71921085)
Logs:
Day 1_1: 56049

[PASS] test_day01_02() (gas: 98752590)
Logs:
Day 1_2: 54530
```