Skip to content

Installation

This guide covers how to add Starknet.go to your Go project.

Prerequisites

  • Go 1.20 or higher
  • Existing Go project with go.mod file

Adding Starknet.go to Your Project

Install the Package

In your project directory, run:

go get github.com/NethermindEth/starknet.go

Resolve Dependencies

go mod tidy

This downloads and manages all required dependencies.

For New Projects

If you're starting a new project, see the Getting Started guide for complete project setup instructions.