cosmjs
cosmjs copied to clipboard
The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
How to get the current price of a currency?
This change introduces parallel implementations of queryVerified and queryUnverified that return an object containing both the value and the height it was found at. This would allow us at Agoric...
Hey cosmjs team. I can not find any method to validate string as a wallet address programmatically. There is this function in faucet https://github.com/cosmos/cosmjs/blob/79396bfaa49831127ccbbbfdbb1185df14230c63/packages/faucet/src/addresses.ts#L3 but it can not be imported....
I want to implement transaction of Osmosis through programming, For example: I have 2,000 JUNO tokens. I want to swap 1,000 JUNO tokens to OMOS tokens, and set the Slippage...
Implementation for ~https://github.com/CosmWasm/wasmd/issues/942~ https://github.com/CosmWasm/wasmd/pull/1014. The output is available here: https://gist.github.com/webmaster128/e4d401d414bd0e7e6f70482f11877fbe
Hi, I am looking to extract the vesting data from a given address. For that i came across with this way. > ``` const wallet = 'cosmos1fgzk5kruvxk7wceyjm2nqjk0jpt23lcp9flgqd'; const queryClientAuth =...
apparently most public RPCs turn of transaction indexing. it's on by default in config.toml (per node setting) I was using the https://cosmos.directory/ proxy (which proxies available chain-registry endpoints) If you...
I create a new module using Ignite CLI that requires multi-signature. My module only has **direct message types**. So I copy file https://github.com/cosmos/cosmjs/blob/main/packages/stargate/src/multisignature.ts#L58 and create my own makeMultisignedTx with SignMode.SIGN_MODE_DIRECT,...
TypeError: this.registry.encode is not a function at SigningStargateClient.signDirect (/Users/suanjie/Documents/Projects/NodeJS/Cosmos/atom_cosmjs/node_modules/_@[email protected]@@cosmjs/stargate/build/signingstargateclient.js:242:43) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async SigningStargateClient.signAndBroadcast (/Users/suanjie/Documents/Projects/NodeJS/Cosmos/atom_cosmjs/node_modules/_@[email protected]@@cosmjs/stargate/build/signingstargateclient.js:167:23)
It's time! Ethereum and Solana already did. 😃