0.4.6 • Published 2 years ago

@osmonauts/osmosis v0.4.6

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

Osmosis Telescope 🔭

usage

npm install @osmonauts/osmosis

Osmosis Stargate Client

Use getSigningOsmosisClient to get your SigningStargateClient, with the Osmosis protobuf messages full-loaded:

import { getSigningOsmosisClient } from '@osmonauts/osmosis';
import { SigningStargateClient } from "@cosmjs/stargate";

const client: SigningStargateClient = await getSigningOsmosisClient({
  rpcEndpoint: rpcEndpoint,
  signer // OfflineSigner
});

Composing Messages

import { osmosis } from '@osmonauts/osmosis';
import { coin } from '@cosmjs/amino';

const msg = osmosis.gamm.v1beta1.json.swapExactAmountIn({
  sender,
  routes,
  tokenIn: coin(amount, denom),
  tokenOutMinAmount
});

Advanced Usage

documentation

Disclaimer

AS DESCRIBED IN THE OSMOSIS LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.

No developer or entity involved in creating Telescope will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Telescope code or Telescope CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

0.4.5

2 years ago

0.4.4

2 years ago

0.4.6

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.0

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago