Skip to content

Commit

Permalink
add TIA support (#86)
Browse files Browse the repository at this point in the history
* add TIA support

* remove useless try catch
  • Loading branch information
nooxx authored Jan 19, 2024
1 parent f5dac4a commit 222094e
Show file tree
Hide file tree
Showing 19 changed files with 1,266 additions and 1,404 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).
- ADA
- ATOM
- DOT
- DYDX
- ETH
- MATIC
- NEAR
- OSMO
- SOL
- TIA
- XTZ
- OSMO
- DYDX
- More protocol to come, don't hesitate to contact us ([email protected])

## Installation
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kilnfi/sdk",
"version": "2.9.0",
"version": "2.10.0",
"autor": "Kiln <[email protected]> (https://kiln.fi)",
"license": "BUSL-1.1",
"description": "JavaScript sdk for Kiln API",
Expand Down
1 change: 1 addition & 0 deletions src/integrations/fb_signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type AssetId =
| 'DOT'
| 'DV4TNT_TEST'
| 'DYDX_DYDX'
| 'CELESTIA'
;

export class FbSigner {
Expand Down
3 changes: 3 additions & 0 deletions src/kiln.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { MaticService } from './services/matic';
import { OsmoService } from './services/osmo';
import { FireblocksService } from "./services/fireblocks";
import { DydxService } from "./services/dydx";
import { TiaService } from "./services/tia";

type Config = {
apiToken: string;
Expand All @@ -34,6 +35,7 @@ export class Kiln {
matic: MaticService;
osmo: OsmoService;
dydx: DydxService;
tia: TiaService;

constructor({ testnet, apiToken, baseUrl }: Config) {
api.defaults.headers.common.Authorization = `Bearer ${apiToken}`;
Expand All @@ -55,5 +57,6 @@ export class Kiln {
this.matic = new MaticService({ testnet });
this.osmo = new OsmoService({ testnet });
this.dydx = new DydxService({ testnet });
this.tia = new TiaService({ testnet });
}
}
Loading

0 comments on commit 222094e

Please sign in to comment.