Skip to content

Commit

Permalink
Add OSMO protocol to list of supported protocols (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeTamanoir authored Nov 8, 2023
1 parent 207a22f commit 12ca4bc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).
- NEAR
- SOL
- XTZ
- OSMO
- More protocol to come, don't hesitate to contact us ([email protected])

## Installation
Expand All @@ -26,7 +27,7 @@ npm install --save @kilnfi/sdk
```

## Setup
In order to use this sdk, you will need a kiln api token.
In order to use this sdk, you will need a kiln api token.
Please contact [email protected] to get one.

```typescript
Expand Down Expand Up @@ -65,13 +66,13 @@ try {
'withdrawal_address',
32
);

// Sign it with your fireblock vault
const txSigned = await k.eth.sign(vault, tx);

// Broadcast it
const hash = await k.eth.broadcast(txSigned);

} catch (err) {
// handle errors
}
Expand All @@ -82,7 +83,7 @@ try {
try {
// Get stakes by accounts
const stakes = await k.eth.getAccountsRewards(['kiln-account-id']);

// Get stakes by wallets
const stakesByWallet = await k.eth.getWalletRewards(['wallet-address']);

Expand All @@ -91,7 +92,7 @@ try {

// Get network stats
const stats = await k.eth.getNetworkStats();

} catch (err) {
// handle errors
}
Expand Down

0 comments on commit 12ca4bc

Please sign in to comment.