Skip to content

SmarDex-Ecosystem/solidity-libraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmarDex Ecosystem Open-Source Libraries

Main workflow Release Workflow NPM Version JSR Version Solidity Versions

Open-source Solidity libraries used in the SmarDex ecosystem.

Installation

To install with Foundry:

forge soldeer install @smardex-solidity-libraries~1

To install with Hardhat:

npm install @smardex/solidity-libraries

Contributing

If you want to contribute to this repository, create an issue explaining your problem or which improvement you would like to see added first. Mention that you are willing to open a pull request to solve the issue if that's the case.

Then, wait for maintainers to state on what to do with your issue.

If you contribute, any change of code must be thoroughly tested and requires one or more code reviews depending on its complexity.

Test Utils

The tests require that the test_utils binary is compiled using the Rust toolchain first.

Install rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Build the test utils:

cargo build --release

Contracts

src
└─ HugeUint"Uint512 implementation with basic math operations"

Safety

The smart contracts and libraries in this repository are experimental and are provided as is.

While audits were conducted on projects implementing code from this repository, we cannot guarantee that no side effects can emerge when used with other code, or that it will not break with future Solidity versions.

Acknowledgements

This repository is inspired by or directly modified from many sources, primarily:

About

A collection of useful open-source Solidity libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5