Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardoalt/sol-macros
https://github.com/leonardoalt/sol-macros
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/leonardoalt/sol-macros
- Owner: leonardoalt
- License: gpl-3.0
- Created: 2022-10-25T13:16:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T14:32:39.000Z (about 2 years ago)
- Last Synced: 2024-10-03T12:44:46.212Z (about 2 months ago)
- Language: Solidity
- Size: 20.5 KB
- Stars: 31
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sol-macros
How to use C macros and the C preprocessor to write Solidity macros and
generics.## Build
Instead of `forge build`, run `./build.sh`. This runs the C preprocessor on the
Solidity template file, formats it, and runs `forge build`.## Tests
Run `forge test`.
## Dependencies
Foundry and GCC.