v2.3.5
is the latest release of the Threshold Token Dashboard.
This PR introduces support for the Sui network, enabling users to connect Sui wallets and interact with Sui-based features within the dashboard.
Changes
-
Sui Wallet Integration:
- Integrated
@suiet/wallet-kit
to handle Sui wallet connections. - Added a
SuiWalletProvider
to wrap the application and provide wallet context, registered inApp.tsx
. - Created new components
ConnectSui
andSuiWalletList
for the wallet selection modal, allowing users to choose from a list of supported Sui wallets (Suiet, Sui Wallet, Martian, Nightly). - If a wallet is not installed, the user is redirected to its browser extension store page.
- Added
Sui
to theWalletType
enum insrc/enums/web3.ts
.
- Integrated
-
Network Validation:
- Implemented a
SuiNetworkAlert
component that displays a warning in the navigation bar if the connected Sui wallet is on an incorrect network (e.g., Testnet instead of Mainnet). - This component is rendered within
NavbarComponent.tsx
to be globally visible.
- Implemented a
-
UI Components:
- Added a new
SuiIcon
component for the Sui logo. - Updated the
SelectWalletModal
to include the "Sui" option, which navigates to the newConnectSui
view.
- Added a new
Commit hash for clean builds is 8cd5ae3ccb1d6b055a4eceecd598ea723f3dd898
Signatures of commit hash from the development team (verify these in the Keybase app):
-
@lrsaturnino:
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkG6duRx oV7SEvrIaV7lVsm shypOA3yZIfOwVV 4zK2xmpnZENe4nX SR0rBKq3r0jNg9k 3HMjq9H2pbvUzln Zpei332zI3PLlcS 9FQoKLpfnclQRBe XqW4xD1bN1nelTe xAXO2tFCm5Ic4m3 tVqVJCNWSAQNgWG i47nTBDi6i2dCh5 PLiNkbkws6nXZWW 48aM10qbk7YN58e tFLTpqeHeO8HpOa . END KEYBASE SALTPACK SIGNED MESSAGE. -
@evandrosaturn:
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkL3ktWc yuzE5dUycu6nxkB 4KslNp719gDkWDK f52NXsdRDSysM1w S4UWuKQROhQr0Bx Oz6MnK06n94vmwl tHnVb3JgN9AWWF2 BbCio2tr7MmR58J LXR9HECZK9WkDXo 2pmVDVPxTE97QS7 R6N5702pzQHFKxQ oNqMAeTV5iq5Hss cCLVbR4MLhhamBw gb1QT0qbk7YN58e tFLTpqeHeO8HpOa . END KEYBASE SALTPACK SIGNED MESSAGE.
Finally, note that the full set of work that went into this version can be found in the corresponding v2.3.5 milestone.