New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@osmonauts/osmosis

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osmonauts/osmosis

Typescript Protobuf Messages for Osmosis

0.4.6
latest
Source
npm
Version published
Maintainers
2
Created
Source

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.

FAQs

Package last updated on 14 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts