Skip to content

Commit

Permalink
ATOM testnet network in testnet (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
nooxx authored Feb 14, 2024
1 parent 9c90501 commit ee899c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).
- XTZ
- 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 src/services/atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class AtomService extends Service {
};
const fbNote = note ? note : 'ATOM tx from @kilnfi/sdk';
const signer = this.getFbSigner(integration);
const fbTx = await signer.signWithFB(payload, 'ATOM_COS', fbNote);
const fbTx = await signer.signWithFB(payload, this.testnet ? 'ATOM_COS_TEST' : 'ATOM_COS', fbNote);
const signature: string = fbTx.signedMessages![0].signature.fullSig;
const { data } = await api.post<CosmosSignedTx>(
`/v1/atom/transaction/prepare`,
Expand Down

0 comments on commit ee899c8

Please sign in to comment.