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 base support #6933

Merged
merged 26 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c2cb00b
add base to caip
kaladinlight May 15, 2024
0adbae4
add base to types
kaladinlight May 15, 2024
9dd962d
add base to unchained-client
kaladinlight May 15, 2024
f09ef8c
add base to chain adapters
kaladinlight May 16, 2024
24f5bb5
add base envs and stubs
kaladinlight May 16, 2024
61780fc
add base to evm helpers and consts
kaladinlight May 16, 2024
20aaa6d
generation scripts and data
kaladinlight May 16, 2024
f7543d2
add base to plugins
kaladinlight May 16, 2024
41868ac
add base to contexts
kaladinlight May 16, 2024
7fb8c4f
add base to hooks
kaladinlight May 16, 2024
2498130
add base to slices
kaladinlight May 16, 2024
3748761
add base to components
kaladinlight May 16, 2024
2df4b69
use supportsBase
kaladinlight May 16, 2024
b913add
fix lint warnings and network icon
kaladinlight May 16, 2024
1c13e15
update unchained client tests
kaladinlight May 16, 2024
c20de06
Merge branch 'develop' into add-base-support
kaladinlight May 16, 2024
72921d4
remove dupe migration
kaladinlight May 16, 2024
56c5ef7
preemptive bump of hdwallet
kaladinlight May 16, 2024
eab04a7
fix test
kaladinlight May 17, 2024
8da81c5
regen yarn.lock
kaladinlight May 17, 2024
d33d647
Merge branch 'develop' into add-base-support
kaladinlight May 17, 2024
651cab8
fix lint
kaladinlight May 17, 2024
1d15a87
Merge branch 'develop' into add-base-support
gomesalexandre May 20, 2024
99bdf82
Merge branch 'develop' into add-base-support
kaladinlight May 20, 2024
948a5ac
comment typo fix
kaladinlight May 20, 2024
e806561
Merge branch 'develop' into add-base-support
kaladinlight May 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.app
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BASE_HTTP_URL=https://api.base.shapeshift.com
REACT_APP_UNCHAINED_BASE_WS_URL=wss://api.base.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://api.dogecoin.shapeshift.com
Expand All @@ -44,6 +46,7 @@ REACT_APP_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_BASE_NODE_URL=https://api.base.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com

# thorchain
Expand Down
1 change: 1 addition & 0 deletions .env.base
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ REACT_APP_FEATURE_POLYGON=true
REACT_APP_FEATURE_GNOSIS=true
REACT_APP_FEATURE_ARBITRUM=true
REACT_APP_FEATURE_ARBITRUM_NOVA=false
REACT_APP_FEATURE_BASE=false
REACT_APP_FEATURE_JAYPEGZ=true
REACT_APP_FEATURE_DASHBOARD_TABS=true
REACT_APP_FEATURE_DEFI_DASHBOARD=true
Expand Down
4 changes: 4 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ REACT_APP_FEATURE_ACCOUNT_MANAGEMENT=true
REACT_APP_FEATURE_ACCOUNT_MANAGEMENT_LEDGER=true
REACT_APP_FEATURE_THORCHAINSWAP_L1_TO_LONGTAIL=true
REACT_APP_FEATURE_RFOX=true
REACT_APP_FEATURE_BASE=true

# logging
REACT_APP_REDUX_WINDOW=false
Expand All @@ -27,6 +28,8 @@ REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BASE_HTTP_URL=https://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BASE_WS_URL=wss://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -49,6 +52,7 @@ REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_BASE_NODE_URL=https://dev-api.base.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
Expand Down
4 changes: 4 additions & 0 deletions .env.develop
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# feature flags
REACT_APP_FEATURE_CHATWOOT=true
REACT_APP_FEATURE_RFOX=true
REACT_APP_FEATURE_BASE=true

# mixpanel
REACT_APP_MIXPANEL_TOKEN=1c1369f6ea23a6404bac41b42817cc4b
Expand All @@ -22,6 +23,8 @@ REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BASE_HTTP_URL=https://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BASE_WS_URL=wss://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -44,6 +47,7 @@ REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_BASE_NODE_URL=https://dev-api.base.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
Expand Down
3 changes: 3 additions & 0 deletions .env.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BASE_HTTP_URL=https://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BASE_WS_URL=wss://dev-api.base.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -40,6 +42,7 @@ REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_BASE_NODE_URL=https://dev-api.base.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
Expand Down
3 changes: 3 additions & 0 deletions .env.private
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BASE_HTTP_URL=https://api.base.shapeshift.com
REACT_APP_UNCHAINED_BASE_WS_URL=wss://api.base.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://api.dogecoin.shapeshift.com
Expand All @@ -42,6 +44,7 @@ REACT_APP_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_BASE_NODE_URL=https://api.base.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com

# thorchain
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,19 @@
"@shapeshiftoss/caip": "workspace:^",
"@shapeshiftoss/chain-adapters": "workspace:^",
"@shapeshiftoss/errors": "workspace:^",
"@shapeshiftoss/hdwallet-coinbase": "1.53.7",
"@shapeshiftoss/hdwallet-core": "1.53.7",
"@shapeshiftoss/hdwallet-keepkey": "1.53.7",
"@shapeshiftoss/hdwallet-keepkey-webusb": "1.53.7",
"@shapeshiftoss/hdwallet-keplr": "1.53.7",
"@shapeshiftoss/hdwallet-ledger": "1.53.7",
"@shapeshiftoss/hdwallet-ledger-webusb": "1.53.7",
"@shapeshiftoss/hdwallet-metamask": "1.53.7",
"@shapeshiftoss/hdwallet-native": "1.53.7",
"@shapeshiftoss/hdwallet-native-vault": "1.53.7",
"@shapeshiftoss/hdwallet-shapeshift-multichain": "1.53.7",
"@shapeshiftoss/hdwallet-walletconnectv2": "1.53.7",
"@shapeshiftoss/hdwallet-xdefi": "1.53.7",
"@shapeshiftoss/hdwallet-coinbase": "1.54.0",
kaladinlight marked this conversation as resolved.
Show resolved Hide resolved
"@shapeshiftoss/hdwallet-core": "1.54.0",
"@shapeshiftoss/hdwallet-keepkey": "1.54.0",
"@shapeshiftoss/hdwallet-keepkey-webusb": "1.54.0",
"@shapeshiftoss/hdwallet-keplr": "1.54.0",
"@shapeshiftoss/hdwallet-ledger": "1.54.0",
"@shapeshiftoss/hdwallet-ledger-webusb": "1.54.0",
"@shapeshiftoss/hdwallet-metamask": "1.54.0",
"@shapeshiftoss/hdwallet-native": "1.54.0",
"@shapeshiftoss/hdwallet-native-vault": "1.54.0",
"@shapeshiftoss/hdwallet-shapeshift-multichain": "1.54.0",
"@shapeshiftoss/hdwallet-walletconnectv2": "1.54.0",
"@shapeshiftoss/hdwallet-xdefi": "1.54.0",
"@shapeshiftoss/swapper": "workspace:^",
"@shapeshiftoss/types": "workspace:^",
"@shapeshiftoss/unchained-client": "workspace:^",
Expand Down

Large diffs are not rendered by default.

Loading
Loading