Skip to content

Commit

Permalink
Adapt WalletConnect (#35)
Browse files Browse the repository at this point in the history
* Beta

* Refactor
  • Loading branch information
JayJay1024 authored May 29, 2023
1 parent fbf5fc1 commit e0890d9
Show file tree
Hide file tree
Showing 145 changed files with 9,675 additions and 4,223 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.0",
"lerna": "^5.5.1",
"lint-staged": "^13.0.3",
Expand Down
5 changes: 1 addition & 4 deletions packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"typescript": "^4.8.3"
},
"dependencies": {
"@apollo/client": "^3.7.2",
"@darwinia/app-types": "^1.0.0",
"ethers": "^5.7.2",
"graphql": "^16.6.0"
"ethers": "^5.7.2"
}
}
58 changes: 0 additions & 58 deletions packages/app-config/src/abi/testNet/deposit.json

This file was deleted.

153 changes: 0 additions & 153 deletions packages/app-config/src/abi/testNet/stake.json

This file was deleted.

32 changes: 0 additions & 32 deletions packages/app-config/src/assets/images/metamask-logo.svg

This file was deleted.

48 changes: 0 additions & 48 deletions packages/app-config/src/chains/darwinia.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/app-config/src/constant.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/app-config/src/custom.d.ts

This file was deleted.

31 changes: 0 additions & 31 deletions packages/app-config/src/dAppSupportedWallets.ts

This file was deleted.

5 changes: 1 addition & 4 deletions packages/app-config/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export * from "./constant";
export * from "./dAppSupportedWallets";
export * from "./supportedNetworks";
export * from "./gql";
export {};
7 changes: 0 additions & 7 deletions packages/app-config/src/supportedNetworks.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/app-config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"baseUrl": ".",
"rootDir": "src"
},
"include": ["src","src/**/*.json"]
"include": ["src", "src/**/*.json", "../app/src/config/supportedNetworks.ts"]
}
3 changes: 1 addition & 2 deletions packages/app-locale/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./translationProvider";
export * from "./localeKeys";
export {};
Loading

0 comments on commit e0890d9

Please sign in to comment.