Skip to content

Commit

Permalink
feat(chain): export chain (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanosync authored Sep 20, 2024
1 parent e0a6a4d commit 8c0e195
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/browser-tests/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { useCallback, useMemo, useState } from "react";
import { Address, PSBTBuilder, PSBTBuilderOptions } from "@ordzaar/ordit-sdk";
import {
Address,
Chain,
PSBTBuilder,
PSBTBuilderOptions,
} from "@ordzaar/ordit-sdk";
import * as leather from "@ordzaar/ordit-sdk/leather";
import * as magiceden from "@ordzaar/ordit-sdk/magiceden";
import * as okx from "@ordzaar/ordit-sdk/okx";
Expand All @@ -10,7 +15,6 @@ import { RadioInput } from "./components/RadioInput";
import { Select } from "./components/Select";

type WalletProvider = "unisat" | "xverse" | "magiceden" | "leather";
type Chain = "bitcoin" | "fractal-bitcoin";

const NETWORK = "testnet" as const;

Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/src/addresses/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ export type Address = {
*/
xKey?: string;
};

export type { Chain } from "../config/types";

0 comments on commit 8c0e195

Please sign in to comment.