Skip to content

Commit

Permalink
feat(sui): non-bitgo recovery for hot wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavidhingra committed Aug 20, 2024
1 parent 15fec45 commit 50b1719
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 770 deletions.
3 changes: 3 additions & 0 deletions electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import * as ecc from 'tiny-secp256k1';
import { Hbar, Thbar } from '@bitgo/sdk-coin-hbar';
import { Algo, Talgo } from '@bitgo/sdk-coin-algo';
import { EthLikeCoin, TethLikeCoin } from '@bitgo/sdk-coin-ethlike';
import { Sui, Tsui } from '@bitgo/sdk-coin-sui';

const bip32 = BIP32Factory(ecc);

Expand Down Expand Up @@ -141,6 +142,8 @@ sdk.register('algo', Algo.createInstance);
sdk.register('talgo', Talgo.createInstance);
sdk.register('baseeth', EthLikeCoin.createInstance);
sdk.register('tbaseeth', TethLikeCoin.createInstance);
sdk.register('sui', Sui.createInstance);
sdk.register('tsui', Tsui.createInstance);

Erc20Token.createTokenConstructors().forEach(({ name, coinConstructor }) => {
sdk.register(name, coinConstructor);
Expand Down
Loading

0 comments on commit 50b1719

Please sign in to comment.