@fastlane-labs/atlas-sdk
v2.2.0
Published
An SDK for building dApps on top of Atlas
Readme
Atlas Javascript/Typescript SDK
Quickstart
Install the SDK package with npm:
npm install @fastlane-labs/atlas-sdkInstall the SDK package with yarn:
yarn add @fastlane-labs/atlas-sdkImport 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.
