A collection of cryptocurrency tools for Kraken, Binance, and SwissBorg exchanges. Built with Next.js, React, and Tailwind CSS.
Live version: https://crypto-tools.andstuff.dev
- Order Batch — Create multiple buy or sell post-limit orders for a trading pair with configurable price and volume distribution functions. Supports dry-run mode for safe testing.
- Closed Orders — View and filter closed orders by asset and date range with volume, cost, and price summaries.
- Balances — View spot and staking account balances.
- xStocks — AI-powered classification of Kraken tokenized assets (stocks and ETFs) using Anthropic Claude.
- Staking Overview — Overview of spot wallet balances and locked staking positions, including available and sold-out staking products for each asset.
- Smart Yield — Interactive chart of SwissBorg Smart Yield rates over time with configurable yield rate types, line types, and time frames.
- Community Index — Historical chart of the SwissBorg Community Index score.
- Install Node.js and pnpm
- Clone the repository
git clone https://github.com/nyg/crypto-tools.git cd crypto-tools - Install dependencies
pnpm install
- (Optional) Copy
.env.development.local.exampleto.env.development.localand fill in your API keys - Start the development server
pnpm dev
- Open http://localhost:3000
Navigate via the top menu bar to access each exchange's tools. Each exchange section has sub-navigation for its specific features.
API keys for Kraken, Binance, and Anthropic can be configured on the Settings page (stored in localStorage) or via environment variables.
pages/ File-based routing (Next.js Pages Router)
├── api/ Server-side API routes
│ ├── binance/ Binance API proxy routes
│ ├── kraken/ Kraken API proxy routes
│ └── swissborg/ SwissBorg API & cron routes
├── binance/ Binance pages
├── kraken/ Kraken pages
├── swissborg/ SwissBorg pages
└── settings.js API key management
components/ React components
├── binance/ Binance-specific components
├── kraken/ Kraken-specific components
├── swissborg/ SwissBorg-specific components
├── lib/ Custom wrapper components
└── ui/ shadcn/ui primitives
lib/
├── adapters/ External API adapters (Binance, Kraken, Anthropic)
│ └── http-requester/ HTTP transport abstraction (got for server, fetch for browser)
└── services/ Business logic (rate finder using Dijkstra's algorithm)
utils/ Utility functions (crypto, formatting, event bus)
Use at your own risk.


