diff --git a/.env.template b/.env.template index d031c30f1..e29dd57a9 100644 --- a/.env.template +++ b/.env.template @@ -5,3 +5,4 @@ TENDERLY_PROJECT=string TENDERLY_ACCESS_SECRET=string GELATO_API_KEY=string PUBLIC_NETWORK=number +COINMARKETCAP_API_KEY=string # To get one, sign up for a free developer account with Coinmarketcap diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3b372b22e..6edb56ee4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -22,6 +22,7 @@ jobs: envkey_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }} envkey_TENDERLY_USER: ${{ secrets.TENDERLY_USER }} envkey_GELATO_API_KEY: ${{ secrets.GELATO_API_KEY }} + envkey_COINMARKETCAP_API_KEY: ${{ secrets.COINMARKETCAP_API_KEY }} envkey_PUBLIC_NETWORK: 5 - name: Install dependencies diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index f93bc2013..296dab321 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -22,6 +22,7 @@ jobs: envkey_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }} envkey_TENDERLY_USER: ${{ secrets.TENDERLY_USER }} envkey_GELATO_API_KEY: ${{ secrets.GELATO_API_KEY }} + envkey_COINMARKETCAP_API_KEY: ${{ secrets.COINMARKETCAP_API_KEY }} envkey_PUBLIC_NETWORK: 5 - name: Install dependencies diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index b9e31d42e..5711b2b9a 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -31,7 +31,7 @@ You can preview the production build with `npm run preview`. ## 馃尦 Environment -There are a few environment variables required for the app to function. You can find an overview under `.env.template`. You始ll need access credentials for Pinata, Tenderly and a Gelato Relay API key for claiming projects. You始ll also need to set up `PUBLIC_NETWORK`, as described right below. +There are a few environment variables required for the app to function. You can find an overview under `.env.template`. You始ll need access credentials for Pinata, Tenderly and a Gelato Relay API key for claiming projects. You始ll also need to set up `PUBLIC_NETWORK`, as described right below. Lastly, you'll need to sign up for a free Coinmarketcap API developer account and populate the `COINMARKETCAP_API_KEY` var. ## 馃敆 Chain Config diff --git a/src/lib/components/aggregate-fiat-estimate/aggregate-fiat-estimate.svelte b/src/lib/components/aggregate-fiat-estimate/aggregate-fiat-estimate.svelte index 4bc162ce9..dc0323a7f 100644 --- a/src/lib/components/aggregate-fiat-estimate/aggregate-fiat-estimate.svelte +++ b/src/lib/components/aggregate-fiat-estimate/aggregate-fiat-estimate.svelte @@ -1,5 +1,5 @@