title | has_children | parent | nav_order |
---|---|---|---|
taste-test |
true |
Packages |
3 |
$ bun add @sundaeswap/taste-test lucid-cardano
Next, configure the instance in your app:
import { SundaeSDK } from "@sundaeswap/core";
import { TasteTestLucid } from "@sundaeswap/taste-test";
const sdk: SundaeSDK = new SundaeSDK({
...args,
});
const walletInstance = sdk.builder().wallet;
if (!walletInstance) {
throw new Error();
}
const TT = new TasteTestLucid(walletInstance);
const txHash = await TT.deposit({ ...args }).then(({ submit }) => submit());
For more instructions see Overview.