Skip to content

Commit

Permalink
Change API KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
tunghp2002 committed Nov 5, 2024
1 parent 356b3a7 commit ef578f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/extension-web-ui/src/constants/buy/transak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
export const TRANSAK_API_KEY = process.env.TRANSAK_API_KEY || '4b767e2c-2e01-45c9-978e-d32c6f0c8900';
export const TRANSAK_TEST_MODE = process.env.TRANSAK_TEST_MODE !== undefined ? !!process.env.TRANSAK_TEST_MODE : true;

export const TRANSAK_URL = 'https://global-stg.transak.com/';
export const TRANSAK_URL = TRANSAK_TEST_MODE ? 'https://global-stg.transak.com/' : 'https://global.transak.com';
2 changes: 1 addition & 1 deletion packages/extension-web-ui/src/utils/buy/transak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const createTransakOrder: CreateBuyOrderFunction = (orderParams) => {
return new Promise((resolve) => {
const location = window.location.origin;
const params: TransakOrderParams = {
apiKey: '307807a5-5fb3-4add-8a6c-fca4972e0470',
apiKey: TRANSAK_API_KEY,
defaultCryptoCurrency: symbol,
networks: network,
cryptoCurrencyList: symbol,
Expand Down

0 comments on commit ef578f8

Please sign in to comment.