Skip to content

Getting Started

The Shogun OneShot SDK v2 (@shogun-sdk/one-shot@^2) provides everything you need to build cross-chain swaps that work seamlessly across EVM and Solana networks.
It unifies quoting, execution, and wallet logic into a single TypeScript-first developer experience.

This guide walks you through installation, runtime setup, and the minimal configuration needed to start fetching quotes and executing swaps.

Installation

Using pnpm

pnpm add @shogun-sdk/one-shot

Using npm

npm install @shogun-sdk/one-shot

Using yarn

yarn add @shogun-sdk/one-shot