Skip to content

Commit ee899c8

Browse files
authored
ATOM testnet network in testnet (#90)
1 parent 9c90501 commit ee899c8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).
2020
- XTZ
2121
- More protocol to come, don't hesitate to contact us ([email protected])
2222

23+
### ⚠️️WARNING:
24+
The transaction crafting and reporting are done on mainnet networks on OSMO / TIA / DYDX even in testnet mode.
25+
2326
## Installation
2427

2528
You can install the JS SDK with npm:

src/services/atom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class AtomService extends Service {
160160
};
161161
const fbNote = note ? note : 'ATOM tx from @kilnfi/sdk';
162162
const signer = this.getFbSigner(integration);
163-
const fbTx = await signer.signWithFB(payload, 'ATOM_COS', fbNote);
163+
const fbTx = await signer.signWithFB(payload, this.testnet ? 'ATOM_COS_TEST' : 'ATOM_COS', fbNote);
164164
const signature: string = fbTx.signedMessages![0].signature.fullSig;
165165
const { data } = await api.post<CosmosSignedTx>(
166166
`/v1/atom/transaction/prepare`,

0 commit comments

Comments
 (0)