
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@juiceswapxyz/v3-periphery
Advanced tools
🧃 Peripheral smart contracts for JuiceSwap V3 (Uniswap V3 fork with JuiceSwap branding)
This repository contains the periphery smart contracts for JuiceSwap V3, a fork of Uniswap V3 Protocol. For the lower level core contracts, see the v3-core repository.
JuiceSwap V3 Periphery provides user-facing smart contracts for interacting with the JuiceSwap V3 Protocol, including:
POOL_INIT_CODE_HASH for JuiceSwap's modified pool contract (50% max protocol fee vs 25%)JuiceSwap V3 Positions NFT-V1 with symbol JUICE-V3-POS@juiceswapxyz/v3-peripheryInstall the npm package @juiceswapxyz/v3-periphery and import bytecode from artifacts:
import {
abi as SWAP_ROUTER_ABI,
bytecode as SWAP_ROUTER_BYTECODE,
} from '@juiceswapxyz/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json'
// deploy the bytecode
Import JuiceSwap v3 periphery interfaces into your smart contracts:
import '@juiceswapxyz/v3-periphery/contracts/interfaces/ISwapRouter.sol';
contract MyContract {
ISwapRouter router;
function doSomethingWithSwapRouter() {
// router.exactInput(...);
}
}
npm run compile
npm test
Before deployment, verify that POOL_INIT_CODE_HASH matches the compiled v3-core bytecode:
npm run verify-pool-hash
This step is critical - an incorrect hash will cause all pool operations to fail.
GPL-2.0-or-later
FAQs
🧃 Peripheral smart contracts for JuiceSwap V3 (Uniswap V3 fork with JuiceSwap branding)
We found that @juiceswapxyz/v3-periphery demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.