@sundaeswap/core
v2.12.0
Published
The official SundaeSwap protocol SDK for clients.
Keywords
Readme
title: "core" has_children: true parent: "Packages" nav_order: 1
Getting Started with Core
$ bun add @sundaeswap/core @blaze-cardano/sdkNext, configure the instance in your app:
import { Blaze } from "@blaze-cardano/sdk";
import { SundaeSDK } from "@sundaeswap/core";
const blazeInstance = Blaze.from(
...args
);
const sdk = SundaeSDK.new({ blazeInstance });
const txHash = await sdk.swap({ ...args }).then(({ submit }) => submit());