Skip to content
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
3 changes: 2 additions & 1 deletion packages/cosmos-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"@cosmos-kit/ctrl": "^2.13.6",
"@cosmos-kit/exodus": "^2.12.6",
"@cosmos-kit/fin": "^2.13.7",
"@cosmos-kit/galaxy-station": "^2.13.6",
"@cosmos-kit/keplr": "^2.14.7",
"@cosmos-kit/leap": "^2.14.7",
"@cosmos-kit/ledger": "^2.13.7",
Expand All @@ -88,4 +89,4 @@
"@cosmos-kit/tailwind": "^1.7.6",
"@cosmos-kit/trust": "^2.13.6"
}
}
}
10 changes: 10 additions & 0 deletions packages/cosmos-kit/src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { wallets as compassExtension } from '@cosmos-kit/compass-extension';
import { wallets as okxwalletExtension } from '@cosmos-kit/okxwallet-extension';
import { wallets as cosmostationExtension } from '@cosmos-kit/cosmostation-extension';
import { wallets as cosmostationMobile } from '@cosmos-kit/cosmostation-mobile';
import { wallets as galaxyStationExtension } from '@cosmos-kit/galaxy-station-extension';
import { wallets as galaxyStationMobile } from '@cosmos-kit/galaxy-station-mobile';
import { wallets as keplrExtension } from '@cosmos-kit/keplr-extension';
import { wallets as keplrMobile } from '@cosmos-kit/keplr-mobile';
import { wallets as owalletExtension } from '@cosmos-kit/owallet-extension';
Expand Down Expand Up @@ -38,6 +40,7 @@ export type WalletName =
| 'tailwind'
| 'owallet'
| 'exodus'
| 'galaxystation'
| 'cdcwallet';

export type WalletList<
Expand Down Expand Up @@ -82,6 +85,10 @@ export const leap = createWalletList(
leapMobile[0],
leapMetamaskCosmosSnap[0]
);
export const galaxystation = createWalletList(
galaxyStationExtension[0],
galaxyStationMobile[0]
);
export const okxwallet = createWalletList(okxwalletExtension[0], null);
export const trust = createWalletList(trustExtension[0], trustMobile[0]);
export const ctrl = createWalletList(ctrlExtension[0], null);
Expand Down Expand Up @@ -116,6 +123,7 @@ export type AllWalletList = SubWalletList & {
tailwind: typeof tailwind;
owallet: typeof owallet;
cdcwallet: typeof cdcwallet;
galaxystation: typeof galaxystation;
for: (...names: WalletName[]) => SubWalletList;
not: (...names: WalletName[]) => SubWalletList;
};
Expand Down Expand Up @@ -155,6 +163,7 @@ export function createAllWalletList(ws: MainWalletBase[]) {
wallets.tailwind = tailwind;
wallets.owallet = owallet;
wallets.cdcwallet = cdcwallet;
wallets.galaxystation = galaxystation;

defineGetters(wallets);

Expand Down Expand Up @@ -202,4 +211,5 @@ export const wallets = createAllWalletList([
...tailwind,
...owallet,
...cdcwallet,
--- galaxystation,
]);
12 changes: 12 additions & 0 deletions wallets/galaxy-station-extension/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
7 changes: 7 additions & 0 deletions wallets/galaxy-station-extension/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules/
dist/
main/
module/
types/
coverage/
/index.ts
82 changes: 82 additions & 0 deletions wallets/galaxy-station-extension/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"unused-imports"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
// configures both eslint-plugin-prettier and eslint-config-prettier
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "tsconfig.json"
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"rules": {
"simple-import-sort/imports": 2,
"simple-import-sort/exports": 2,
"prettier/prettier": 2,
"unused-imports/no-unused-imports": 2,
"no-console": 1,
"no-debugger": 2,
"no-alert": 2,
"no-await-in-loop": 0,
"no-prototype-builtins": 0,
"no-return-assign": [
"error",
"except-parens"
],
"no-restricted-syntax": [
2,
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-unused-vars": 0,
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "React|res|next|^_"
}
],
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"no-unused-expressions": [
2,
{
"allowTaggedTemplates": true
}
],
"comma-dangle": 0,
"jsx-quotes": [
2,
"prefer-double"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
]
}
}
48 changes: 48 additions & 0 deletions wallets/galaxy-station-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# dist
main
module

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Editors
.idea

# Lib
lib

# npm package lock
package-lock.json
yarn.lock

# others
.DS_Store
32 changes: 32 additions & 0 deletions wallets/galaxy-station-extension/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
*.log
npm-debug.log*

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Dependency directories
node_modules

# npm package lock
package-lock.json
yarn.lock

# project files
__fixtures__
__tests__
.babelrc
.babelrc.js
.editorconfig
.eslintignore
.eslintrc
.eslintrc.js
.gitignore
.travis.yml
.vscode
CHANGELOG.md
examples
jest.config.js
package.json
src
test
1 change: 1 addition & 0 deletions wallets/galaxy-station-extension/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scripts-prepend-node-path=true
7 changes: 7 additions & 0 deletions wallets/galaxy-station-extension/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"useTabs": false
}
Loading