Skip to content

The official SDK for building dApps on top of Atlas

Notifications You must be signed in to change notification settings

FastLane-Labs/atlas-sdk

Repository files navigation

Atlas Javascript/Typescript SDK

Quickstart

Install the SDK package with npm:

npm install @fastlane-labs/atlas-sdk

Install the SDK package with yarn:

yarn add @fastlane-labs/atlas-sdk

Import the package and initialize the SDK.

import { AtlasSdk, FastlaneBackend } from "@fastlane-labs/atlas-sdk";
import { JsonRpcProvider } from "ethers";

// The following values must be adjusted
const chainId = 11155111;
const rpcUrl = "https://rpc.sepolia.org";
const atlasAuctioneerUrl = "https://auctioneer-fra.fastlane-labs.xyz";

// Create the SDK instance
const sdk = await AtlasSdk.create(
  new JsonRpcProvider(rpcUrl, chainId),
  chainId,
  new FastlaneBackend({endpoint: atlasAuctioneerUrl})
);

References

The full API reference is described in this document: https://atlas-docs.pages.dev/atlas/sdks/typescript/methods.

About

The official SDK for building dApps on top of Atlas

Resources

Stars

Watchers

Forks

Releases

No releases published