NUXT_PUBLIC_BACKEND_URL=https://invest-api.ampnet.io/api/blockchain-api/v1
NUXT_PUBLIC_GTAG_ID="G-XXXXXXXX"
NUXT_PUBLIC_POLYGON_API_KEY=<API-KEY>
NUXT_PUBLIC_MUMBAI_API_KEY=<API-KEY>
NUXT_PUBLIC_ETHEREUM_API_KEY=<API-KEY>
NUXT_PUBLIC_BSC_API_KEY=<API-KEY>
NUXT_PUBLIC_GNOSIS_API_KEY=<API-KEY>
NUXT_PUBLIC_FANTOM_API_KEY=<API-KEY>
NUXT_PUBLIC_MOONRIVER=<API-KEY>
NUXT_PUBLIC_AVAX_API_KEY=<API-KEY>
NUXT_PUBLIC_AURORA_API_KEY=<API-KEY>
Look at the nuxt 3 documentation to learn more.
Follow this
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.
- Add all the new chain tokens in
public/tokens/list.json
, along with token images in thepublic/tokens/images
- If supporting native token for the chain, the native token list item in
list.json
must haveaddress
property set to0x0000000000000000000000000000000000000000
. This is how it's determined if the token is native in the code. - Generate a new project API key on backend for the new chain using new chain's
chainId
- Create a new env variable in
nuxt.config.ts
that will keep the API key property for the new chain. - Add the new chain data in
stores/networks.ts