
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@chainsafe/gopher-sdk
Advanced tools
Gopher SDK is a powerful library for interacting with blockchain networks, allowing you to retrieve information about fungible tokens, supported chains, and user balances, as well as finding solutions for asset transfers.
Gopher SDK is a powerful library for interacting with blockchain networks, allowing you to retrieve information about fungible tokens, supported chains, and user balances, as well as finding solutions for asset transfers.
Install the library using npm or yarn:
npm install gopher-sdk
# or
yarn add gopher-sdk
You have two approaches: using the Gopher class or calling API endpoints directly through the SDK.
The Gopher class provides a convenient interface for interacting with the blockchain using an EIP1193 provider (e.g., MetaMask).
import { Gopher } from 'gopher-sdk';
const gopher = new Gopher(window.ethereum);
gopher.getUserBalances().then(console.log);
Alternatively, you can call the API endpoints directly using the provided SDK functions.
import { api } from 'gopher-sdk';
const ownerAddress = "0x3E101Ec02e7A48D16DADE204C96bFF842E7E2519";
const tokenSymbol = "USDC";
api.getUserFungibleTokens(ownerAddress, tokenSymbol).then(console.log);
The SDK uses environment variables to configure the base URL GOPHER_URL. You can set this variable in your environment configuration or directly in your code.
import { setBaseUrl } from 'gopher-sdk';
setBaseUrl("http://localhost:8080");
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
FAQs
Gopher SDK is a powerful library for interacting with blockchain networks, allowing you to retrieve information about fungible tokens, supported chains, and user balances, as well as finding solutions for asset transfers.
The npm package @chainsafe/gopher-sdk receives a total of 2 weekly downloads. As such, @chainsafe/gopher-sdk popularity was classified as not popular.
We found that @chainsafe/gopher-sdk 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.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.