Skip to content

Commit

Permalink
chore: add tao
Browse files Browse the repository at this point in the history
  • Loading branch information
nvrakesh06 committed Mar 5, 2025
1 parent c3b0553 commit 2090b2f
Show file tree
Hide file tree
Showing 9 changed files with 773 additions and 368 deletions.
26 changes: 26 additions & 0 deletions TAO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Version 4.5.0 of the Wallet Recovery Wizard supports building transactions to recover TAO from your BitGo Hot and Self-Managed Cold wallets.

Below is a list full node RPC endpoints that must be called to broadcast the transaction as there are no suitable explorers available for TAO.

Construct the API request to the full node:

Testnet Request URL: wss://test.finney.opentensor.ai

Mainnet Request URL: [dummy link] // TODO: Correct link

Request Body format (find "serializedTx" in your downloaded JSON):

```json
{
"id": 1,
"jsonrpc": "2.0",
"method": "author_submitExtrinsic",
"params": ["serializedTx"]
}
```

## Important Note

If using an API request tool such as [Postman](https://www.postman.com/), you must ensure that you connect to a WS endpoint instead of an HTTP endpoint.

[How to create a WS request using Postman](https://learning.postman.com/docs/sending-requests/websocket/websocket/)
3 changes: 3 additions & 0 deletions electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ import { Sui, Tsui } from '@bitgo/sdk-coin-sui';
import { loadWebAssembly } from '@bitgo/sdk-opensslbytes';
import { Xdc,Txdc } from '@bitgo/sdk-coin-xdc';
import { Wemix,Twemix } from '@bitgo/sdk-coin-wemix';
import { Tao, Ttao } from '@bitgo-beta/sdk-coin-tao';

const bip32 = BIP32Factory(ecc);

Expand Down Expand Up @@ -125,6 +126,8 @@ sdk.register('near', Near.createInstance);
sdk.register('tnear', TNear.createInstance);
sdk.register('dot', Dot.createInstance);
sdk.register('tdot', Tdot.createInstance);
sdk.register('tao', Tao.createInstance);
sdk.register('ttao', Ttao.createInstance);
sdk.register('sol', Sol.createInstance);
sdk.register('tsol', Tsol.createInstance);
sdk.register('polygon', Polygon.createInstance);
Expand Down
Loading

0 comments on commit 2090b2f

Please sign in to comment.