https://github.com/z0r0z/zolidity
Zero-to-One Solidity with Simplicity-first.
https://github.com/z0r0z/zolidity
Last synced: 20 days ago
JSON representation
Zero-to-One Solidity with Simplicity-first.
- Host: GitHub
- URL: https://github.com/z0r0z/zolidity
- Owner: z0r0z
- License: mit
- Created: 2022-07-10T16:12:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T12:46:39.000Z (about 1 month ago)
- Last Synced: 2025-03-29T04:03:35.165Z (28 days ago)
- Language: Solidity
- Homepage:
- Size: 1.42 MB
- Stars: 165
- Watchers: 3
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-web3-tools-and-dapps - Zolidity - Simple and hassle-free agreements that work on Ethereum. Let's test them out! (dApps directory / Smart Contract Templates)
README
# [zolidity](https://github.com/z0r0z/zolidity) [](https://opensource.org/license/mit) [](https://docs.soliditylang.org/en/v0.8.28/) [](https://getfoundry.sh/) 
`Zolidity`: Zero-to-One Solidity with Simplicity-first.
## Getting Started
Run: `curl -L https://foundry.paradigm.xyz | bash && source ~/.bashrc && foundryup`
Build the foundry project with `forge build`. Run tests with `forge test`. Measure gas with `forge snapshot`. Format with `forge fmt`.
## GitHub Actions
Contracts will be tested and gas measured on every push and pull request.
You can edit the CI script in [.github/workflows/ci.yml](./.github/workflows/ci.yml).
## Blueprint
```txt
lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ solady — https://github.com/vectorized/solady
src
├─ ERC20 — Standard fungible token.
├─ ERC173 — Standard contract ownership.
├─ ReentrancyGuard — Reentrant call guard.
test
├─ ERC20.t - Test standard fungible token.
├─ ERC173.t — Test standard contract ownership.
└─ ReentrancyGuard.t — Test reentrant call guard.
```## Inspiration
- [solady](https://github.com/Vectorized/solady)
- [solmate](https://github.com/transmissions11/solmate)
- [snekmate](https://github.com/pcaversaccio/snekmate)## Disclaimer
*These smart contracts and testing suite are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of anything provided herein or through related user interfaces. This repository and related code have not been audited and as such there can be no assurance anything will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.*
## License
See [LICENSE](./LICENSE) for more details.