Skip to content

Commit d81eccb

Browse files
committed
refactor: 1.4.0
1 parent a6a7480 commit d81eccb

File tree

570 files changed

+18355
-5790
lines changed

Some content is hidden

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

570 files changed

+18355
-5790
lines changed

Diff for: .eslintrc.json

-31
This file was deleted.

Diff for: .gitignore

+10-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,13 @@ dist/
3131

3232
# setup
3333
yarn.lock
34-
package-lock.json
34+
package-lock.json
35+
36+
*.spec.ts
37+
*.spec.*
38+
.vscode
39+
.jest
40+
yarn.lock
41+
package.lock
42+
node_modules
43+
node_modules

Diff for: .prettierrc

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"semi": true,
3-
"tabWidth": 2,
4-
"printWidth": 100,
5-
"singleQuote": true,
6-
"trailingComma": "all",
7-
"jsxSingleQuote": true,
8-
"bracketSpacing": true,
9-
"useTabs": false
10-
}
2+
"semi": false,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"useTabs": false,
6+
"trailingComma": "all",
7+
"jsxSingleQuote": true,
8+
"bracketSpacing": true
9+
}

Diff for: README.md

+40-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# Adena Browser Extension
2+
23
[![Twitter: Adena Wallet](https://img.shields.io/twitter/follow/adenaapp?style=social)](https://twitter.com/adenaapp)
34
![Banner](banner.png)
5+
46

57
## Introduction
6-
**Adena** is a friendly, open source, non-custodial Gnoland wallet, built for Gnomes worldwide. Adena exists to power millions of smart contracts and tokens that will flourish the Gnoland ecosystem with a quality UI, custom token & NFT management, and a seamless dapp integration process.
7-
8-
As a user, Adena makes managing your crypto as simple as sending money on Paypal or Venmo. As a developer, integrating Adena to your web application brings streamlined web3 experience to your users!
98

10-
You can find the latest version of Adena on our [official website](https://adena.app/), or directly on [the Chrome Webstore](https://chrome.google.com/webstore/detail/adena/oefglhbffgfkcpboeackfgdagmlnihnh).
11-
12-
Also, follow us on our [Twitter](https://twitter.com/adenaapp) and [Medium](https://medium.com/@adena.app) for the latest updates and patch notes!
9+
**Adena** is a friendly, open-source, non-custodial Gnoland wallet, built for Gnomes worldwide. Adena exists to power millions of realms (smart contracts in gnolang) and tokens that will flourish the Gnoland ecosystem with a quality interface, NFT & custom token support, and a seamless integration procedure.
10+
11+
For users, Adena makes managing crypto as simple as keeping and sending money on Paypal or Venmo.
12+
13+
For developers, Adena provides streamlined web3 experience upon integration!
14+
15+
You can find the latest official version of Adena on our [official website](https://adena.app/), or directly on [the Chrome Webstore](https://chrome.google.com/webstore/detail/adena/oefglhbffgfkcpboeackfgdagmlnihnh).
16+
17+
Also, follow us on our [Twitter](https://twitter.com/adenaapp) and [Medium](https://medium.com/@adena.app) for newest updates, patch notes, and partnership announcements!
18+
1319

1420
## Features
21+
1522
✅ Create & Restore Wallet <br>
1623
✅ View Account Balances <br>
1724
✅ Deposit & Send Tokens <br>
@@ -20,24 +27,47 @@ Also, follow us on our [Twitter](https://twitter.com/adenaapp) and [Medium](http
2027
✅ Connect to Dapps <br>
2128
✅ Sign GNO Contracts <br>
2229
✅ Explore Dapps <br>
23-
⬜ Add Accounts <br>
30+
✅ Add Accounts <br>
31+
✅ Change Network <br>
2432
⬜ Manage Custom Tokens <br>
2533
⬜ View & Transfer NFTs <br>
2634
⬜ Staking & Governance <br>
27-
⬜ Change Network <br>
35+
36+
37+
## Building Locally
38+
39+
To set up a local environment, clone this repository and run the following commands:
40+
41+
```
42+
yarn install
43+
44+
yarn build
45+
```
46+
47+
48+
This will store the extension's build output in `packages/adena-extension/dist`.
49+
2850

2951
## Documentation
52+
3053
Check out our official documentation page for guides and brand assets.
54+
3155
-[User Guide](https://docs.adena.app/user-guide)
3256
- [Developer Guide](https://docs.adena.app/integrations/)
3357
- [Resources](https://docs.adena.app/resources/)
58+
59+
60+
61+
## Author
3462

35-
## Contributors
3663
**Onbloc**
64+
3765
- [Website](https://onbloc.xyz)
3866
- [Twitter](https://mobile.twitter.com/onblocxyz)
39-
- [Github](https://github.com/onbloc)
4067
- [Medium](https://medium.com/onbloc)
68+
69+
4170

4271
## Support
72+
4373
If you need support, join [our channel](https://discord.gg/6eTSyZ3569) on Gnoland's Discord server and ask for help!

Diff for: jest.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
projects: ['<rootDir>/packages/*/jest.config.js'],
3+
}

Diff for: nx.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": "nx/presets/npm.json",
3+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
4+
"tasksRunnerOptions": {
5+
"default": {
6+
"runner": "@nrwl/nx-cloud",
7+
"options": {
8+
"cacheableOperations": [
9+
"build",
10+
"lint",
11+
"test",
12+
"e2e"
13+
]
14+
}
15+
}
16+
}
17+
}

Diff for: package.json

+23-58
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,30 @@
11
{
2-
"name": "Adena",
3-
"version": "1.3.2",
2+
"name": "adena-extension",
3+
"version": "1.4.0",
44
"description": "Adena Wallet",
5+
"license": "MIT",
56
"scripts": {
6-
"build:dev": "webpack --mode=development --watch",
7-
"build": "webpack --mode production",
8-
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
9-
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx,json}'",
10-
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
7+
"build": "yarn build:module && yarn build:service && yarn",
8+
"build:module": "nx run-many --target=build --projects=adena-wallet,gno-client",
9+
"build:service": "nx run-many --target=build --projects=adena-extension"
1110
},
12-
"keywords": [],
13-
"license": "ISC",
11+
"private": true,
12+
"dependencies": {},
1413
"devDependencies": {
15-
"@babel/core": "^7.12.3",
16-
"@babel/preset-env": "^7.12.1",
17-
"@babel/preset-react": "^7.12.1",
18-
"@types/chrome": "0.0.195",
19-
"@types/crypto-js": "^4.1.1",
20-
"@types/react": "^16.9.53",
21-
"@types/react-dom": "^16.9.8",
22-
"@types/styled-components": "^5.1.25",
23-
"@typescript-eslint/eslint-plugin": "^5.36.1",
24-
"@typescript-eslint/parser": "^5.36.1",
25-
"babel-loader": "^8.1.0",
26-
"babel-plugin-transform-remove-console": "^6.9.4",
27-
"clean-webpack-plugin": "^4.0.0",
28-
"copy-webpack-plugin": "^6.2.1",
29-
"css-loader": "^5.0.0",
30-
"eslint": "^8.23.0",
31-
"eslint-config-prettier": "^8.5.0",
32-
"eslint-import-resolver-typescript": "^3.5.0",
33-
"eslint-plugin-import": "^2.26.0",
34-
"eslint-plugin-prettier": "^4.2.1",
35-
"eslint-plugin-react": "^7.31.1",
36-
"eslint-plugin-react-hooks": "^4.6.0",
37-
"file-loader": "^6.1.1",
38-
"html-webpack-plugin": "^5.5.0",
39-
"prettier": "^2.7.1",
40-
"style-loader": "^2.0.0",
41-
"ts-loader": "^8.4.0",
42-
"typescript": "^4.0.3",
43-
"url-loader": "^4.1.1",
44-
"webpack": "^5.74.0",
45-
"webpack-cli": "^4.10.0",
46-
"webpack-dev-server": "^4.10.0",
47-
"webpack-merge": "^5.8.0"
14+
"@nrwl/nx-cloud": "latest",
15+
"husky": "^8.0.1",
16+
"lint-staged": "^13.0.3",
17+
"nx": "15.0.0",
18+
"prettier": "^2.6.2",
19+
"jest": "^29.2.0"
4820
},
49-
"dependencies": {
50-
"@cosmjs/amino": "^0.28.11",
51-
"@cosmjs/crypto": "^0.28.11",
52-
"@vespaiach/axios-fetch-adapter": "^0.3.0",
53-
"axios": "^0.27.2",
54-
"crypto-js": "^4.1.1",
55-
"gnojs-types": "^0.1.3",
56-
"html-loader": "^4.1.0",
57-
"node-polyfill-webpack-plugin": "^2.0.1",
58-
"qrcode.react": "^3.1.0",
59-
"react": "^16.14.0",
60-
"react-dom": "^16.14.0",
61-
"react-router-dom": "^6.3.0",
62-
"styled-components": "^5.3.5",
63-
"uuidv4": "^6.2.13"
21+
"workspaces": [
22+
"packages/*"
23+
],
24+
"lint-staged": {
25+
"*.{js,jsx,ts,tsx}": [
26+
"prettier --write",
27+
"git add"
28+
]
6429
}
65-
}
30+
}

Diff for: packages/adena-extension/ .babelrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": false
7+
}
8+
],
9+
"@babel/preset-react"
10+
],
11+
"plugins": [
12+
"react-hot-loader/babel"
13+
]
14+
}

Diff for: packages/adena-extension/.eslintrc.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"jest": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:react/recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
12+
],
13+
"overrides": [],
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": ["react", "@typescript-eslint"],
20+
"rules": {},
21+
"settings": {
22+
"import/resolver": {
23+
"typescript": {}
24+
}
25+
}
26+
}

Diff for: packages/adena-extension/.prettierrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"semi": true,
3+
"tabWidth": 2,
4+
"printWidth": 100,
5+
"singleQuote": true,
6+
"trailingComma": "all",
7+
"jsxSingleQuote": true,
8+
"bracketSpacing": true,
9+
"useTabs": false
10+
}
File renamed without changes.

Diff for: packages/adena-extension/package.json

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"name": "adena-extension",
3+
"version": "1.4.0",
4+
"description": "Adena Wallet",
5+
"scripts": {
6+
"build:dev": "webpack --mode=development --watch",
7+
"build": "webpack --mode production",
8+
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
9+
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx,json}'",
10+
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
11+
},
12+
"keywords": [],
13+
"license": "ISC",
14+
"devDependencies": {
15+
"@babel/core": "^7.12.3",
16+
"@babel/preset-env": "^7.12.1",
17+
"@babel/preset-react": "^7.12.1",
18+
"@svgr/webpack": "^6.5.1",
19+
"@types/chrome": "0.0.195",
20+
"@types/crypto-js": "^4.1.1",
21+
"@types/react": "^16.9.53",
22+
"@types/react-dom": "^16.9.8",
23+
"@types/styled-components": "^5.1.25",
24+
"@typescript-eslint/eslint-plugin": "^5.36.1",
25+
"@typescript-eslint/parser": "^5.36.1",
26+
"babel-loader": "^8.1.0",
27+
"babel-plugin-transform-remove-console": "^6.9.4",
28+
"clean-webpack-plugin": "^4.0.0",
29+
"copy-webpack-plugin": "^6.2.1",
30+
"css-loader": "^5.0.0",
31+
"eslint": "^8.23.0",
32+
"eslint-config-prettier": "^8.5.0",
33+
"eslint-import-resolver-typescript": "^3.5.0",
34+
"eslint-plugin-import": "^2.26.0",
35+
"eslint-plugin-prettier": "^4.2.1",
36+
"eslint-plugin-react": "^7.31.1",
37+
"eslint-plugin-react-hooks": "^4.6.0",
38+
"file-loader": "^6.1.1",
39+
"html-webpack-plugin": "^5.5.0",
40+
"prettier": "^2.7.1",
41+
"style-loader": "^2.0.0",
42+
"ts-loader": "^8.4.0",
43+
"typescript": "^4.0.3",
44+
"url-loader": "^4.1.1",
45+
"webpack": "^5.74.0",
46+
"webpack-cli": "^4.10.0",
47+
"webpack-dev-server": "^4.10.0",
48+
"webpack-merge": "^5.8.0"
49+
},
50+
"dependencies": {
51+
"@tanstack/react-query": "^4.10.3",
52+
"@vespaiach/axios-fetch-adapter": "^0.3.0",
53+
"adena-wallet": "*",
54+
"axios": "^0.27.2",
55+
"crypto-js": "^4.1.1",
56+
"gno-client": "*",
57+
"html-loader": "^4.1.0",
58+
"node-polyfill-webpack-plugin": "^2.0.1",
59+
"qrcode.react": "^3.1.0",
60+
"react": "^16.14.0",
61+
"react-dom": "^16.14.0",
62+
"react-router-dom": "^6.3.0",
63+
"recoil": "^0.7.5",
64+
"styled-components": "^5.3.5",
65+
"uuidv4": "^6.2.13"
66+
}
67+
}

Diff for: packages/adena-extension/public/icon/icon128.png

3.83 KB
Loading

0 commit comments

Comments
 (0)