Skip to content

Commit 869766d

Browse files
committed
Merge branch 'main' of github.com:pyth-network/pyth-crosschain into tb/pulse/strict-updatedata-parsing
2 parents 92a42e5 + 0ce6061 commit 869766d

File tree

418 files changed

+36561
-5657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+36561
-5657
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ apps/api-reference @pyth-network/web-team
22
apps/entropy-debugger @pyth-network/web-team
33
apps/insights @pyth-network/web-team
44
apps/staking @pyth-network/web-team
5-
packages/app-logger @pyth-network/web-team
65
packages/component-library @pyth-network/web-team
7-
packages/fonts @pyth-network/web-team
86
packages/known-publishers @pyth-network/web-team
9-
packages/next-root @pyth-network/web-team
107
Dockerfile.node @pyth-network/web-team
118
package.json @pyth-network/web-team
129
pnpm-workspace.yaml @pyth-network/web-team

apps/api-reference/src/evm-networks.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,12 @@ export const NETWORK_INFO = {
893893
isMainnet: true,
894894
contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
895895
},
896+
[146]: {
897+
name: "sonic_mainnet",
898+
rpcUrl: " https://rpc.soniclabs.com",
899+
isMainnet: true,
900+
contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
901+
},
896902
} satisfies Record<number, NetworkInfo>;
897903

898904
export const NETWORK_IDS = Object.keys(NETWORK_INFO).map((key) =>

apps/entropy-explorer/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env*.local
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.next/
2+
coverage/
3+
node_modules/
4+
*.tsbuildinfo
5+
.env*.local
6+
.env
7+
.DS_Store
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { nextjs as default } from "@cprussin/eslint-config";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { nextjs as default } from "@cprussin/jest-config/next";
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
const config = {
2+
reactStrictMode: true,
3+
4+
pageExtensions: ["ts", "tsx", "mdx"],
5+
6+
logging: {
7+
fetches: {
8+
fullUrl: true,
9+
},
10+
},
11+
12+
webpack(config) {
13+
config.module.rules.push({
14+
test: /\.svg$/i,
15+
use: ["@svgr/webpack"],
16+
});
17+
18+
config.resolve.extensionAlias = {
19+
".js": [".js", ".ts", ".tsx"],
20+
};
21+
22+
return config;
23+
},
24+
25+
headers: async () => [
26+
{
27+
source: "/:path*",
28+
headers: [
29+
{
30+
key: "X-XSS-Protection",
31+
value: "1; mode=block",
32+
},
33+
{
34+
key: "Referrer-Policy",
35+
value: "strict-origin-when-cross-origin",
36+
},
37+
{
38+
key: "Strict-Transport-Security",
39+
value: "max-age=2592000",
40+
},
41+
{
42+
key: "X-Content-Type-Options",
43+
value: "nosniff",
44+
},
45+
{
46+
key: "Permissions-Policy",
47+
value:
48+
"vibrate=(), geolocation=(), midi=(), notifications=(), push=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), speaker=(), vibrate=(), fullscreen=self",
49+
},
50+
],
51+
},
52+
],
53+
};
54+
export default config;

apps/entropy-explorer/package.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "@pythnetwork/entropy-explorer",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"engines": {
7+
"node": "22"
8+
},
9+
"scripts": {
10+
"build:vercel": "next build",
11+
"fix:format": "prettier --write .",
12+
"fix:lint:eslint": "eslint --fix .",
13+
"fix:lint:stylelint": "stylelint --fix 'src/**/*.scss'",
14+
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_TBkf9EyQjQF37gs4Vk0sQKJj97kE vercel env pull",
15+
"start:dev": "next dev --port 3006",
16+
"start:prod": "next start --port 3006",
17+
"test:format": "prettier --check .",
18+
"test:lint:eslint": "eslint . --max-warnings 0",
19+
"test:lint:stylelint": "stylelint 'src/**/*.scss' --max-warnings 0",
20+
"test:types": "tsc"
21+
},
22+
"dependencies": {
23+
"@phosphor-icons/react": "catalog:",
24+
"@pythnetwork/component-library": "workspace:*",
25+
"clsx": "catalog:",
26+
"connectkit": "catalog:",
27+
"next": "catalog:",
28+
"nuqs": "catalog:",
29+
"react": "catalog:",
30+
"react-aria": "catalog:",
31+
"react-dom": "catalog:",
32+
"viem": "catalog:",
33+
"wagmi": "catalog:",
34+
"zod": "catalog:"
35+
},
36+
"devDependencies": {
37+
"@cprussin/eslint-config": "catalog:",
38+
"@cprussin/jest-config": "catalog:",
39+
"@cprussin/prettier-config": "catalog:",
40+
"@cprussin/tsconfig": "catalog:",
41+
"@svgr/webpack": "catalog:",
42+
"@types/jest": "catalog:",
43+
"@types/node": "catalog:",
44+
"@types/react": "catalog:",
45+
"@types/react-dom": "catalog:",
46+
"autoprefixer": "catalog:",
47+
"eslint": "catalog:",
48+
"jest": "catalog:",
49+
"postcss": "catalog:",
50+
"prettier": "catalog:",
51+
"sass": "catalog:",
52+
"stylelint": "catalog:",
53+
"stylelint-config-standard-scss": "catalog:",
54+
"typescript": "catalog:",
55+
"vercel": "catalog:"
56+
}
57+
}
File renamed without changes.

0 commit comments

Comments
 (0)