From b33473f1c53518c117e8b9da8270d56a90f7779e Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Fri, 18 Feb 2022 15:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E4=B9=B0=E7=9B=92?= =?UTF-8?q?=E5=AD=90=E7=9A=84=E7=AD=BE=E5=90=8D=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 10 +++--- package.json | 3 +- public/index.html | 5 ++- src/utils/blockchain.ts | 80 +++++++++++++++++++++++++++++++++++++---- 4 files changed, 83 insertions(+), 15 deletions(-) diff --git a/.env.development b/.env.development index d037843..af4b9bb 100644 --- a/.env.development +++ b/.env.development @@ -1,9 +1,9 @@ VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d' VUE_APP_BASE_API='https://market-test.kingsome.cn' -VUE_APP_CHAIN_ID=322 -VUE_APP_CHAIN_RPC='https://rpc-testnet.kcc.network' -VUE_APP_CHAIN_NAME='KCC-TESTNET' -VUE_APP_CHAIN_EXPLORERURL='https://scan-testnet.kcc.network +VUE_APP_CHAIN_ID=1338 +VUE_APP_CHAIN_RPC='http://192.168.100.22:8545' +VUE_APP_CHAIN_NAME='22' +VUE_APP_CHAIN_EXPLORERURL='' VUE_APP_CHAIN_CURRENCY_NAME='name' -VUE_APP_CHAIN_CURRENCY_SYMBOL='KCS' +VUE_APP_CHAIN_CURRENCY_SYMBOL='BEC' VUE_APP_CHAIN_CURRENCY_DECIMALS=18 diff --git a/package.json b/package.json index 726644e..64265ca 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", - "deploy": "ztools png ./dist && rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games" + "deploy": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games", + "deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test.cebg.games" }, "dependencies": { "@walletconnect/web3-provider": "^1.7.1", diff --git a/public/index.html b/public/index.html index 8506238..209073f 100644 --- a/public/index.html +++ b/public/index.html @@ -7,15 +7,14 @@ <%= htmlWebpackPlugin.options.title %> -