Skip to content

hananbeer/stdity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

stdity

Solidity stdlib is a collection of core tools such as data structures, algorithms, helper functions, etc.

Security

Each project is linked as-is, at no particular order. listings are not to be interperted as endorsments, do your own research and use on your own discretion.

Data Structures

Complexities table

complexities (source: devopedia.org; thanks morpho-dao for the reference)

JSON

JSON by brockelmore/memmove

Array

Array of memmove

Linked List

Linked List by brockelmore/memmove

Linked List by vitruvius

Linked List Stack by d3or

Doubly Linked List by brockelmore/memmove

Doubly Linked List by morpho-dao

(tutorial) Linked List by Austin Griffith

Queue

Queue by faheelsattar

Stack

Linked List Stack by d3or

Stack by vitruvius

Heap

Heap by morpho-dao

Heap Ordering* by morpho-dao (*require clarification: what is the difference between normal heap and this?)

Mapping

Mapping by brockelmore/memmove

Trees

Binary Tree by d3or

Red-Black Binary-Tree by bokkypoobah

Red-Black Binary-Tree by morpho-dao

Red-Black Binary-Tree by Polygon

Optimized Red-Black Tree by morpho-dao

K-Array Tree by volt-protocol

Libraries

memmove

https://github.com/brockelmore/memmove

includes: array, linked list, doubly linked list, mapping, json

vitruvius

https://github.com/aunyks/vitruvius

includes: linked list, stack

morpho-data-structures

https://github.com/morpho-dao/morpho-data-structures

includes: doubly linked list, heap, red black binary tree

BigNumbers

https://github.com/firoorg/solidity-BigNumber

Algorithms

Various Algorithms by TheAlgorithms

includes: bubble sort, selection sort, binary search, various math utils

About

solidity stdlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published