Skip to content

Commit

Permalink
update ADA to use mainnet fireblocks asset in raw signing (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
nooxx authored Aug 21, 2024
1 parent d5a5804 commit 5eec788
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 deletions.
40 changes: 18 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,26 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).

## Supported protocols

- ADA
- ATOM
- DOT
- DYDX
- ETH
- FET
- INJ
- KAVA
- KSM
- MATIC
- NEAR
- NOBLE
- OSMO
- SOL
- TIA
- TON
- XTZ
- ZETA
- ADA (mainnet)
- ATOM (mainnet and testnet)
- DOT (mainnet)
- DYDX (mainnet)
- ETH (mainnet and holesky)
- FET (mainnet)
- INJ (mainnet)
- KAVA (mainnet)
- KSM (mainnet)
- MATIC (mainnet and sepolia)
- NEAR (mainnet and testnet)
- NOBLE (mainnet)
- OSMO (mainnet)
- SOL (mainnet and testnet)
- TIA (mainnet)
- TON (mainnet and testnet)
- XTZ (mainnet and ghostnet)
- ZETA (mainnet)
- More protocol to come, don't hesitate to contact us ([email protected])

### ⚠️️WARNING:

The transaction crafting and reporting are done on mainnet networks on OSMO / TIA / DYDX even in testnet mode.

## Installation

You can install the JS SDK with npm:
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.21.1",
"version": "2.21.2",
"autor": "Kiln <[email protected]> (https://kiln.fi)",
"license": "BUSL-1.1",
"description": "JavaScript sdk for Kiln API",
Expand Down
2 changes: 1 addition & 1 deletion src/services/ada.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class AdaService extends Service {
};

const fbNote = note ? note : "ADA tx from @kilnfi/sdk";
const fbTx = await fbSigner.sign(payload, this.testnet ? "ADA_TEST" : "ADA", fbNote);
const fbTx = await fbSigner.sign(payload, "ADA", fbNote);

if (!fbTx.signedMessages) {
throw new Error(`Could not sign the transaction.`);
Expand Down

0 comments on commit 5eec788

Please sign in to comment.