Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CosmosKit integration #50

Merged
merged 23 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion deploy-web/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true"
});
const { version } = require("./package.json");
const isDev = process.env.NODE_ENV === "development";
const withPWA = require("next-pwa")({
Expand Down Expand Up @@ -71,6 +74,6 @@ const sentryWebpackPluginOptions = {

// Make sure adding Sentry options is the last code to run before exporting, to
// ensure that your source maps include changes from all other Webpack plugins
module.exports = withPWA(withSentryConfig(moduleExports, sentryWebpackPluginOptions));
module.exports = withBundleAnalyzer(withPWA(withSentryConfig(moduleExports, sentryWebpackPluginOptions)));
// module.exports = moduleExports

4,803 changes: 4,775 additions & 28 deletions deploy-web/package-lock.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions deploy-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"dev": "next -p 3000",
"build": "next build",
"build-analyze": "set ANALYZE=true&& next build",
"start": "next start",
"type-check": "tsc",
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
Expand All @@ -18,6 +19,10 @@
"@auth0/nextjs-auth0": "^3.1.0",
"@cosmjs/encoding": "^0.29.5",
"@cosmjs/stargate": "^0.29.5",
"@cosmos-kit/cosmostation": "^2.5.0",
"@cosmos-kit/keplr": "^2.5.0",
"@cosmos-kit/leap-extension": "^2.6.0",
"@cosmos-kit/react": "^2.9.14",
"@emotion/cache": "^11.7.1",
"@emotion/css": "^11.7.1",
"@emotion/react": "^11.11.0",
Expand All @@ -38,6 +43,7 @@
"@textea/json-viewer": "^3.0.0",
"auth0": "^2.42.0",
"axios": "^0.27.2",
"chain-registry": "^1.20.0",
"cosmjs-types": "^0.6.1",
"date-fns": "^2.29.3",
"eslint-config-next": "^13.4.18",
Expand Down Expand Up @@ -83,6 +89,7 @@
},
"devDependencies": {
"@keplr-wallet/types": "^0.10.15",
"@next/bundle-analyzer": "^14.0.1",
"@types/auth0": "^2.35.3",
"@types/file-saver": "^2.0.5",
"@types/js-yaml": "^4.0.5",
Expand Down
15 changes: 15 additions & 0 deletions deploy-web/src/chains/akash-sandbox.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { akash, akashAssetList } from "./akash";

export const akashSandbox = {
...akash,
chain_id: "sandbox-01",
network_type: "sandbox",
chain_name: "akash-sandbox",
pretty_name: "Akash-Sandbox",
apis: {
rpc: [{ address: "https://rpc.sandbox-01.aksh.pw", provider: "ovrclk" }],
rest: [{ address: "https://api.sandbox-01.aksh.pw", provider: "ovrclk" }]
}
};

export const akashSandboxAssetList = { ...akashAssetList, chain_name: "akash-sandbox", assets: [...akashAssetList.assets] };
15 changes: 15 additions & 0 deletions deploy-web/src/chains/akash-testnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { akash, akashAssetList } from "./akash";

export const akashTestnet = {
...akash,
chain_id: "testnet-02",
network_type: "testnet",
chain_name: "akash-testnet",
pretty_name: "Akash-Testnet",
apis: {
rpc: [{ address: "https://rpc.testnet-02.aksh.pw", provider: "ovrclk" }],
rest: [{ address: "https://api.testnet-02.aksh.pw", provider: "ovrclk" }]
}
};

export const akashTestnetAssetList = { ...akashAssetList, chain_name: "akash-testnet", assets: [...akashAssetList.assets] };
Loading