PRBMath

Smart Contract Tools
PRBMath
A Solidity library to handle complex fixed-point math with signed and unsigned variables.
This link will take you to a third-party site not owned or operated by Alchemy.

What is PRBMath ?
PRBMath, the Paul Razvan Berg-written math library is gas-friendly and comes with default functions to handle exponentials, powers, logarithms, and square roots. Developers can create mathematical calculations in smart contracts with an int256 precision and an 18-point training decimal. +500 stars, forks, and pull requests attest to the usefulness of the library's tools.
Use web3's most scalable and reliable RPC nodes
Get your API key
Web3 dapps and developer tools related to PRBMath
Discover blockchain applications that are frequently used with PRBMath .

Smart Contract Templates
Zero-fuss smart contracts. Experiments on Ethereum.

Smart Contract Templates
A collection of general-purpose solidity contracts and libraries.

Smart Contract Templates
Smart contracts comprising the business logic of the Matic Network.
Resources and Guides about Smart Contract Tools
PRBMath Alternatives
Explore web3 competitors and apps like PRBMath .

Smart Contract Wallets
Etherspot is an account abstraction SDK, delivering frictionless Web3 UX.
+4

Smart Contract Tools
An Interface to interact with contracts on EVM chains (including a local chain).
+4

Smart Contract Tools
A growing collection of modern extensible Huff language smart contracts.

Build blockchain magic
Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.
Get your API key