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
- Host: GitHub
- URL: https://github.com/e00dan/advent-of-code-solidity
- Owner: e00dan
- Created: 2024-01-15T17:19:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-22T13:14:32.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T03:14:45.857Z (about 1 year ago)
- Language: Solidity
- Homepage: https://adventofcode.com/2023
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```