wallet-connect-web-examples/dapps/react-dapp-v2-with-web3js/src/constants/default.ts
Gancho Radkov 49920d0453
feat: examples dapps update (#72)
* feat: updates example dapp with ethers to use `universal-provider`

* feat: updates example dapp with web3 to use `universal-provider`

* fix: sets `paramsString` and `address` to lower case when searching for match

* chore: yarn lock

* refactor: rm `outdated` warning

* refactor: standardize event logging

* refactor: rm logs

* refactor: adds `next` to `ethers` dapp

* chore: rm old files

* refactor: adds next to web3 example

* chore: test deploy vercel

* chore: remove console log

* chore: to trigger deployment

* Revert "chore: to trigger deployment"

This reverts commit bc7712780a101f0152c20ce4eca4d8d117d8eaa7.

* feat: updates readmes

Co-authored-by: crypblizz <45455218+crypblizz8@users.noreply.github.com>
2022-11-08 10:32:07 +02:00

36 lines
863 B
TypeScript

export const DEFAULT_MAIN_CHAINS = [
// mainnets
"eip155:1",
"eip155:10",
"eip155:100",
"eip155:137",
"eip155:42161",
"eip155:42220",
];
export const DEFAULT_TEST_CHAINS = [
// testnets
"eip155:42",
"eip155:69",
"eip155:80001",
"eip155:421611",
"eip155:44787",
];
export const DEFAULT_CHAINS = [...DEFAULT_MAIN_CHAINS, ...DEFAULT_TEST_CHAINS];
export const DEFAULT_PROJECT_ID = process.env.NEXT_PUBLIC_PROJECT_ID;
export const DEFAULT_RELAY_URL = process.env.NEXT_PUBLIC_RELAY_URL;
export const DEFAULT_EIP155_METHODS = ["eth_sendTransaction", "personal_sign", "eth_signTypedData"];
export const DEFAULT_LOGGER = "debug";
export const DEFAULT_APP_METADATA = {
name: "React App",
description: "React App for WalletConnect",
url: "https://walletconnect.com/",
icons: ["https://avatars.githubusercontent.com/u/37784886"],
};