Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1615 commits
Select commit Hold shift + click to select a range
3c85666
chore(release): publish
github-actions[bot] Aug 10, 2024
d70e559
chore: fix /ui version mismatching
yeager-eren Aug 10, 2024
4e57a86
chore(release): publish
github-actions[bot] Aug 10, 2024
c0bf466
chore: add first and last icons
RyukTheCoder Aug 11, 2024
1b1b99d
chore(release): publish
github-actions[bot] Aug 11, 2024
8ccda6b
fix: recalculate supported tokens even if it's empty list
yeager-eren Aug 11, 2024
c5f6aeb
chore(release): publish
github-actions[bot] Aug 11, 2024
cd86913
chore(translation): update translations [skip ci]
crowdin-bot Aug 11, 2024
cb6c3a9
Merge branch 'next'
github-actions[bot] Aug 11, 2024
50fe146
chore(release): publish
github-actions[bot] Aug 11, 2024
bf95e72
chore(release): deploy
mikasackermn Aug 11, 2024
598bb7c
chore(release): publish
github-actions[bot] Aug 11, 2024
f4c25ba
chore(release): deploy
mikasackermn Aug 11, 2024
e849c40
chore: migrate wallets and signers to node16
yeager-eren Aug 13, 2024
f008d80
chore(release): publish
github-actions[bot] Aug 13, 2024
181bac3
fix: fix wallet state issue after retrying to fetch the balance follo…
nikaaru Aug 13, 2024
907c6da
chore(release): publish
github-actions[bot] Aug 13, 2024
5c6c497
chore: adding extensio to import paths for ui
yeager-eren Aug 14, 2024
b1c8bb5
chore(release): publish
github-actions[bot] Aug 14, 2024
4da2392
refactor: introducing StatefulConnect to get required params for prov…
yeager-eren Aug 12, 2024
a023ebc
chore(release): publish
github-actions[bot] Aug 15, 2024
a1aa0af
feat: add functionality to support custom tokens
mikasackermn Aug 17, 2024
e891d80
chore(release): publish
github-actions[bot] Aug 17, 2024
e9b8645
chore(translation): update translations [skip ci]
crowdin-bot Aug 17, 2024
b4a3172
chore: update embedded version
mikasackermn Aug 17, 2024
7ae5b5d
chore(release): publish
github-actions[bot] Aug 17, 2024
bbd1a69
chore: update changelog
mikasackermn Aug 18, 2024
afacbc4
chore: restructure shared and react to use /core package
yeager-eren Aug 16, 2024
0d14ddb
chore(release): publish
github-actions[bot] Aug 19, 2024
c967b4f
chore: fix import from wallets core legacy in examples
RyukTheCoder Aug 19, 2024
629ed1f
chore: remove solflare patch
yeager-eren Aug 19, 2024
07a280e
feat: add `external-all-except` option to build command
yeager-eren Aug 19, 2024
66edae5
chore: use a workaround to buld wc2 provider without paching
yeager-eren Aug 19, 2024
d7e99d0
chore: remove postinstall from signer-cosmos
yeager-eren Aug 19, 2024
78b0e6c
chore(release): publish
github-actions[bot] Aug 19, 2024
0d00a45
feat: export a new hook for handling required data for connect called…
yeager-eren Aug 20, 2024
b60609b
fix: update signMessage in the default Solana signer to return a base…
Ikari-Shinji-re Aug 19, 2024
896c70b
fix: fix solfare and solfare-snap signers
Ikari-Shinji-re Aug 19, 2024
70443ae
chore(release): publish
github-actions[bot] Aug 20, 2024
2e29351
fix: add slippage icon to setting page
nikaaru Aug 19, 2024
1a6311e
chore(release): publish
github-actions[bot] Aug 20, 2024
ae558bb
chore: let legacy folder be included in wallets-core publish flow on npm
yeager-eren Aug 20, 2024
8998c0f
chore(release): publish
github-actions[bot] Aug 20, 2024
f9a6f07
Merge remote-tracking branch 'origin/main' into chore/pull-hotfix
yeager-eren Aug 20, 2024
caa4aa3
Merge pull request #851 from rango-exchange/chore/pull-hotfix
yeager-eren Aug 20, 2024
2a3958f
chore(release): publish
github-actions[bot] Aug 20, 2024
ad16056
fix: if state is on connecting, we should call disconnect in terminat…
yeager-eren Aug 21, 2024
c94c71a
fix: reset derivation path if it's string and switching from custom mode
yeager-eren Aug 21, 2024
0d54a60
fix: clear timeout for success modal to avoid closing upcoming modals…
yeager-eren Aug 24, 2024
1bbd8b5
chore(release): publish
github-actions[bot] Aug 26, 2024
aa1bc80
chore: change platform from node to browser to compile dynamic cjs fo…
yeager-eren Aug 27, 2024
c28a94b
feat: export StatefulConnect components and helpers
yeager-eren Aug 27, 2024
6517944
chore(release): publish
github-actions[bot] Aug 28, 2024
3998563
fix: incorrect error message on Trezor wallet transaction rejection
mikasackermn Aug 28, 2024
83a3afa
chore(release): publish
github-actions[bot] Aug 28, 2024
f332672
fix: polyfill bundled dependencies
yeager-eren Sep 1, 2024
a9929bb
fix: improve header component to center the title properly
RyukTheCoder Aug 17, 2024
0f7e438
chore(release): publish
github-actions[bot] Sep 1, 2024
7eaf7ab
chore: include polyfills for walletconnect-2 provider
yeager-eren Sep 3, 2024
8c52163
chore(release): publish
github-actions[bot] Sep 3, 2024
3a20446
chore: upgrade ethers to v6
RyukTheCoder Sep 8, 2024
0f65ab1
chore(release): publish
github-actions[bot] Sep 8, 2024
1de8888
feat: implement bordered variant for tabs component
Ikari-Shinji-re Sep 8, 2024
c4e5488
chore(release): publish
github-actions[bot] Sep 9, 2024
9773c9d
chore(translation): update translations [skip ci]
crowdin-bot Sep 9, 2024
0107f1d
fix: correct translation bugs
mikasackermn Sep 9, 2024
f5c1616
chore(translation): update translations [skip ci]
crowdin-bot Sep 9, 2024
3006c76
chore(release): publish
github-actions[bot] Sep 9, 2024
394e4f0
fix: ensure proper cleanup of the modal component after it is removed…
Ikari-Shinji-re Sep 9, 2024
6d74bf7
chore(release): publish
github-actions[bot] Sep 10, 2024
8647cb4
fix: remove trezor temporarily
nikaaru Sep 10, 2024
e0a3255
chore(release): publish
github-actions[bot] Sep 10, 2024
b5b7fbf
chore(translation): update translations [skip ci]
crowdin-bot Sep 10, 2024
3a65014
Merge branch 'next'
github-actions[bot] Sep 10, 2024
1a77308
chore(release): publish
github-actions[bot] Sep 10, 2024
9ce152e
chore(release): deploy
nikaaru Sep 10, 2024
b79fc32
Merge pull request #870 from rango-exchange/main
nikaaru Sep 10, 2024
eb0be81
fix: enabling trezor by removing bundling for @trezor/connect-web
yeager-eren Sep 16, 2024
5fd2359
chore(release): publish
github-actions[bot] Sep 16, 2024
cff3829
Merge remote-tracking branch 'origin/main' into chore/latest-updates
yeager-eren Sep 16, 2024
f5ae7e4
feat: add chart package
mikasackermn Sep 16, 2024
73f9b50
chore(release): publish
github-actions[bot] Sep 16, 2024
829f2d4
Merge pull request #876 from rango-exchange/chore/latest-updates
nikaaru Sep 16, 2024
c792862
chore(release): publish
github-actions[bot] Sep 16, 2024
d4358bc
feat: add mobile menu icons
nikaaru Sep 15, 2024
a039a5b
chore(release): publish
github-actions[bot] Sep 17, 2024
92692fe
feat: introducing hub, our new wallet management
yeager-eren Sep 18, 2024
b21df3d
chore(release): publish
github-actions[bot] Sep 18, 2024
7b88f18
perf: lazy load signer packages
RyukTheCoder Sep 18, 2024
1ce3367
chore(release): publish
github-actions[bot] Sep 18, 2024
fd4f246
fix: add chart icon and handle dark theme in BarChart component
mikasackermn Sep 24, 2024
4351f0c
chore(release): publish
github-actions[bot] Sep 24, 2024
ac3609f
chore: remove ledgerhq dependencies from internal packages
RyukTheCoder Sep 24, 2024
ccc65ee
chore(release): publish
github-actions[bot] Sep 25, 2024
0635f77
feat: implement scrollable variant for tabs component
Ikari-Shinji-re Sep 25, 2024
57dee44
chore(release): publish
github-actions[bot] Sep 25, 2024
1d7e8cf
chore(release): deploy
RyukTheCoder Sep 28, 2024
b8e4eb3
chore: use chain instead of blockchain in ui
RanGojo Sep 28, 2024
6201cb8
chore: improve warning texts
RanGojo Sep 28, 2024
73042bf
chore(release): publish
github-actions[bot] Sep 28, 2024
b3747ba
fix: cosmostation wallet connection error
mikasackermn Sep 25, 2024
5796ab2
chore(release): publish
github-actions[bot] Sep 30, 2024
405ccd6
chore: drop bep2 support
RanGojo Sep 28, 2024
6f2976f
chore(release): publish
github-actions[bot] Sep 30, 2024
d7f374b
feat: add signature to versioned transactions
RanGojo Oct 1, 2024
7f58c03
chore(release): publish
github-actions[bot] Oct 1, 2024
89d1a5b
fix: remove null memo from utxo transactions
RyukTheCoder Oct 5, 2024
9366206
chore(release): publish
github-actions[bot] Oct 5, 2024
cbe83a3
fix: resolve issues with the sign message method for certain solana p…
Ikari-Shinji-re Oct 6, 2024
3655637
chore(release): publish
github-actions[bot] Oct 6, 2024
fe5a41e
perf: enable code splitting in build process
RyukTheCoder Oct 7, 2024
d1be428
chore(release): publish
github-actions[bot] Oct 7, 2024
9a43c5f
Merge branch 'main' into chore/prod-sync
yeager-eren Oct 8, 2024
f1e680d
Merge pull request #894 from rango-exchange/chore/prod-sync
nikaaru Oct 8, 2024
171d667
chore(deps): bump webpack in the npm_and_yarn group
dependabot[bot] Sep 18, 2024
698f406
chore(release): publish
github-actions[bot] Oct 8, 2024
a9f8c6b
fix: add prepare data function for chart package
mikasackermn Oct 8, 2024
0ea0c08
chore(release): publish
github-actions[bot] Oct 8, 2024
04b2180
chore: update internal packages to latest
yeager-eren Oct 8, 2024
c9f2843
chore(release): publish
github-actions[bot] Oct 8, 2024
d442208
fix: bump sdk and fix type issues
RanGojo Oct 8, 2024
4dfcce7
chore(release): publish
github-actions[bot] Oct 8, 2024
5925d15
chore: add prerelease workflow
RyukTheCoder Oct 8, 2024
b5f1c46
chore(deps): bump the npm_and_yarn group with 7 updates
dependabot[bot] Oct 8, 2024
8032261
chore(release): publish
github-actions[bot] Oct 9, 2024
39824e3
feat: add id property to buttons
nikaaru Oct 9, 2024
497c387
fix: fix issues in the tabs component
Ikari-Shinji-re Oct 9, 2024
0c5ba05
chore(release): publish
github-actions[bot] Oct 9, 2024
25a2b8d
chore(translation): update translations [skip ci]
crowdin-bot Oct 9, 2024
bc6125c
chore: upgrade all
RyukTheCoder Oct 9, 2024
e01d99f
chore(release): publish
github-actions[bot] Oct 9, 2024
b9257a6
chore: update ui readme
Ikari-Shinji-re Oct 9, 2024
0956359
chore(release): publish
github-actions[bot] Oct 9, 2024
82c1963
chore: fix prerelease workflow issue with crowdin
RyukTheCoder Oct 9, 2024
3ca6c02
chore(translation): update translations [skip ci]
crowdin-bot Oct 9, 2024
5d38f7b
Merge branch 'next'
github-actions[bot] Oct 12, 2024
690db25
chore(release): publish
github-actions[bot] Oct 12, 2024
9b9d51c
chore(release): deploy
RyukTheCoder Oct 12, 2024
c59e5ae
Merge pull request #908 from rango-exchange/main
nikaaru Oct 12, 2024
017570f
fix: resolve issues with trezor provider's sign message method
Ikari-Shinji-re Oct 23, 2024
80e6032
chore(release): publish
github-actions[bot] Oct 23, 2024
0aa702a
fix: when host is using cjs, fallback to .default() for solfare sdk
yeager-eren Oct 30, 2024
9813853
chore(release): publish
github-actions[bot] Oct 30, 2024
73e9d56
fix: change crowdin machine translation to google translate
mikasackermn Nov 2, 2024
534e6a8
chore: add SVG icons for country flags
mikasackermn Nov 3, 2024
1d4be4d
chore(release): publish
github-actions[bot] Nov 3, 2024
2cadeb1
Merge pull request #920 from rango-exchange/chore/rf-1864-change-tran…
nikaaru Nov 3, 2024
5ce4873
chore: add extract translations job to check workflow and add a wrapp…
RyukTheCoder Oct 20, 2024
f7dae29
feat: add a prop to the tooltip component for collision padding
Ikari-Shinji-re Nov 4, 2024
87f706e
chore(release): publish
github-actions[bot] Nov 4, 2024
bc37fe9
feat: add more languages to widget
mikasackermn Nov 4, 2024
a3af00b
chore(release): publish
github-actions[bot] Nov 4, 2024
770ff85
chore(translation): update translations [skip ci]
crowdin-bot Nov 4, 2024
ad13491
fix: improve y-axis display for bar charts with smaller data sets
mikasackermn Nov 5, 2024
f8e0f70
chore(release): publish
github-actions[bot] Nov 5, 2024
3ea798f
chore: update ui README
RanGojo Nov 6, 2024
5e23178
chore(release): publish
github-actions[bot] Nov 6, 2024
1ec9b81
chore(deps): bump secp256k1 in the npm_and_yarn group
dependabot[bot] Oct 21, 2024
5c6728b
chore(deps): bump secp256k1 in the npm_and_yarn group
dependabot[bot] Oct 21, 2024
f7a5d12
chore: fix critical dependencies issues
yeager-eren Nov 6, 2024
dff36ca
chore(release): publish
github-actions[bot] Nov 6, 2024
f236d60
chore: fix resolution version for wc2
yeager-eren Nov 6, 2024
5465cf0
chore(release): publish
github-actions[bot] Nov 6, 2024
65e7605
chore: set a resolution for protobufjs transitive package
yeager-eren Nov 6, 2024
f299a12
chore(release): publish
github-actions[bot] Nov 6, 2024
38b127d
chore: set a resolution for protobufjs transitive package in wc2
yeager-eren Nov 6, 2024
2e2471d
chore(release): publish
github-actions[bot] Nov 6, 2024
07a1b77
Merge branch 'main' into chore/sync
yeager-eren Nov 12, 2024
be1d245
Merge pull request #944 from rango-exchange/chore/sync
yeager-eren Nov 12, 2024
9f9206b
chore(release): publish
github-actions[bot] Nov 12, 2024
07b2b89
fix: fix solana signer by migrating confirm transaction to get signat…
RanGojo Nov 11, 2024
d05a994
chore(release): publish
github-actions[bot] Nov 12, 2024
01d6678
Merge branch 'next'
github-actions[bot] Nov 12, 2024
13125d1
chore(release): publish
github-actions[bot] Nov 12, 2024
e2aa477
chore(release): deploy
Ikari-Shinji-re Nov 12, 2024
65a563d
Merge pull request #947 from rango-exchange/main
RanGojo Nov 12, 2024
2a89744
feat: add routing params to widget config
mikasackermn Nov 13, 2024
f97d2d9
chore(release): publish
github-actions[bot] Nov 13, 2024
82c0381
fix: fix error display for bad requests
nikaaru Nov 9, 2024
05a4063
chore(release): publish
github-actions[bot] Nov 17, 2024
d3142db
chore: improve and document code splitting
RyukTheCoder Nov 25, 2024
9cd87ea
chore(release): publish
github-actions[bot] Nov 25, 2024
c7642ca
chore: update solana confirmation timeout
RanGojo Nov 27, 2024
979cb0d
feat: display same source and destination token warning on widget
mikasackermn Nov 20, 2024
060e468
chore(release): publish
github-actions[bot] Nov 27, 2024
7027755
fix: improve ton signer and mytonwallet provider
Ikari-Shinji-re Nov 27, 2024
e0aaef4
chore(release): publish
github-actions[bot] Nov 27, 2024
2a2dbb7
feat: add ton connect provider
Ikari-Shinji-re Nov 27, 2024
197bc28
chore(release): publish
github-actions[bot] Nov 27, 2024
9d9f1b6
chore(translation): update translations [skip ci]
crowdin-bot Nov 27, 2024
111ae52
Merge branch 'next'
yeager-eren Nov 27, 2024
98a2fa1
chore(release): publish
github-actions[bot] Nov 27, 2024
8522586
chore(release): deploy
yeager-eren Nov 27, 2024
a7274d0
Merge pull request #961 from rango-exchange/main
yeager-eren Nov 27, 2024
a14bdf9
feat: add an adapter for Hub for wallets-react and enabling Hub by de…
yeager-eren Sep 20, 2024
007e458
chore(release): publish
github-actions[bot] Dec 1, 2024
0a7e7ee
feat: add chain change subscribe to evm namespace
nikaaru Nov 23, 2024
5438438
fix: fix frozen accounts array
nikaaru Nov 25, 2024
1a52b73
chore(release): publish
github-actions[bot] Dec 1, 2024
d1b42e9
fix: improve handling of disabled swappers in widget
mikasackermn Dec 2, 2024
b900094
chore(release): publish
github-actions[bot] Dec 2, 2024
9e9b2a9
feat: add fee details modal in widget full-expanded mode
mikasackermn Nov 22, 2024
8b269b4
chore(release): publish
github-actions[bot] Dec 2, 2024
9a913f6
feat: add route time warning for slow routes
mikasackermn Dec 3, 2024
cfbaad9
chore(release): publish
github-actions[bot] Dec 3, 2024
b33059e
fix: handle token not found error for custom tokens
mikasackermn Dec 11, 2024
5b7b400
chore(release): publish
github-actions[bot] Dec 14, 2024
1ebabfb
chore: change Namespace enum to stirng
yeager-eren Dec 9, 2024
03a0df8
chore(release): publish
github-actions[bot] Dec 16, 2024
9538a97
fix: add cookie icon
nikaaru Dec 14, 2024
9be871f
chore(release): publish
github-actions[bot] Dec 16, 2024
f3f52e0
test: add tests for wallets-react
yeager-eren Dec 16, 2024
697857f
chore(release): publish
github-actions[bot] Dec 16, 2024
6fd292b
chore(deps): bump nanoid from 3.3.7 to 3.3.8 in the npm_and_yarn group
dependabot[bot] Dec 14, 2024
f1bfedc
fix: fix ctrl wallet fail to connect problem
RyukTheCoder Dec 29, 2024
fcde421
feat: update ctrl wallet name and info
RyukTheCoder Dec 30, 2024
f524253
chore(release): publish
github-actions[bot] Dec 30, 2024
54625ce
chore(release): deploy
RyukTheCoder Dec 31, 2024
e61bb9c
Merge branch 'main' into chore/merge-main-branch-into-next-branch
RyukTheCoder Dec 31, 2024
81d43e5
Merge pull request #979 from rango-exchange/chore/merge-main-branch-i…
yeager-eren Dec 31, 2024
2888aba
chore(release): publish
github-actions[bot] Dec 31, 2024
c5437fa
feat: storing network alongside namespace for hub localstorage
yeager-eren Dec 31, 2024
40f66a6
chore(release): publish
github-actions[bot] Dec 31, 2024
7994c08
chore: remove discover mode from wallet core and react
yeager-eren Dec 10, 2024
fd30e81
chore: our queue preset now supports for the concept of namespace
yeager-eren Dec 10, 2024
3c4ef13
fix: showing correct network in notification
yeager-eren Dec 31, 2024
ae445dc
chore(release): publish
github-actions[bot] Dec 31, 2024
78d559f
fix: clean up old balances when switching account
yeager-eren Dec 17, 2024
8ea7d40
fix: switching to not connected account should disconnect evm as well
yeager-eren Dec 23, 2024
d072edb
chore(release): publish
github-actions[bot] Dec 31, 2024
58bbcaa
chore: move namespaces info to provider and remove the hardcoded mapp…
yeager-eren Jan 1, 2025
9d9fced
chore(release): publish
github-actions[bot] Jan 1, 2025
822f209
fix: fix hub problems with wallets config
RyukTheCoder Jan 4, 2025
171a734
chore(release): publish
github-actions[bot] Jan 4, 2025
57808ae
feat: add number blocks icon
mikasackermn Jan 4, 2025
f6861c1
chore(release): publish
github-actions[bot] Jan 5, 2025
4974b54
chore: update readme
yeager-eren Jan 5, 2025
8784166
chore(release): publish
github-actions[bot] Jan 5, 2025
007ed70
fix: incorrect default language setting
mikasackermn Jan 4, 2025
a77422d
feat: display a warning if the output amount changes on the confirm s…
Ikari-Shinji-re Jan 11, 2025
bbe10ef
chore(release): publish
github-actions[bot] Jan 11, 2025
8abbf51
feat: add profile banner to widget success modal
mikasackermn Jan 12, 2025
143e4ad
chore(release): publish
github-actions[bot] Jan 12, 2025
f1b7f2a
fix: ctrl wallet is changing 'keplr' named function to undefined
yeager-eren Jan 12, 2025
979ffa3
chore(release): publish
github-actions[bot] Jan 13, 2025
316f18c
fix: make hub compatible with external wallets
RyukTheCoder Jan 13, 2025
b8a07c2
chore(release): publish
github-actions[bot] Jan 13, 2025
c1c866b
feat: migrate coin98 to use Hub
mikasackermn Jan 18, 2025
903f56f
fix: add accurate type to getSolanaAccounts function
mikasackermn Jan 21, 2025
d86fc0b
fix: solana namespace connect bug
mikasackermn Feb 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
*.js
scripts
vitest.config.ts
150 changes: 150 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"env": {
"browser": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"import",
"react",
"react-hooks",
"destructuring",
"jsx-id-attribute-enforcement"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": true
},
"rules": {
"no-extra-boolean-cast": "off",
"multiline-comment-style": "error",
"arrow-spacing": "error",
"curly": ["error", "all"],
"no-else-return": "error",
"no-multiple-empty-lines": "error",
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": true
}
],
"import/order": [
"error",
{
"newlines-between": "always",
"groups": [
"type",
"builtin",
"external",
"internal",
"parent",
"sibling",
"object",
"index"
],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"import/first": "error",
"import/no-duplicates": "error",
"import/newline-after-import": [
"error",
{
"count": 1
}
],
"react-hooks/rules-of-hooks": "error",
"react/no-array-index-key": "error",
"react/jsx-no-constructed-context-values": "error",
"react/jsx-key": "error",
"react/no-unescaped-entities": "off",
"destructuring/in-params": "error",
"destructuring/in-methods-params": "error",
// These rules will be override by @typescript-eslint
"no-unused-vars": "off",
"no-throw-literal": "off",
"no-magic-numbers": "off",
"camelcase": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/no-magic-numbers": [
"error",
{
"ignore": [-1, 0, 1, 2],
"ignoreTypeIndexes": true
}
],
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/member-ordering": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
],
"@typescript-eslint/no-mixed-enums": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/prefer-enum-initializers": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/switch-exhaustiveness-check": "error",
"jsx-id-attribute-enforcement/missing-ids": [
"error",
{
"targetCustom": ["Button", "IconButton"]
}
]

