/

Building

/Developer Guide

Use standard Solana SDKs, Anchor, and CLI workflows against the Cookie Chain RPC.

Cookie Chain is SVM-compatible. Anchor, native Rust, and standard Solana client SDKs work with no changes beyond pointing at the Cookie Chain RPC.

# Endpoints

  • HTTP RPC: https://rpc.cookiescan.io
  • WebSocket: https://wss.cookiescan.io

# JavaScript / TypeScript

import { Connection, PublicKey } from "@solana/web3.js";

const connection = new Connection(
  "https://rpc.cookiescan.io",
  "confirmed"
);

const slot = await connection.getSlot();
console.log("current slot:", slot);

# Anchor

# Anchor.toml
[provider]
cluster = "https://rpc.cookiescan.io"
wallet  = "~/.config/solana/id.json"

# Deploy a program

solana program deploy ./target/deploy/my_program.so

See also: Developer Tools.