
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
snap-langchain-tools
Advanced tools
LangChain tools for SNAP — private agent-to-agent payments on Solana using zero-knowledge proofs
LangChain tools for SNAP — private agent-to-agent payments on Solana using zero-knowledge proofs.
npm install snap-langchain-tools @langchain/core @solana/web3.js snap-solana-sdk
import { Connection, Keypair } from "@solana/web3.js";
import { createSNAPTools } from "snap-langchain-tools";
const connection = new Connection("https://api.mainnet-beta.solana.com");
const wallet = Keypair.generate();
const tools = createSNAPTools(connection, wallet);
// Returns: [SNAPListPoolsTool, SNAPDepositTool, SNAPWithdrawTool, SNAPEstimateFeeTool]
| Tool | Description |
|---|---|
snap_list_pools | List SNAP mainnet shielded pools |
snap_deposit | Deposit SOL/USDC into a shielded pool |
snap_withdraw | Withdraw with a Groth16 ZK proof |
snap_estimate_fee | Estimate the 0.25% protocol fee |
import { ChatAnthropic } from "@langchain/anthropic";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
import { createSNAPTools } from "snap-langchain-tools";
const tools = createSNAPTools(connection, wallet);
const agent = createReactAgent({
llm: new ChatAnthropic({ model: "claude-sonnet-4-20250514" }),
tools,
});
const result = await agent.invoke({
messages: [{ role: "user", content: "List the available SNAP pools" }],
});
| Pool | Address |
|---|---|
| 0.1 SOL | B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf |
| 1 USDC | 5LeuHrPBgHNhgbCy996MEjcsBk5gNHhVj6AiuuCHZ8od |
| 10 USDC | ECuHf8kgiWfmL3Q6id4WGBQWvuukhzqvF5vsxuPAKZBv |
MIT
FAQs
LangChain tools for SNAP — private agent-to-agent payments on Solana using zero-knowledge proofs
The npm package snap-langchain-tools receives a total of 4 weekly downloads. As such, snap-langchain-tools popularity was classified as not popular.
We found that snap-langchain-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.