Skip to content

Commit

Permalink
feat: removing goerli as selectable network
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Jan 31, 2024
1 parent 5947ced commit 213cc12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/app/hooks/use-bitcoin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function useBitcoin(): UseBitcoinReturnType {
};
const urlParams = {
bitcoinContractOffer: JSON.stringify(bitcoinContractOffer),
bitcoinNetwork: JSON.stringify('regtest'),
bitcoinNetwork: JSON.stringify('testnet'),
counterpartyWalletDetails: JSON.stringify(counterPartyWalletDetails),
};
return urlParams;
Expand Down
10 changes: 2 additions & 8 deletions src/app/hooks/use-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,9 @@ export function useEndpoints(): UseEndpointsReturnType {
switch (network?.id) {
case EthereumNetwork.Sepolia:
return {
routerWalletURL: 'https://devnet.dlc.link/wallet',
routerWalletURL: 'https://testnet.dlc.link/wallet',
ethereumExplorerAPIURL: 'https://sepolia.etherscan.io/tx/',
bitcoinExplorerAPIURL: 'http://devnet.dlc.link/electrs/tx/',
};
case EthereumNetwork.Goerli:
return {
routerWalletURL: 'https://devnet.dlc.link/wallet',
ethereumExplorerAPIURL: 'https://goerli.etherscan.io/tx/',
bitcoinExplorerAPIURL: 'https://blockstream.info/testnet/tx/',
bitcoinExplorerAPIURL: 'http://testnet.dlc.link/electrs/tx/',
};
case EthereumNetwork.X1Testnet:
return {
Expand Down

0 comments on commit 213cc12

Please sign in to comment.