Skip to content

Commit 8cbe81b

Browse files
owlsuaanyxem
andauthored
Dev-07-08-2025 (#226)
* A-1210787748573004: Remove wallet selection (#223) * feat: remove wallet selection from Create Account * feat: remove wallet selection from Restore Account * feat: update btc electrum servers * chore: change deps of secp256k1 (#224) * fix: limit batch request with 150 elements (#225) * A-1210450682362874: Fill order (#221) * deps: update mintlayer sdk * feat: update icons, wallet UI, styles * feat: add fill order page, helpers and data * deps: update ml sdk * feat: add new icons * feat: remove TransactionsPreview along with adding Internal and External transactions UI * feat: internal sdk integration * feat: update helpers and services * feat: update TextField component * feat: add supporting orders transactions * feat: add fill order page * feat: internal transaction errors handling * feat: add new assets * feat: update env * deps: update dependencies, add decimal.js * feat: add TokenLogo component * feat: add ManulaSwap component * feat: update services and helpers * feat: update Mintlayer provider with orders data * fix: Internal and External transaction fee * feat: add OrderItem and OrderList * feat: add OrderDetails * feat: add SelectToken * feat: add SwapInterface * feat: add SwapPopupContent * feat: update OrderSwap page with modes * feat: add CopyButton * feat: add TransactionAmount * style: styles adjustments * feat: add Swap Transaction helpers * feat: update existing components to handle Swap transaction * feat: adjustment for TransactionAmount * Changes default wallets in the exchange interface * tets: add e2e tests, refactoring * tests: add unit and integration tests * import fix * BTC wallet data fetching improvements * bump version --------- Co-authored-by: Sergey <[email protected]>
1 parent 449dde8 commit 8cbe81b

File tree

116 files changed

+8273
-638
lines changed

Some content is hidden

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

116 files changed

+8273
-638
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ REACT_APP_CONFIG_NAME=default
22
REACT_APP_WEBSITE_NAME=Mojito - A Mintlayer Wallet (default)
33
INLINE_RUNTIME_CHUNK=false
44
GENERATE_SOURCEMAP=false
5-
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api'
6-
TESTNET_ELECTRUM_SERVERS='http://51.158.172.176:3001, https://blockstream.info/testnet/api'
5+
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api, https://mempool.space/api'
6+
TESTNET_ELECTRUM_SERVERS='https://blockstream.info/testnet/api, https://mempool.space/testnet/api'
77
TESTNET_MINTLAYER_SERVERS='https://api-server-lovelace.mintlayer.org/api/v2'
88
MAINNET_MINTLAYER_SERVERS='https://api-server.mintlayer.org/api/v2'

.env.production

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ REACT_APP_CONFIG_NAME=production
22
REACT_APP_WEBSITE_NAME=Mojito - A Mintlayer Wallet
33
INLINE_RUNTIME_CHUNK=false
44
GENERATE_SOURCEMAP=false
5-
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api'
6-
TESTNET_ELECTRUM_SERVERS='http://51.158.172.176:3001, https://blockstream.info/testnet/api'
5+
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api, https://mempool.space/api'
6+
TESTNET_ELECTRUM_SERVERS='https://blockstream.info/testnet/api, https://mempool.space/testnet/api'
77
TESTNET_MINTLAYER_SERVERS='https://api-server-lovelace.mintlayer.org/api/v2'
88
MAINNET_MINTLAYER_SERVERS='https://api-server.mintlayer.org/api/v2'

.env.staging

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ REACT_APP_CONFIG_NAME=staging
22
REACT_APP_WEBSITE_NAME=Mojito - A Mintlayer Wallet (staging)
33
INLINE_RUNTIME_CHUNK=false
44
GENERATE_SOURCEMAP=true
5-
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api'
6-
TESTNET_ELECTRUM_SERVERS='http://51.158.172.176:3001, https://blockstream.info/testnet/api'
5+
MAINNET_ELECTRUM_SERVERS='https://blockstream.info/api, https://mempool.space/api'
6+
TESTNET_ELECTRUM_SERVERS='https://blockstream.info/testnet/api, https://mempool.space/testnet/api'
77
TESTNET_MINTLAYER_SERVERS='https://api-server-lovelace.mintlayer.org/api/v2'
88
MAINNET_MINTLAYER_SERVERS='https://api-server.mintlayer.org/api/v2'

package-lock.json

Lines changed: 40 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "browser-extension",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"private": true,
55
"dependencies": {
6-
"@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3",
6+
"@bitcoinerlab/secp256k1": "^1.2.0",
77
"@mintlayer/entropy-generator": "^1.0.4",
8+
"@mintlayer/sdk": "1.0.21",
9+
"@noble/secp256k1": "^2.3.0",
810
"bip32": "^4.0.0",
911
"bip39": "^3.1.0",
1012
"bitcoinjs-lib": "^6.1.7",
@@ -13,6 +15,7 @@
1315
"canvas": "^3.1.0",
1416
"d3": "^7.9.0",
1517
"date-fns": "^4.1.0",
18+
"decimal.js": "^10.6.0",
1619
"jest-webgl-canvas-mock": "^2.5.3",
1720
"konva": "^9.3.20",
1821
"node-forge": "^1.3.1",
@@ -25,8 +28,7 @@
2528
"react-qr-code": "^2.0.15",
2629
"react-router-dom": "^6.28.0",
2730
"stream-browserify": "^3.0.0",
28-
"web-vitals": "^5.0.1",
29-
"@mintlayer/sdk": "^1.0.12"
31+
"web-vitals": "^5.0.1"
3032
},
3133
"scripts": {
3234
"start": "react-app-rewired start",

packing.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
rm -f ext.zip
66
rm -f extFF.zip
77

8+
# Run the version-manifest script
9+
node ./src/version/version-manifest.js
10+
node ./src/version/version-mojito.js
11+
812
# mode inside build dir
913
cd build
1014

11-
# Run the version-manifest script
12-
node ../src/version/version-manifest.js
13-
node ../src/version/version-mojito.js
14-
1515
CSPHEADER="<meta http-equiv=\"Content-Security-Policy\" content=\"default-src *;img-src * 'self' data: https:;style-src-elem 'self' https:\/\/fonts.googleapis.com;font-src https:\/\/fonts.gstatic.com;\"\/>"
1616
sed -i "s/<meta name=\"CSP\"\/>/$CSPHEADER/g" index.html
1717

public/manifestDefault.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Mojito - A Mintlayer Wallet",
4-
"version": "1.4.1",
4+
"version": "1.4.2",
55
"short_name": "Mojito",
66
"description": "Mojito is a non-custodial decentralized crypto wallet that lets you send and receive BTC and ML from any other address.",
77
"homepage_url": "https://www.mintlayer.org/",

public/manifestFirefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Mojito - A Mintlayer Wallet",
4-
"version": "1.4.1",
4+
"version": "1.4.2",
55
"description": "Mojito is a non-custodial decentralized crypto wallet that lets you send and receive BTC and ML from any other address.",
66
"homepage_url": "https://www.mintlayer.org/",
77
"icons": {
Lines changed: 2 additions & 3 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)