
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@rari-capital/solmate
Advanced tools
Modern, opinionated and gas optimized building blocks for smart contract development.
Modern, opinionated and gas optimized building blocks for smart contract development.
auth
├─ Auth — "Flexible and updatable auth pattern"
├─ Trust — "Ultra minimal authorization logic"
├─ authorities
│ ├─ RolesAuthority — "Role based Authority that supports up to 256 roles"
│ ├─ TrustAuthority — "Simple Authority which only authorizes trusted users"
erc20
├─ ERC20 — "Modern and gas efficient ERC20 + EIP-2612 implementation"
├─ SafeERC20 — "Safe ERC20/ETH transfer lib that handles missing return values"
utils
├─ SSTORE2 - "Library for cheaper reads and writes to persistent storage."
├─ CREATE3 — "Deploy to deterministic addresses without an initcode factor."
├─ ReentrancyGuard — "Gas optimized reentrancy protection for smart contracts"
├─ FixedPointMathLib — "Arithmetic library with operations for fixed-point numbers"
├─ Bytes32AddressLib — "Library for converting between addresses and bytes32 values"
To install with DappTools:
dapp install rari-capital/solmate
To install with Hardhat or Truffle:
npm install @rari-capital/solmate
These contracts were inspired by or directly modified from many sources, primarily:
FAQs
Modern, opinionated and gas optimized building blocks for smart contract development.
The npm package @rari-capital/solmate receives a total of 1,673 weekly downloads. As such, @rari-capital/solmate popularity was classified as popular.
We found that @rari-capital/solmate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.