This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: accurate examples for addresses and invoices
- Loading branch information
1 parent
673a542
commit 52cbfa9
Showing
7 changed files
with
65 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
import { Networks } from 'boltz-core'; | ||
|
||
// API endpoint | ||
export const boltzApi = process.env.REACT_APP_BOLTZ_API; | ||
|
||
// Network configurations | ||
export const bitcoinNetwork = Networks[process.env.REACT_APP_BITCOIN_NETWORK]; | ||
export const litecoinNetwork = Networks[process.env.REACT_APP_LITECOIN_NETWORK]; | ||
|
||
export const bitcoinExplorer = process.env.REACT_APP_BITCOIN_EXPLORER; | ||
export const litecoinExplorer = process.env.REACT_APP_LITECOIN_EXPLORER; | ||
|
||
// Sample values | ||
export const lockupTransactionHash = | ||
process.env.REACT_APP_LOCKUP_TRANSACTION_HASH; | ||
|
||
export const bitcoinAddress = process.env.REACT_APP_BITCOIN_ADDRESS; | ||
export const litecoinAddress = process.env.REACT_APP_LITECOIN_ADDRESS; | ||
|
||
export const bitcoinInvoice = process.env.REACT_APP_BITCOIN_INVOICE; | ||
export const litecoinInvoice = process.env.REACT_APP_LITECOIN_INVOICE; |
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