Skip to content

Commit

Permalink
add explorer option (#603)
Browse files Browse the repository at this point in the history
* add explorer option

* test

---------

Co-authored-by: yuliferna <[email protected]>
  • Loading branch information
sebastianscatularo and yuli-ferna authored Jan 17, 2024
1 parent 5b63146 commit 24eab8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/connect/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const MAINNET_RPCS = {
}
}

const VITE_APP_CLUSTER = process.env.VITE_APP_CLUSTER || 'testnet'

// https://vitejs.dev/config/
export default defineConfig({
Expand All @@ -34,6 +35,9 @@ export default defineConfig({
env: process.env.VITE_APP_CLUSTER || 'mainnet',
...(process.env.VITE_APP_CLUSTER === 'mainnet' ? MAINNET_RPCS : {}),
showHamburgerMenu: false,
explorer: {
href: `https://wormholescan.io/#/txs?address={:address}&network=${VITE_APP_CLUSTER}`,
},
menu: [
{
label: 'Advanced Tools',
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docs/faqs/liquid-markets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Check out the [Wormhole Token list](https://github.com/certusone/wormhole-token-
<BscMoonbeam />
</TabItem>
<TabItem value="SOL -> MOONBEAM" label="SOL -> MOONBEAM">
<SolMoonbean />
<SolMoonbean />
</TabItem>
</Tabs>

Expand Down

0 comments on commit 24eab8f

Please sign in to comment.