Skip to content

Add U128 & U256 Type#41

Open
Funkatronics wants to merge 19 commits intomainfrom
u128
Open

Add U128 & U256 Type#41
Funkatronics wants to merge 19 commits intomainfrom
u128

Conversation

@Funkatronics
Copy link
Collaborator

@Funkatronics Funkatronics commented Oct 27, 2025

Adds unsigned 128 & 256 bit integer types to web3-core

U128/256 uses a little endian 16/32 byte array under the hood and serializes the same for Borsh encoding. When serialized as JSON, the number is encoded as a base10 string.

@Funkatronics Funkatronics changed the title Add U128 Type Add U128 & U256 Type Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant