LibStringUtils
Solidity string utilities written in yul
Install / Use
/learn @Raiden1411/LibStringUtilsREADME
LibStringUtils
Library of string utils.
This was made with the intention of getting a better understanding of yul and evm memory management. Please don't use this in production code without more extensive tests. If you want to use a battle tested string library please check acknowledgements. This could possibly be useful if you want to perform some test on your smart contracts that require string manipulation.
This was a really fun project and i learned a lot from it. All the code is documented with my understanding and hope you can get something out of it if you are looking to improve just like I was.
Feel free to gas golf as this is also not optimized.
Contracts
src
├─ LibStringUtils — Library for strings
test
└─ LibStringUtils.t — Tests
Installation
To install with Foundry:
forge install Raiden1411/LibStringUtils
Acknowledgements
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
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate 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
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
