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

feat: add Bitcoin/UTXO support #297

Merged
merged 86 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
673b10f
fix: container should not forward prop
chybisov Aug 26, 2024
5c2f2af
feat: utxo draft
chybisov Sep 10, 2024
4f93b97
Merge branch 'main' into add-utxo-support
chybisov Sep 10, 2024
ef0969e
fix: don't show address for UTXO if wallet is not connected
chybisov Sep 10, 2024
d1f45ea
chore: add feature BE url
chybisov Sep 10, 2024
b428868
chore: bump sdk
chybisov Sep 10, 2024
12402cb
chore: add use-sync-external-store
chybisov Sep 10, 2024
1512e0d
feat: add Ctrl (XDEFI) wallet support
chybisov Sep 11, 2024
79ded16
chore: remove useless packages
chybisov Sep 11, 2024
e780bd0
Merge branch 'main' into add-utxo-support
chybisov Sep 11, 2024
e666cb8
chore: bump sdk
chybisov Sep 11, 2024
a47a459
test: maintain test after removing jsdom
DNR500 Sep 11, 2024
20fab33
chore(release): 3.6.0-alpha.0
chybisov Sep 11, 2024
bd97db7
fix: phantom doesn't have simple getAccounts
chybisov Sep 11, 2024
207aa0b
fix: check against chain types if they are provided
chybisov Sep 11, 2024
c7f541f
chore(release): 3.6.0-alpha.1
chybisov Sep 11, 2024
21387b8
fix: ctrl doesn't have simple getAccounts
chybisov Sep 11, 2024
f69357d
chore: change the name to bigmiConfig
chybisov Sep 11, 2024
70f86ae
fix: check for external provider
chybisov Sep 12, 2024
83b63b1
chore(release): 3.6.0-alpha.2
chybisov Sep 12, 2024
2acc240
fix: update account handling
chybisov Sep 12, 2024
de3835c
fix: optimize deps array
chybisov Sep 12, 2024
020c4d7
chore(release): 3.6.0-alpha.3
chybisov Sep 12, 2024
1d8facd
chore(release): 3.6.0-alpha.4
chybisov Sep 12, 2024
93b8ac8
chore: change the link
chybisov Sep 12, 2024
97d47c6
chore: bump
chybisov Sep 12, 2024
50bd754
chore(release): 3.6.0-alpha.5
chybisov Sep 12, 2024
ca8a90e
feat: use combined wallets
chybisov Sep 17, 2024
a99a9f7
Merge branch 'main' into add-utxo-support
chybisov Sep 18, 2024
8fd8669
chore: use production url
chybisov Sep 18, 2024
74e1573
chore: bump packages
chybisov Sep 23, 2024
2259fa6
feat: add error message
chybisov Sep 23, 2024
91777e5
fix: active transactions avatar alignment
chybisov Sep 23, 2024
38a7a7d
feat: add new wallet menu
chybisov Sep 25, 2024
f195165
feat: add more props to wallet connected event
chybisov Sep 25, 2024
31e311a
chore(release): 3.6.0-beta.0
chybisov Sep 25, 2024
3e5f177
chore: fix root version
chybisov Sep 25, 2024
fb8fdca
fix: export useWalletManagementEvents
chybisov Sep 25, 2024
855bb90
chore(release): 3.7.0-beta.1
chybisov Sep 25, 2024
86007f6
fix: export types
chybisov Sep 25, 2024
91f1a00
chore(release): 3.7.0-beta.2
chybisov Sep 25, 2024
e122df1
feat: add useAccountDisconnect
chybisov Sep 25, 2024
da7580f
chore(release): 3.7.0-beta.3
chybisov Sep 25, 2024
bbedaaf
fix: media query
chybisov Sep 25, 2024
a06201e
chore(release): 3.7.0-beta.4
chybisov Sep 25, 2024
aefb5df
feat: add background color
chybisov Sep 30, 2024
a74604f
chore(release): 3.7.0-beta.5
chybisov Sep 30, 2024
afe4d44
fix: background color
chybisov Sep 30, 2024
059426d
chore(release): 3.7.0-beta.6
chybisov Sep 30, 2024
1e257fa
chore: remove uuid
chybisov Oct 2, 2024
c075143
chore(release): 3.7.0-beta.7
chybisov Oct 2, 2024
c233a92
chore: move to pnpm
chybisov Oct 8, 2024
4762f21
chore: migrate to biome
chybisov Oct 9, 2024
c408a39
chore: replace release action
chybisov Oct 9, 2024
dfbb4a0
Merge branch 'main' into add-utxo-support
chybisov Oct 9, 2024
7fbd881
chore: remove eslint
chybisov Oct 9, 2024
80ed2be
fix: set pnpm config to ignore workspace root check in gh actions
chybisov Oct 10, 2024
d338245
chore: resolve bs58 deps
chybisov Oct 10, 2024
74d4d5d
chore: update release script
chybisov Oct 10, 2024
b7aee73
chore(release): 3.7.0-beta.8
chybisov Oct 10, 2024
38974d2
chore: update release build
chybisov Oct 10, 2024
8805fec
chore(release): 3.7.0-beta.9
chybisov Oct 10, 2024
1774bd9
chore: update scripts
chybisov Oct 10, 2024
ba210ce
chore(release): 3.7.0-beta.10
chybisov Oct 10, 2024
9d697a7
chore: adjust build scripts
chybisov Oct 11, 2024
bc35a93
chore(release): 3.7.0-beta.10
chybisov Oct 11, 2024
cc6f8e5
chore: update scripts
chybisov Oct 11, 2024
65b9794
chore(release): 3.7.0-beta.11
chybisov Oct 11, 2024
67ef0b6
chore: update examples
chybisov Oct 11, 2024
f351eb5
chore: update scripts
chybisov Oct 11, 2024
06739ca
chore: fix name
chybisov Oct 11, 2024
a7a2f9c
chore: update scripts
chybisov Oct 11, 2024
1a2c15f
chore(release): 3.7.0-beta.12
chybisov Oct 11, 2024
2439045
chore: update override
chybisov Oct 11, 2024
8d17647
fix: update jsx preset
chybisov Oct 11, 2024
541b311
chore(release): 3.7.0-beta.13
chybisov Oct 11, 2024
7940f23
fix: unnecessary spread
chybisov Oct 14, 2024
af23e46
chore: bump packages
chybisov Oct 14, 2024
3fb166c
fix: export correct enums
chybisov Oct 14, 2024
a1cc777
chore: add link scripts
chybisov Oct 15, 2024
1581709
fix: chainId should be reactive
chybisov Oct 15, 2024
69b9607
chore(release): 3.7.0-beta.14
chybisov Oct 15, 2024
4cf9c42
feat: move to bigmi
chybisov Oct 17, 2024
83d01f3
chore(release): 3.7.0-beta.15
chybisov Oct 17, 2024
cf1ee26
chore: merge main
chybisov Oct 18, 2024
d95f1d2
chore: bump packages
chybisov Oct 18, 2024
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
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": [
"@commitlint/config-conventional"
]
"extends": ["@commitlint/config-conventional"]
}
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc

