A Quick Guide to Arrays in Solidity

Add, remove, modify elements

Kristaps Grinbergs
Better Programming
Published in
3 min readMar 2, 2022

--

Photo by JJ Ying on Unsplash.

Arrays in Solidity programming language can hold primitive data types like integers, boolean, and string. An array can be initialized with a fixed or dynamic size. If we compare them to other more advanced programming languages, there are pretty limited functions available to work with arrays. Despite that, we can add, remove, get the size of the array…

--

--

Blockchain, mobile and fullstack developer. Startup founder. Conference speaker. Mentor. Passionate about building products, sustainability and Web 3.0.