Solidity Linked List
An utility library for working with sorted linked list data structures in your Solidity project.
Install
bash
npm install solidity-linked-listUsage
solidity
pragma solidity ^0.8.0;
import {StructuredLinkedList} from "solidity-linked-list/contracts/StructuredLinkedList.sol";
contract MyContract {
using StructuredLinkedList for StructuredLinkedList.List;
StructuredLinkedList.List list;
// your stuff
}Code
Documentation
Code Analysis
Development
Install dependencies
bash
npm installCompile
bash
npm run compileTest
bash
npm testCode Coverage
bash
npm run coverageLinter
Check Solidity files
bash
npm run lint:solCheck JS/TS files
bash
npm run lint:jsFix JS and Solidity files
bash
npm run lint:fixLicense
Code released under the MIT License.