// "@typescript-eslint/explicit-function-return-type": "error",
// "@typescript-eslint/naming-convention": [
// "error",
// {
// "selector": "default",
// "format": ["camelCase"]
// },

// {
// "selector": "variable",
// "format": ["camelCase", "UPPER_CASE"]
// },
// {
// "selector": "parameter",
// "format": ["camelCase"],
// "leadingUnderscore": "allow"
// },

// {
// "selector": "memberLike",
// "modifiers": ["private"],
// "format": ["camelCase"],
// "leadingUnderscore": "require"
// },

// {
// "selector": "typeLike",
// "format": ["PascalCase"]
// }
// ]
}
}
56 changes: 56 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Learn how to add code owners here:
# https://help.github.com/en/articles/about-code-owners

# Infra
/crowdin.yml @nikaaru
/lingui.config.ts @yeager-eren @nikaaru
/.github @yeager-eren @RanGojo @nikaaru
/scripts @yeager-eren @nikaaru

# Queue manager
/queue-manager/* @yeager-eren @samobasquiat

# Logging
/logging/* @yeager-eren

# Wallets
/signers/* @RanGojo @mikasackermn
/wallets/* @yeager-eren
/wallets/core @yeager-eren
/wallets/react @yeager-eren
/wallets/provider-all @yeager-eren
/wallets/provider-argentx @RanGojo @RanGojo
/wallets/provider-bitget @samobasquiat
/wallets/provider-braavos @RanGojo @samobasquiat
/wallets/provider-brave @Ikari-Shinji-re
/wallets/provider-clover @RanGojo
/wallets/provider-coin98 @Ikari-Shinji-re
/wallets/provider-coinbase @yeager-eren
/wallets/provider-cosmostation @Ikari-Shinji-re
/wallets/provider-default @RanGojo
/wallets/provider-enkrypt @Ikari-Shinji-re
/wallets/provider-exodus @mikasackermn
/wallets/provider-frontier @samobasquiat
/wallets/provider-halo @samobasquiat
/wallets/provider-keplr @RanGojo
/wallets/provider-leap-cosmos @samobasquiat
/wallets/provider-math-wallet @Ikari-Shinji-re
/wallets/provider-metamask @yeager-eren
/wallets/provider-mytonwallet @Ikari-Shinji-re
/wallets/provider-okx @mikasackermn
/wallets/provider-phantom @RanGojo @mikasackermn
/wallets/provider-safe @samobasquiat
/wallets/provider-safepal @Ikari-Shinji-re
/wallets/provider-station @mikasackermn
/wallets/provider-taho @mikasackermn
/wallets/provider-tokenpocket @mikasackermn
/wallets/provider-tron-link @RanGojo
/wallets/provider-trustwallet @mikasackermn
/wallets/provider-walletconnect2 @RanGojo @yeager-eren @samobasquiat @mikasackermn
/wallets/provider-xdefi @RanGojo

# Widget
/widget/embedded/store @yeager-eren @Ikari-Shinji-re
/widget/iframe @yeager-eren @Ikari-Shinji-re
/widget/playground @samobasquiat @mikasackermn
/widget/ui @mikasackermn @Ikari-Shinji-re
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
3 changes: 3 additions & 0 deletions .github/PUBLISH_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Checklist

TBA
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Summary

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)


# How did you test this change?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B


# Checklist:

- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.
28 changes: 28 additions & 0 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Setup Environments
description: 'Setting up Git, NodeJS and authenticate.'

runs:
using: 'composite'
steps:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'

- name: Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
shell: 'bash'

- name: Restore cache
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install packages
run: yarn install --frozen-lockfile
shell: 'bash'
26 changes: 26 additions & 0 deletions .github/actions/upload-build-artifacts/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Upload Build Artifacts
description: 'Upload ESBuild build artifacts'
outputs:
hashed:
description: 'Hashed branch name'
value: ${{ steps.hash_current_branch_name.outputs.hashed }}

runs:
using: 'composite'
steps:
- name: Hash Current Branch Name
id: hash_current_branch_name
run: |
hashed_name=$(echo -n "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | base64 -w 0)
echo "hashed=${hashed_name}">> $GITHUB_OUTPUT
shell: 'bash'
- name: Upload Build Information
uses: actions/upload-artifact@v4
with:
name: ${{steps.hash_current_branch_name.outputs.hashed}}
path: |
**/**/**.build.json
!**/**/tsconfig.build.json
!**/node_modules/**
retention-days: 30
overwrite: true
Loading