Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@balancer/sdk

Package Overview
Dependencies
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balancer/sdk

SDK for interacting with the Balancer protocol

Source
npmnpm
Version
4.10.1
Version published
Weekly downloads
958
-46.72%
Maintainers
3
Weekly downloads
 
Created
Source

SDK

npm version

WIP SDK for Balancer Protocol. Interfaces may have frequent breaking changes until a stable release.

Local Setup

pnpm install

Requirements

  • fetch

Polyfill

If your platform does not support one of the required features, it is also possible to import a polyfill.

Testing

pnpm test

Testing runs against a local anvil fork and requires the following RPC URL to be configured in your .env file:

ETHEREUM_RPC_URL
POLYGON_RPC_URL
FANTOM_RPC_URL
SEPOLIA_RPC_URL

Anvil Client

To download and install the anvil client, run the following commands (MacOS):

  • curl -L https://foundry.paradigm.xyz | bash
  • brew install libusb
  • source /Users/$(whoami)/.zshenv
  • foundryup

Documentation

In-depth documentation on this SDK is available at docs-v3.balancer.fi/developer-reference/sdk.

FAQs

Package last updated on 21 Nov 2025

Did you know?

Socket

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.

Install

Related posts