Skip to main content

Atlas Golang SDK Quickstart

Installation

To use the Atlas SDK in your Go project:

go get github.com/FastLane-Labs/atlas-sdk-go

Initialization

package main

import (
"github.com/FastLane-Labs/atlas-sdk-go/core"
"github.com/ethereum/go-ethereum/ethclient"
)

func main() {
ethClient, _ := ethclient.Dial("https://rpc.sepolia.org")
defer ethClient.Close()

sdk, _ := core.NewAtlasSdk([]interface{}{ethClient}, nil)
}