Skip to content

Commit 76e75bd

Browse files
authored
Merge pull request #5998 from BitGo/WIN-5264_bera_token
fix(sdk-coin-bera): mpc algo for the token
2 parents 40e80ea + 23adf24 commit 76e75bd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/sdk-coin-bera/src/beraToken.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @prettier
33
*/
44
import { coins, EthLikeTokenConfig } from '@bitgo/statics';
5-
import { BitGoBase, CoinConstructor, common, NamedCoinConstructor } from '@bitgo/sdk-core';
5+
import { BitGoBase, CoinConstructor, common, MPCAlgorithm, NamedCoinConstructor } from '@bitgo/sdk-core';
66
import { CoinNames, EthLikeToken, recoveryBlockchainExplorerQuery } from '@bitgo/abstract-eth';
77

88
import { TransactionBuilder } from './lib';
@@ -30,6 +30,16 @@ export class BeraToken extends EthLikeToken {
3030
return new TransactionBuilder(coins.get(this.getBaseChain()));
3131
}
3232

33+
/** @inheritDoc **/
34+
getMPCAlgorithm(): MPCAlgorithm {
35+
return 'ecdsa';
36+
}
37+
38+
/** @inheritDoc */
39+
supportsTss(): boolean {
40+
return true;
41+
}
42+
3343
/**
3444
* Make a query to Berachain explorer for information such as balance, token balance, solidity calls
3545
* @param {Object} query key-value pairs of parameters to append after /api

0 commit comments

Comments
 (0)