Skip to content

Commit

Permalink
chore: change default explorer to be tonviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga committed Nov 26, 2024
1 parent 7ea834f commit 0f39069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Flags:
--custom-key - specifies the API key to use with the custom API, can only be used with API v2.
--custom-type - specifies the network type to be indicated to scripts. Options: custom (default), mainnet, testnet.
--tonconnect, --deeplink, --mnemonic - specifies the deployer to use when running the script. If not specified on the command line, it will be asked interactively.
--tonscan, --tonviewer, --toncx, --dton - specifies the network explorer to use when displaying links to the deployed contracts. Default: tonscan.`,
--tonscan, --tonviewer, --toncx, --dton - specifies the network explorer to use when displaying links to the deployed contracts. Default: tonviewer.`,
build: `Usage: blueprint build [contract name] [flags]
Builds the specified contract according to the respective .compile.ts file. If the contract is written in TACT, all TACT-generated files (wrapper class, etc) will be placed in the build/<contract name> folder.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ton.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export function getExplorerLink(address: string, network: string, explorer: stri
return `https://${networkPrefix}dton.io/a/${address}`;

default:
return `https://${networkPrefix}tonscan.org/address/${address}`;
return `https://${networkPrefix}tonviewer.com/${address}`;
}
}

0 comments on commit 0f39069

Please sign in to comment.