solidity-linked-list
v6.2.0
Published
An utility library for working with sorted linked list data structures in your Solidity project.
Downloads
235
Maintainers
Readme
Solidity Linked List
An utility library for working with sorted linked list data structures in your Solidity project.
Install
npm install solidity-linked-list
Usage
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
npm install
Compile
npm run compile
Test
npm test
Code Coverage
npm run coverage
Linter
Check Solidity files
npm run lint:sol
Check JS/TS files
npm run lint:js
Fix JS and Solidity files
npm run lint:fix
License
Code released under the MIT License.