An utility library for working with sorted linked list data structures in your Solidity project.
npm install solidity-linked-list
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
}
npm install
npm run compile
npm test
npm run coverage
Check Solidity files
npm run lint:sol
Check JS/TS files
npm run lint:js
Fix JS and Solidity files
npm run lint:fix
Code released under the MIT License.