Skip to content

8bitArray is an implementation of an array in huff.

Notifications You must be signed in to change notification settings

h00p30/8bitArray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8bitArray

8bitArray is an implementation of an array in huff, it can store up to 32 8-bit values in a single storage slot. 8bitArray does all the bitwise operations so you don't have to.

DISCLAMER: contracts are not audited nor optimized

Prerequisities

Make sure you have the following programs installed:

Tests

To run tests:

    forge install
    forge test

NB: foundry template is from this article.

Bytecode

You can generate the bytecode for the testing interface yourself with this:

    huffc src/8bitArray_testingInterface.huff --bytecode

About

8bitArray is an implementation of an array in huff.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published