Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt

Use this file to discover all available pages before exploring further.

This guide provides instructions on how to get started with building on Meteora’s Zap program using the Zap TypeScript SDK. Before you begin, here are some important resources:

Typescript SDK

Meteora Zap Typescript SDK

Zap NPM Package

Meteora Zap NPM Package

Installation

To use the SDK in your project, install it using your preferred package manager:
npm install @meteora-ag/zap-sdk @solana/web3.js

Initialization

Once installed, you can initialize the SDK in your TypeScript/JavaScript project like this:
import { Connection } from "@solana/web3.js";
import { Zap } from "@meteora-ag/zap-sdk";

// Initialize a connection to the Solana network (e.g., Mainnet)
const connection = new Connection("https://api.mainnet-beta.solana.com");

// Create a new instance of the Zap SDK
const zap = new Zap(connection);

Development Resources

Faucets

Devnet Faucet

When working on devnet, you might need test tokens. Here is a helpful faucet.