C4box
Code 4rena Sandbox & Exploits
Install / Use
/learn @refcell/C4boxREADME
c4box •

Code 4rena Sandbox & Exploits
Overview
Blueprint
lib
├─ ds-test — https://github.com/dapphub/ds-test
├─ forge-std — https://github.com/brockelmore/forge-std
├─ solmate — https://github.com/Rari-Capital/solmate
├─ clones-with-immutable-args — https://github.com/wighawag/clones-with-immutable-args
src
└─ FindOutYourself.jpeg
Development
First time with Forge/Foundry?
See the official Foundry installation instructions.
Don't have rust installed? Run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then, install the foundry toolchain installer (foundryup) with:
curl -L https://foundry.paradigm.xyz | bash
Now that you've installed the foundryup binary,
anytime you need to get the latest forge or cast binaries,
you can run foundryup.
So, simply execute:
foundryup
🎉 Foundry is installed! 🎉
Install DappTools
Install DappTools using their installation guide.
Setup
make
# OR #
make setup
Build
make build
Run Tests
make test
Configure Foundry
Using foundry.toml, Foundry is easily configurable.
License
Acknowledgements
- foundry
- solmate
- forge-std
- clones-with-immutable-args.
- foundry-toolchain by onbjerg.
- forge-template by FrankieIsLost.
- Georgios Konstantopoulos for forge-template resource.
Disclaimer
These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they 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.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
