-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdk): account for fractal network (#128)
* feat(sdk): account for fractal network * add missing optional chain parameter * feat: fractal support * include optional datasource in publishCollection * fix: lint * feat: fractal support for secondary market * fix:lint * Update packages/sdk/src/inscription/collection.ts Co-authored-by: Benedict Pak <[email protected]> * fix: trim structure * Update packages/sdk/src/inscription/collection.ts Co-authored-by: Benedict Pak <[email protected]> * Update packages/sdk/src/inscription/collection.ts Co-authored-by: Benedict Pak <[email protected]> --------- Co-authored-by: Benedict Pak <[email protected]>
- Loading branch information
Showing
18 changed files
with
185 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export type Network = "mainnet" | "testnet" | "regtest" | "signet" | ||
export type Chain = "bitcoin" | "fractal-bitcoin"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { Psbt } from "bitcoinjs-lib" | ||
|
||
import { Network } from "../config/types" | ||
import { Chain, Network } from "../config/types" | ||
|
||
export interface FeeEstimatorOptions { | ||
feeRate: number | ||
network: Network | ||
psbt?: Psbt | ||
witness?: Buffer[] | ||
chain?: Chain | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.