1.2.1 • Published 1 year ago

@fastlane-labs/atlas-sdk v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

2.2.0

10 months ago

2.1.1

11 months ago

2.1.0

11 months ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.0.0

1 year ago