This file was deleted.

87 changes: 0 additions & 87 deletions .eslintrc.base.json

This file was deleted.

19 changes: 19 additions & 0 deletions .github/actions/pnpm-install/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'PNPM install'
description: 'Run pnpm install with node_modules and cache enabled'

runs:
using: 'composite'
steps:
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- name: Install dependencies
env:
HUSKY: '0' # By default do not run HUSKY install
shell: bash
run: pnpm install --frozen-lockfile
48 changes: 0 additions & 48 deletions .github/actions/yarn-install/action.yaml

This file was deleted.

12 changes: 8 additions & 4 deletions .github/workflows/deploy-test-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/yarn-install
uses: ./.github/actions/pnpm-install

- name: Build project
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: yarn build
NODE_OPTIONS: "--max_old_space_size=4096"
run: pnpm build

- name: Set Project Name
run: |
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
},
body: JSON.stringify({
build_config: {
build_command: "yarn run build",
build_command: "pnpm build",
destination_dir: "packages/widget-playground-vite/dist/",
root_dir: "/",
},
Expand Down Expand Up @@ -113,6 +113,10 @@ jobs:
})
})

# Required to install wrangler during the next step
- name: Set pnpm config to ignore workspace root check
run: pnpm config set ignore-workspace-root-check true

- name: Deploy Page
uses: cloudflare/wrangler-action@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Install dependencies
uses: ./.github/actions/yarn-install
- name: Build React App
uses: ./.github/actions/pnpm-install
- name: Build application
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: yarn build
run: pnpm build
- name: Deploy app build to S3 bucket
run: |
aws s3 sync ./packages/widget-playground-vite/dist/ s3://playground.li.fi --delete
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create release
id: create_release
uses: actions/create-release@v1
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
generate_release_notes: true
name: ${{ github.ref_name }}
draft: false
prerelease: false

Expand All @@ -35,12 +34,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/yarn-install
uses: ./.github/actions/pnpm-install
- name: Build
run: yarn release:build
run: pnpm release:build
- name: Publish to npm
run: |
yarn release:publish${{ contains(github.ref_name, 'alpha') && ':alpha' || contains(github.ref_name, 'beta') && ':beta' || '' }}
pnpm release:publish${{ contains(github.ref_name, 'alpha') && ':alpha' || contains(github.ref_name, 'beta') && ':beta' || '' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
19 changes: 3 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
**node_modules**
node_modules
.nuxt
dist/
build/
/.pnp
Expand All @@ -17,27 +18,13 @@ build/
.env.test.local
.env.production.local
*.tsbuildinfo
*.tmp

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.next
.cache

# yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
# !.yarn/cache
.pnp.*

# next.js
/.next/
/out/
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn commitlint --edit $1
pnpm commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn pre-commit
lint-staged
1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

5 changes: 5 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# auto-install-peers=false
enable-pre-post-scripts=true
link-workspace-packages=deep
provenance=true
strict-peer-dependencies=false
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

5 changes: 1 addition & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
"recommendations": ["biomejs.biome"]
}
32 changes: 28 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
{
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"npm.packageManager": "yarn",
"javascript.preferences.autoImportFileExcludePatterns": ["**/_types/**"],
"typescript.preferences.autoImportFileExcludePatterns": ["**/_types/**"],
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
Loading