parent
1a37fe29f2
commit
b51f160150
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
# @LastEditors: John
|
||||
# @Date: 2024-06-24 18:38:45
|
||||
# @LastEditTime: 2024-06-24 18:41:05
|
||||
# @Author: John
|
||||
###
|
||||
VITE_BASE_URL=http://wwwtest.exgo.pro
|
||||
VITE_BASE_API_URL=http://wwwtest.exgo.pro
|
||||
VITE_PARTICIPATE_CHAIN_ID=97
|
||||
VITE_PURCHASED_CONTRACT_ADDRESS=0xD70762bf8682b68bd0cbbBC0cdeC81db4f00AEc6
|
||||
VITE_NETWORK_USDT_ADDRESS=0xf9A18B7FC8Eb118f8Ad59fBD6eb1A181eaCb4E63
|
||||
VITE_CHECK_TRANSACTION_DETAILS_URL=https://testnet.bscscan.com/
|
|
@ -6,6 +6,7 @@
|
|||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"build:test": "tsc && vite build --mode test",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
"iconfont": "npx iconfont-h5"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* @LastEditors: John
|
||||
* @Date: 2024-06-17 18:01:43
|
||||
* @LastEditTime: 2024-06-17 18:16:57
|
||||
* @LastEditTime: 2024-06-24 18:51:52
|
||||
* @Author: John
|
||||
*/
|
||||
/*
|
||||
|
@ -39,9 +39,10 @@ const metadata = {
|
|||
icons: [`${import.meta.env.BASE_URL}/favicon.svg`],
|
||||
};
|
||||
|
||||
let chains = import.meta.env.PROD
|
||||
? ([bsc] as const)
|
||||
: ([bnbTestNetwork] as const);
|
||||
let chains =
|
||||
import.meta.env.DEV || import.meta.env.MODE == "test"
|
||||
? ([bnbTestNetwork] as const)
|
||||
: ([bsc] as const);
|
||||
|
||||
export const config = defaultWagmiConfig({
|
||||
chains, // required
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* @LastEditors: John
|
||||
* @Date: 2024-06-17 17:20:03
|
||||
* @LastEditTime: 2024-06-17 17:41:09
|
||||
* @LastEditTime: 2024-06-24 18:48:07
|
||||
* @Author: John
|
||||
*/
|
||||
{
|
||||
|
@ -23,9 +23,6 @@
|
|||
/* Linting */
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
|
|
Loading…
Reference in New Issue