Skip to content

Commit 37f5e49

Browse files
feat: adding support for non-bitgo recovery for coredao and oas
Ticket: WIN-4290
1 parent 6f6d2c0 commit 37f5e49

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

modules/sdk-api/src/bitgoAPI.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ export class BitGoAPI implements BitGoBase {
235235
'optimisticEtherscanApiToken',
236236
'zksyncExplorerApiToken',
237237
'bscscanApiToken',
238+
'coredaoExplorerApiToken',
239+
'oasExplorerApiToken',
238240
];
239241

240242
Object.keys(params).forEach((key) => {

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ const mainnetBase: EnvironmentTemplate = {
153153
hmacVerificationEnforced: true,
154154
suiNodeUrl: 'https://fullnode.mainnet.sui.io',
155155
etcNodeUrl: 'https://etc.blockscout.com',
156+
coredaoExplorerBaseUrl: 'https://scan.coredao.org/',
157+
oasExplorerBaseUrl: 'https://explorer.oasys.games',
156158
};
157159

158160
const testnetBase: EnvironmentTemplate = {
@@ -205,6 +207,8 @@ const testnetBase: EnvironmentTemplate = {
205207
hmacVerificationEnforced: false,
206208
suiNodeUrl: 'https://fullnode.testnet.sui.io',
207209
etcNodeUrl: 'https://etc-mordor.blockscout.com',
210+
coredaoExplorerBaseUrl: 'https://scan.test.btcs.network',
211+
oasExplorerBaseUrl: 'https://explorer.testnet.oasys.games',
208212
};
209213

210214
const devBase: EnvironmentTemplate = Object.assign({}, testnetBase, {

modules/statics/src/map.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ export class CoinMap {
5656
421614: 'tarbeth',
5757
10: 'opeth',
5858
11155420: 'topeth',
59+
1116: 'coredao',
60+
1115: 'tcoredao',
61+
248: 'oas',
62+
9372: 'toas',
5963
};
6064
return ethLikeCoinFromChainId[chainId];
6165
}

0 commit comments

Comments
 (0)