Quick Start

This guide will help you set up your development environment and create your first Dolphin program.

Prerequisites

Before you begin, make sure you have the following installed:

# Install Rust and Cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install Solana CLI tools
sh -c "$(curl -sSfL https://release.solana.com/v1.17.0/install)"

# Install Anchor Framework
cargo install --git https://github.com/coral-xyz/anchor avm --locked
avm install latest
avm use latest

# Install Python 3.8 or higher
# macOS
brew install python@3.8

# Ubuntu
sudo apt-get install python3.8 python3.8-dev

Installation

Install Dolphin using pip:

For game development, also install:

Create Your First Program

  1. Initialize a new project:

  1. Navigate to your new project and open program/lib.py:

  1. Build your program:

  1. Run tests:

  1. Deploy to Solana devnet:

What's Next

Ready to dive deeper? Continue to Creating Your First Program for a more detailed walkthrough.

Last updated