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-hoistStart the development server on http://localhost:3000
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheckout 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.jsonmust haveaddressproperty 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.tsthat will keep the API key property for the new chain. - Add the new chain data in
stores/networks.ts