Skip to content

Commit

Permalink
chore: replace hard coded simple swap api key with env var
Browse files Browse the repository at this point in the history
  • Loading branch information
chidg committed Aug 26, 2024
1 parent d8abf38 commit cd6b72d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { atomFamily } from 'jotai/utils'
import { createPublicClient, encodeFunctionData, erc20Abi, http, isAddress } from 'viem'
import { mainnet, bsc, arbitrum, optimism, blast, polygon } from 'viem/chains'

const APIKEY = 'cd797f84-f852-4efe-9ab8-b49464c4d632'
const APIKEY = import.meta.env.REACT_APP_SIMPLESWAP_API_KEY
const PROTOCOL = 'simpleswap'

type SimpleSwapCurrency = {
Expand Down

0 comments on commit cd6b72d

Please sign in to comment.