The Unicode Ethereum Project is an initiative to provide libraries and contracts for Unicode data, algorithms, and utilities for Ethereum developers.

devstein / unicode-eth Public

submited by
Style Pass
2022-01-17 19:30:04

The Unicode Ethereum Project is an initiative to provide libraries and contracts for Unicode data, algorithms, and utilities for Ethereum developers.

The Unicode Ethereum Project is under active development and has not been deployed the Ethereum Mainnet. We want to get sufficient feedback from the community before committing the resources required to deployed the Unicode Character Database to Ethereum. Please checkout contributing to see how you can make an impact!

Unicode data and algorithms are essential to any major programming language. Solidity, like many lower-level programming languages, represent strings as a UTF-8 encoded bytes and does not natively support character-based operations like length, charAt, or isLowercase. There are popular third-party libraries for string manipulation, like https://github.com/Arachnid/solidity-stringutils, but none that provide information about the underlying Unicode characters. If you are building an application or contract that receives user input as strings, understanding user input is critical for any validation, sanitization, or standardization logic.

Unlike libraries in other programming languages, Solidity contracts are stateful. This allows us to not only build out a Unicode Data API, like in other languages, but also store the Unicode Character Database on Ethereum. With the Unicode Character Database accessible within the Ethereum network, it empowers anyone to build out additional APIs and functionality on top of the Unicode Character Database.

Leave a Comment
Related Posts