
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
@nahmii/sdk
Advanced tools
The @nahmii/sdk package provides a set of tools for interacting with Nahmii 3.
npm install @nahmii/sdk
The CrossChainMessenger class simplifies the process of moving assets and data between Ethereum and Optimism.
You can use this class to, for example, initiate a bridge operation of ERC20 tokens from Nahmii back to the base layer, accurately track when the bridge operation is ready to be finalized on base layer, and execute the finalization transaction after the challenge period has elapsed.
The CrossChainMessenger can handle bridge operations in either direction of ETH and any ERC20 or ERC721 compatible token.
The CrossChainMessenger automatically connects to all relevant contracts so complex configuration is not necessary.
The Nahmii SDK includes various utilities for handling Nahmii's transaction fee model.
For instance, estimateTotalGasCost will estimate the total cost (in wei) to send at transaction on Nahmii including both the L2 execution cost and the L1 data cost.
You can also use the asL2Provider function to wrap an ethers Provider object into an L2Provider which will have all of these helper functions attached.
FAQs
Tools for working with Nahmii 3
We found that @nahmii/sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.