mirror of
https://github.com/luxfi/explore.git
synced 2026-07-27 03:13:50 +00:00
chore(explore): remove AI-slop write-ups and stale residue
Stale rebrand/merge residue committed by the Blockscout->Lux branding commits (999e2e8a8,10beed198) -- backups a find/replace pass wrote, then `git add -A` swept in. Nothing in the repo, CI, Dockerfiles or the wider workspace refers to any of them; all canonical counterparts are intact: - .gitignore.orig, README.md.orig, instrumentation.node.ts.orig, package.json.orig, pnpm-lock.yaml.orig, yarn.lock.orig, public/envs.js.orig, next.config.js.bak (~1.9 MB, mostly the two dead lockfile copies) - README.md.orig and public/envs.js.orig still contained raw `<<<<<<< HEAD` conflict markers -- unusable as anything but residue. - public/envs.js is not a source file at all: the real one is /public/assets/envs.js, generated by deploy/scripts/entrypoint.sh (gitignored). Also restores `*.orig`/`*.rej`/`*.bak` to .gitignore (upstream had `*.orig`; the fork dropped it, which is why this residue could be committed). Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
@@ -36,6 +36,11 @@
|
||||
grafana
|
||||
.zed
|
||||
|
||||
# merge / rewrite residue (upstream .gitignore had *.orig; keep it out of the tree)
|
||||
*.orig
|
||||
*.rej
|
||||
*.bak
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/node_modules_linux
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/.next/
|
||||
/out/
|
||||
/public/assets/envs.js
|
||||
/public/assets/configs
|
||||
/public/icons/sprite.svg
|
||||
/public/icons/sprite.*.svg
|
||||
/public/icons/README.md
|
||||
/public/static/og_image.png
|
||||
/public/sitemap.xml
|
||||
/public/robots.txt
|
||||
/analyze
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
*.pem
|
||||
.tools
|
||||
grafana
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
/configs/envs/.env.secrets
|
||||
/configs/envs/.samples
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
|
||||
.eslintcache
|
||||
|
||||
**.decrypted~**
|
||||
/test-results/
|
||||
/playwright-report/
|
||||
/playwright/.cache/
|
||||
/playwright/.browser/
|
||||
/playwright/envs.js
|
||||
/playwright/affected-tests.txt
|
||||
|
||||
**.dec**
|
||||
<<<<<<< HEAD
|
||||
|
||||
# build outputs
|
||||
/tools/preset-sync/index.js
|
||||
|
||||
*.orig
|
||||
=======
|
||||
.env
|
||||
>>>>>>> 73e9a36f9 (Update gitignore)
|
||||
@@ -574,6 +574,12 @@ white color that doesn't flip with the theme. Fixes:
|
||||
- Updated branding from Blockscout to Lux Network
|
||||
- Added logo assets
|
||||
|
||||
### Cleanup
|
||||
- **Removed** 8 stale `*.orig`/`*.bak` backups (~1.9 MB) left by the Blockscout→Lux
|
||||
rebrand commits; two still carried raw `<<<<<<< HEAD` conflict markers. Nothing
|
||||
referenced them. `*.orig`/`*.rej`/`*.bak` are now in `.gitignore` (upstream's had
|
||||
`*.orig`; the fork dropped it, which is how they got committed).
|
||||
|
||||
---
|
||||
|
||||
**Note**: This file is tracked in git. Update it when making significant architectural changes or discoveries about the codebase.
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
<h1 align="center">Lux Explore</h1>
|
||||
|
||||
<p align="center">
|
||||
<span>Frontend application for </span>
|
||||
<<<<<<< HEAD
|
||||
<a href="https://lux.network">Lux Network</a>
|
||||
=======
|
||||
<a href="https://github.com/luxfi/explore/blob/master/README.md">Lux Explorer</a>
|
||||
>>>>>>> c463e20f1 (Update luxfi links)
|
||||
<span> blockchain explorer</span>
|
||||
</p>
|
||||
|
||||
## Running and configuring the app
|
||||
|
||||
<<<<<<< HEAD
|
||||
App is distributed as a docker image. Here you can find information about the [package](https://github.com/luxfi/explore/pkgs/container/frontend) and its recent [releases](https://github.com/luxfi/explore/releases).
|
||||
=======
|
||||
App is distributed as a docker image. Here you can find information about the [package](https://github.com/luxfi/explore/pkgs/container/frontend) and its recent [releases](https://github.com/blockscout/frontend/releases).
|
||||
>>>>>>> c463e20f1 (Update luxfi links)
|
||||
|
||||
You can configure your app by passing necessary environment variables when starting the container. See full list of ENVs and their description [here](./docs/ENVS.md).
|
||||
|
||||
```sh
|
||||
docker run -p 3000:3000 --env-file <path-to-your-env-file> ghcr.io/luxfi/explore:latest
|
||||
```
|
||||
|
||||
Alternatively, you can build your own docker image and run your app from that. Please follow this [guide](./docs/CUSTOM_BUILD.md).
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> c463e20f1 (Update luxfi links)
|
||||
## Contributing
|
||||
|
||||
See our [Contribution guide](./docs/CONTRIBUTING.md) for pull request protocol. We expect contributors to follow our [code of conduct](./CODE_OF_CONDUCT.md) when submitting code or comments.
|
||||
|
||||
## Resources
|
||||
- [App ENVs list](./docs/ENVS.md)
|
||||
- [Contribution guide](./docs/CONTRIBUTING.md)
|
||||
- [Making a custom build](./docs/CUSTOM_BUILD.md)
|
||||
<<<<<<< HEAD
|
||||
- [Frontend migration guide](https://docs.lux.network)
|
||||
- [Manual deployment guide with backend and microservices](https://docs.lux.network)
|
||||
=======
|
||||
>>>>>>> c463e20f1 (Update luxfi links)
|
||||
|
||||
## License
|
||||
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||
|
||||
This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.
|
||||
@@ -1,75 +0,0 @@
|
||||
/* eslint-disable no-console */
|
||||
import { diag, DiagConsoleLogger, DiagLogLevel } from '@opentelemetry/api';
|
||||
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
|
||||
import { OTLPMetricExporter } from '@opentelemetry/exporter-metrics-otlp-proto';
|
||||
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
||||
import { Resource } from '@opentelemetry/resources';
|
||||
import {
|
||||
PeriodicExportingMetricReader,
|
||||
ConsoleMetricExporter,
|
||||
} from '@opentelemetry/sdk-metrics';
|
||||
import { NodeSDK } from '@opentelemetry/sdk-node';
|
||||
import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-node';
|
||||
import { SEMRESATTRS_SERVICE_NAME, SEMRESATTRS_SERVICE_VERSION, SEMRESATTRS_SERVICE_INSTANCE_ID } from '@opentelemetry/semantic-conventions';
|
||||
|
||||
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.INFO);
|
||||
|
||||
const traceExporter = new OTLPTraceExporter();
|
||||
|
||||
const sdk = new NodeSDK({
|
||||
resource: new Resource({
|
||||
[SEMRESATTRS_SERVICE_NAME]: 'blockscout_frontend',
|
||||
[SEMRESATTRS_SERVICE_VERSION]: process.env.NEXT_PUBLIC_GIT_TAG || process.env.NEXT_PUBLIC_GIT_COMMIT_SHA || 'unknown_version',
|
||||
[SEMRESATTRS_SERVICE_INSTANCE_ID]:
|
||||
process.env.NEXT_PUBLIC_APP_INSTANCE ||
|
||||
<<<<<<< HEAD
|
||||
process.env.NEXT_PUBLIC_APP_HOST?.replace('.lux.network', '').replaceAll('-', '_') ||
|
||||
=======
|
||||
process.env.NEXT_PUBLIC_APP_HOST?.replace('.blockscout.com', '').replaceAll('-', '_') ||
|
||||
>>>>>>> e0dfa2eb3 (Fix build)
|
||||
'unknown_app',
|
||||
}),
|
||||
spanProcessor: new SimpleSpanProcessor(traceExporter),
|
||||
traceExporter,
|
||||
metricReader: new PeriodicExportingMetricReader({
|
||||
exporter:
|
||||
process.env.NODE_ENV === 'production' ?
|
||||
new OTLPMetricExporter() :
|
||||
new ConsoleMetricExporter(),
|
||||
}),
|
||||
instrumentations: [
|
||||
getNodeAutoInstrumentations({
|
||||
'@opentelemetry/instrumentation-http': {
|
||||
ignoreIncomingRequestHook: (request) => {
|
||||
try {
|
||||
if (!request.url) {
|
||||
return false;
|
||||
}
|
||||
const url = new URL(request.url, `http://${ request.headers.host }`);
|
||||
if (
|
||||
url.pathname.startsWith('/_next/static/') ||
|
||||
url.pathname.startsWith('/_next/data/') ||
|
||||
url.pathname.startsWith('/assets/') ||
|
||||
url.pathname.startsWith('/static/')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
} catch (error) {}
|
||||
return false;
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
if (process.env.OTEL_SDK_ENABLED) {
|
||||
sdk.start();
|
||||
|
||||
process.on('SIGTERM', () => {
|
||||
sdk
|
||||
.shutdown()
|
||||
.then(() => console.log('Tracing terminated'))
|
||||
.catch((error) => console.log('Error terminating tracing', error))
|
||||
.finally(() => process.exit(0));
|
||||
});
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: process.env.BUNDLE_ANALYZER === 'true',
|
||||
});
|
||||
|
||||
const withRoutes = require('nextjs-routes/config')({
|
||||
outDir: 'nextjs',
|
||||
});
|
||||
|
||||
const headers = require('./nextjs/headers');
|
||||
const redirects = require('./nextjs/redirects');
|
||||
const rewrites = require('./nextjs/rewrites');
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const moduleExports = {
|
||||
transpilePackages: [
|
||||
'react-syntax-highlighter',
|
||||
'swagger-client',
|
||||
'swagger-ui-react',
|
||||
],
|
||||
reactStrictMode: true,
|
||||
webpack(config) {
|
||||
config.module.rules.push(
|
||||
{
|
||||
test: /\.svg$/,
|
||||
use: [ '@svgr/webpack' ],
|
||||
},
|
||||
);
|
||||
config.resolve.fallback = { fs: false, net: false, tls: false };
|
||||
config.externals.push('pino-pretty', 'lokijs', 'encoding');
|
||||
|
||||
return config;
|
||||
},
|
||||
// NOTE: all config functions should be static and not depend on any environment variables
|
||||
// since all variables will be passed to the app only at runtime and there is now way to change Next.js config at this time
|
||||
// if you are stuck and strongly believe what you need some sort of flexibility here please fill free to join the discussion
|
||||
// https://github.com/blockscout/frontend/discussions/167
|
||||
rewrites,
|
||||
redirects,
|
||||
headers,
|
||||
output: 'standalone',
|
||||
productionBrowserSourceMaps: true,
|
||||
serverExternalPackages: ["@opentelemetry/sdk-node", "@opentelemetry/auto-instrumentations-node"],
|
||||
experimental: {
|
||||
staleTimes: {
|
||||
dynamic: 30,
|
||||
'static': 180,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = withBundleAnalyzer(withRoutes(moduleExports));
|
||||
@@ -1,194 +0,0 @@
|
||||
{
|
||||
"name": "@luxfi/explore",
|
||||
"version": "1.0.0",
|
||||
"private": false,
|
||||
"homepage": "https://github.com/blockscout/frontend#readme",
|
||||
"engines": {
|
||||
"node": "22.11.0",
|
||||
"npm": "10.9.0"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "./tools/scripts/dev.sh",
|
||||
"dev:preset": "./tools/scripts/dev.preset.sh",
|
||||
"dev:preset:sync": "tsc -p ./tools/preset-sync/tsconfig.json && node ./tools/preset-sync/index.js",
|
||||
"build": "next build",
|
||||
"build:next": "./deploy/scripts/download_assets.sh ./public/assets/configs && yarn svg:build-sprite && ./deploy/scripts/make_envs_script.sh && next build",
|
||||
"build:docker": "docker build --build-arg GIT_COMMIT_SHA=$(git rev-parse --short HEAD) --build-arg GIT_TAG=$(git describe --tags --abbrev=0) -t blockscout-frontend:local ./",
|
||||
"start": "next start",
|
||||
"start:docker:local": "docker run -p 3000:3000 --env-file .env.local blockscout-frontend:local",
|
||||
"start:docker:preset": "./tools/scripts/docker.preset.sh",
|
||||
"lint:eslint": "eslint .",
|
||||
"lint:eslint:fix": "eslint . --fix",
|
||||
"lint:tsc": "tsc -p ./tsconfig.json",
|
||||
"lint:envs-validator:test": "cd ./deploy/tools/envs-validator && ./test.sh",
|
||||
"prepare": "husky install",
|
||||
"svg:format": "svgo -r ./icons",
|
||||
"svg:build-sprite": "./deploy/scripts/build_sprite.sh",
|
||||
"test:pw": "./tools/scripts/pw.sh",
|
||||
"test:pw:local": "export NODE_PATH=$(pwd)/node_modules && yarn test:pw",
|
||||
"test:pw:docker": "docker run --rm --ipc=host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.49.0-noble ./tools/scripts/pw.docker.sh",
|
||||
"test:pw:docker:deps": "docker run --rm --ipc=host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.49.0-noble ./tools/scripts/pw.docker.deps.sh",
|
||||
"test:pw:ci": "yarn test:pw --project=$PW_PROJECT",
|
||||
"test:pw:detect-affected": "node ./deploy/tools/affected-tests/index.js",
|
||||
"test:jest": "jest",
|
||||
"test:jest:watch": "jest --watch",
|
||||
"favicon:generate:dev": "./tools/scripts/favicon-generator.dev.sh",
|
||||
"og-image:generate:dev": "./tools/scripts/og-image-generator.dev.sh",
|
||||
"sitemap:generate:dev": "./tools/scripts/sitemap-generator.dev.sh",
|
||||
"monitoring:prometheus:local": "docker run --name blockscout_prometheus -d -p 127.0.0.1:9090:9090 -v $(pwd)/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus",
|
||||
"monitoring:grafana:local": "docker run -d -p 4000:3000 --name=blockscout_grafana --user $(id -u) --volume $(pwd)/grafana:/var/lib/grafana grafana/grafana-enterprise"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blockscout/bens-types": "1.4.1",
|
||||
"@blockscout/stats-types": "2.0.0",
|
||||
"@blockscout/visualizer-types": "0.2.0",
|
||||
<<<<<<< HEAD
|
||||
"@chakra-ui/anatomy": "^2.2.2",
|
||||
"@chakra-ui/lazy-utils": "2.0.5",
|
||||
=======
|
||||
>>>>>>> 9ff11df46 (Patch over newest)
|
||||
"@chakra-ui/react": "2.7.1",
|
||||
"@chakra-ui/theme-tools": "^2.0.18",
|
||||
"@cloudnouns/kit": "1.1.6",
|
||||
"@emotion/react": "^11.10.4",
|
||||
"@emotion/styled": "^11.10.4",
|
||||
"@growthbook/growthbook-react": "0.21.0",
|
||||
"@helia/verified-fetch": "2.0.1",
|
||||
"@hypelab/sdk-react": "^1.0.0",
|
||||
"@metamask/post-message-stream": "^7.0.0",
|
||||
"@metamask/providers": "^10.2.1",
|
||||
"@monaco-editor/react": "^4.4.6",
|
||||
"@next/bundle-analyzer": "15.0.3",
|
||||
"@opentelemetry/auto-instrumentations-node": "0.43.0",
|
||||
"@opentelemetry/exporter-jaeger": "1.27.0",
|
||||
"@opentelemetry/exporter-metrics-otlp-proto": "0.49.1",
|
||||
"@opentelemetry/exporter-trace-otlp-http": "0.49.1",
|
||||
"@opentelemetry/resources": "1.22.0",
|
||||
"@opentelemetry/sdk-node": "0.49.1",
|
||||
"@opentelemetry/sdk-trace-node": "1.22.0",
|
||||
"@opentelemetry/semantic-conventions": "1.22.0",
|
||||
"@reown/appkit": "1.6.0",
|
||||
"@reown/appkit-adapter-wagmi": "1.6.0",
|
||||
"@rollbar/react": "0.12.0-beta",
|
||||
"@scure/base": "1.1.9",
|
||||
"@slise/embed-react": "^2.2.0",
|
||||
"@tanstack/react-query": "5.55.4",
|
||||
"@tanstack/react-query-devtools": "5.55.4",
|
||||
"@types/papaparse": "^5.3.5",
|
||||
"@types/react-scroll": "^1.8.4",
|
||||
"airtable": "^0.12.2",
|
||||
"bignumber.js": "^9.1.0",
|
||||
"blo": "^1.1.1",
|
||||
"chakra-react-select": "^4.4.3",
|
||||
"crypto-js": "^4.2.0",
|
||||
"d3": "^7.6.1",
|
||||
"dappscout-iframe": "0.2.5",
|
||||
"dayjs": "^1.11.5",
|
||||
"dom-to-image": "^2.6.0",
|
||||
"es-toolkit": "1.31.0",
|
||||
"focus-visible": "^5.2.0",
|
||||
"framer-motion": "^6.5.1",
|
||||
"getit-sdk": "^1.0.4",
|
||||
"gradient-avatar": "git+https://github.com/blockscout/gradient-avatar.git",
|
||||
"graphiql": "^2.2.0",
|
||||
"graphql": "^16.8.1",
|
||||
"graphql-ws": "^5.11.3",
|
||||
"js-cookie": "^3.0.1",
|
||||
"magic-bytes.js": "1.8.0",
|
||||
"mixpanel-browser": "^2.47.0",
|
||||
"monaco-editor": "^0.34.1",
|
||||
"next": "15.0.3",
|
||||
"nextjs-routes": "^1.0.8",
|
||||
"node-fetch": "^3.2.9",
|
||||
"papaparse": "^5.3.2",
|
||||
"path-to-regexp": "8.1.0",
|
||||
"phoenix": "^1.6.15",
|
||||
"pino-http": "^8.2.1",
|
||||
"pino-pretty": "^9.1.1",
|
||||
"prom-client": "15.1.1",
|
||||
"qrcode": "^1.5.1",
|
||||
"react": "18.3.1",
|
||||
"react-device-detect": "^2.2.3",
|
||||
"react-dom": "18.3.1",
|
||||
"react-google-recaptcha": "3.1.0",
|
||||
"react-hook-form": "7.52.1",
|
||||
"react-identicons": "^1.2.5",
|
||||
"react-intersection-observer": "^9.5.2",
|
||||
"react-jazzicon": "^1.0.4",
|
||||
"react-number-format": "^5.3.1",
|
||||
"react-scroll": "^1.8.7",
|
||||
"rollbar": "2.26.4",
|
||||
"swagger-ui-react": "^5.9.0",
|
||||
"use-font-face-observer": "^1.2.1",
|
||||
"valibot": "0.38.0",
|
||||
"viem": "2.21.54",
|
||||
"wagmi": "2.14.0",
|
||||
"xss": "^1.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "1.2.2",
|
||||
"@eslint/js": "9.14.0",
|
||||
"@next/eslint-plugin-next": "15.0.3",
|
||||
"@playwright/experimental-ct-react": "1.49.0",
|
||||
"@playwright/test": "1.49.0",
|
||||
"@stylistic/eslint-plugin": "2.10.1",
|
||||
"@svgr/webpack": "^6.5.1",
|
||||
"@tanstack/eslint-plugin-query": "5.60.1",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@total-typescript/ts-reset": "^0.4.0",
|
||||
"@types/crypto-js": "^4.1.1",
|
||||
"@types/csp-dev": "^1.0.0",
|
||||
"@types/d3": "^7.4.0",
|
||||
"@types/dom-to-image": "^2.6.4",
|
||||
"@types/jest": "^29.2.0",
|
||||
"@types/js-cookie": "^3.0.2",
|
||||
"@types/mixpanel-browser": "^2.38.1",
|
||||
"@types/node": "20.16.7",
|
||||
"@types/phoenix": "^1.5.4",
|
||||
"@types/qrcode": "^1.5.0",
|
||||
"@types/react": "18.3.12",
|
||||
"@types/react-dom": "18.3.1",
|
||||
"@types/react-google-recaptcha": "^2.1.5",
|
||||
"@types/swagger-ui-react": "^4.11.0",
|
||||
"@types/ws": "^8.5.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"css-loader": "^6.7.3",
|
||||
"dotenv-cli": "^6.0.0",
|
||||
"eslint": "9.14.0",
|
||||
"eslint-config-next": "15.0.3",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"eslint-plugin-import-helpers": "2.0.1",
|
||||
"eslint-plugin-jest": "28.9.0",
|
||||
"eslint-plugin-jsx-a11y": "6.10.2",
|
||||
"eslint-plugin-no-cyrillic-string": "^1.0.5",
|
||||
"eslint-plugin-playwright": "2.0.1",
|
||||
"eslint-plugin-react": "7.37.2",
|
||||
"eslint-plugin-react-hooks": "5.0.0",
|
||||
"eslint-plugin-regexp": "2.6.0",
|
||||
"globals": "15.12.0",
|
||||
"husky": "^8.0.0",
|
||||
"jest": "^29.2.1",
|
||||
"jest-environment-jsdom": "^29.2.1",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"lint-staged": ">=10",
|
||||
"mockdate": "^3.0.5",
|
||||
"style-loader": "^3.3.1",
|
||||
"svg-icons-cli": "^0.0.5",
|
||||
"svgo": "^2.8.0",
|
||||
"ts-jest": "^29.0.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "5.4.2",
|
||||
"typescript-eslint": "8.14.0",
|
||||
"vite-plugin-svgr": "^2.2.2",
|
||||
"vite-tsconfig-paths": "4.3.2",
|
||||
"ws": "^8.17.1"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "18.3.12",
|
||||
"@types/react-dom": "18.3.1"
|
||||
}
|
||||
}
|
||||
-28818
File diff suppressed because it is too large
Load Diff
@@ -1,86 +0,0 @@
|
||||
window.__envs = {
|
||||
NEXT_PUBLIC_NETWORK_ICON_DARK: "https://lux.exchange/favicon.png",
|
||||
NEXT_PUBLIC_GIT_TAG: "v1.0.0",
|
||||
NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE: "blockie",
|
||||
<<<<<<< HEAD
|
||||
NEXT_PUBLIC_APP_PROTOCOL: "https",
|
||||
NEXT_PUBLIC_BRIDGED_TOKENS_BRIDGES: "[{'type':'omni','title':'Lux Bridge','short_title':'Bridge'}]",
|
||||
NEXT_PUBLIC_VISUALIZE_API_HOST: "https://viz.lux.network",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: "18",
|
||||
NEXT_PUBLIC_STATS_API_HOST: "https://stats.lux.network",
|
||||
NEXT_PUBLIC_GIT_COMMIT_SHA: "2605cd63",
|
||||
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "false",
|
||||
NEXT_PUBLIC_NETWORK_LOGO_DARK: "https://lux.exchange/favicon.png",
|
||||
NEXT_PUBLIC_VISUALIZE_API_HOST: "https://viz.lux.network",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: "18",
|
||||
NEXT_PUBLIC_STATS_API_HOST: "https://stats.lux.network",
|
||||
NEXT_PUBLIC_GIT_COMMIT_SHA: "2605cd63",
|
||||
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "false",
|
||||
NEXT_PUBLIC_NETWORK_LOGO_DARK: "https://lux.exchange/favicon.png",
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: "wss",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_NAME: "Lux",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL: "LUX",
|
||||
NEXT_PUBLIC_HOMEPAGE_CHARTS: "['daily_txs', 'coin_price', 'market_cap', 'tvl']",
|
||||
NEXT_PUBLIC_SENTRY_DSN: "https://5440ed857a9524d7612f840d70f4d451@o4505283125641216.ingest.sentry.io/4506413028212736",
|
||||
NEXT_PUBLIC_API_HOST: "api-explore.lux.network",
|
||||
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: "f0ce9e1600e2d57a9f23305a6931a4c3",
|
||||
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: "https://admin-rs.services.blockscout.com",
|
||||
NEXT_PUBLIC_OG_DESCRIPTION: "Lux Network Mainnet Blockchain Explorer",
|
||||
NEXT_PUBLIC_AD_TEXT_PROVIDER: "none",
|
||||
NEXT_PUBLIC_VIEWS_BLOCK_HIDDEN_FIELDS: "['burnt_fees']",
|
||||
NEXT_PUBLIC_APP_HOST: "explore.lux.network",
|
||||
NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID: "",
|
||||
NEXT_PUBLIC_API_BASE_PATH: "/",
|
||||
NEXT_PUBLIC_AUTH_URL: "https://explore.lux.network/auth/auth0",
|
||||
=======
|
||||
>>>>>>> c435ed789 (Fix build)
|
||||
NEXT_PUBLIC_GRAPHIQL_TRANSACTION: "0x77506fcf46f4365398a010c14f33a7033f1dd5406d3b5317726e388268b6bd7b",
|
||||
NEXT_PUBLIC_SENTRY_DSN: "https://5440ed857a9524d7612f840d70f4d451@o4505283125641216.ingest.sentry.io/4506413028212736",
|
||||
NEXT_PUBLIC_HOMEPAGE_CHARTS: "['daily_txs', 'coin_price', 'market_cap', 'tvl']",
|
||||
NEXT_PUBLIC_SENTRY_ENABLE_TRACING: "false",
|
||||
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: "https://admin-rs.services.blockscout.com",
|
||||
NEXT_PUBLIC_AD_TEXT_PROVIDER: "none",
|
||||
NEXT_PUBLIC_VIEWS_NFT_MARKETPLACES: "[{'name':'Lux Market','collection_url':'https://app.lux.market/ethereum/{hash}','instance_url':'https://app.lux.market/ethereum/{hash}/{id}','logo_url':'https://app.lux.market/_next/image?url=%2Flogo.png&w=96&q=75'}]",
|
||||
NEXT_PUBLIC_API_HOST: "api-explore.lux-test.network",
|
||||
NEXT_PUBLIC_HOMEPAGE_SHOW_AVG_BLOCK_TIME: "true",
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: "wss",
|
||||
NEXT_PUBLIC_AUTH0_CLIENT_ID: "aULKfUIOoIjtkDyyCbPFMghyXhvVWlNy",
|
||||
NEXT_PUBLIC_PROMOTE_BLOCKSCOUT_IN_TITLE: "false",
|
||||
NEXT_PUBLIC_NETWORK_ID: "96368",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL: "tLUX",
|
||||
NEXT_PUBLIC_GIT_COMMIT_SHA: "ae5703c8",
|
||||
NEXT_PUBLIC_VISUALIZE_API_HOST: "https://viz.lux.network",
|
||||
NEXT_PUBLIC_OG_DESCRIPTION: "Lux Network Testnet Blockchain Explorer",
|
||||
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: "f0ce9e1600e2d57a9f23305a6931a4c3",
|
||||
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: "https://contracts-info.services.blockscout.com",
|
||||
NEXT_PUBLIC_APP_HOST: "explore.lux-test.network",
|
||||
NEXT_PUBLIC_OG_IMAGE_URL: "",
|
||||
NEXT_PUBLIC_BRIDGED_TOKENS_CHAINS: "[{'id':'1','title':'Ethereum','short_title':'ETH','base_url':'https://eth.blockscout.com/token'}]",
|
||||
NEXT_PUBLIC_HOMEPAGE_SHOW_GAS_TRACKER: "true",
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: "https://api.lux-test.network/",
|
||||
NEXT_PUBLIC_APP_PORT: "3000",
|
||||
NEXT_PUBLIC_APP_INSTANCE: "testnet",
|
||||
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "false",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: "18",
|
||||
NEXT_PUBLIC_NETWORK_NAME: "Lux Network",
|
||||
NEXT_PUBLIC_BRIDGED_TOKENS_BRIDGES: "[{'type':'omni','title':'Lux Bridge','short_title':'Bridge'}]",
|
||||
NEXT_PUBLIC_NETWORK_SHORT_NAME: "LUX",
|
||||
NEXT_PUBLIC_NETWORK_ICON: "https://lux.exchange/favicon.png",
|
||||
NEXT_PUBLIC_API_PROTOCOL: "https",
|
||||
NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID: "",
|
||||
NEXT_PUBLIC_IS_TESTNET: "false",
|
||||
NEXT_PUBLIC_APP_ENV: "production",
|
||||
NEXT_PUBLIC_API_BASE_PATH: "/",
|
||||
NEXT_PUBLIC_AUTH_URL: "https://explore.lux.network/auth/auth0",
|
||||
NEXT_PUBLIC_NETWORK_LOGO: "https://lux.exchange/favicon.png",
|
||||
NEXT_PUBLIC_HIDE_INDEXING_ALERT_BLOCKS: "true",
|
||||
NEXT_PUBLIC_APP_PROTOCOL: "https",
|
||||
NEXT_PUBLIC_API_SPEC_URL: "https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml",
|
||||
NEXT_PUBLIC_LOGOUT_URL: "https://explore.lux-test.network/auth/auth0/logout",
|
||||
NEXT_PUBLIC_AD_BANNER_PROVIDER: "none",
|
||||
NEXT_PUBLIC_VIEWS_CONTRACT_SOLIDITYSCAN_ENABLED: "true",
|
||||
NEXT_PUBLIC_STATS_API_HOST: "https://stats.lux.network",
|
||||
NEXT_PUBLIC_VIEWS_BLOCK_HIDDEN_FIELDS: "[\'burnt_fees\']",
|
||||
NEXT_PUBLIC_NETWORK_CURRENCY_NAME: "Testnet Lux",
|
||||
NEXT_PUBLIC_NETWORK_LOGO_DARK: "https://lux.exchange/favicon.png",
|
||||
}
|
||||
-18084
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user