@bolt-liquidity-hq/cosmwasm-client 0.1.0-beta.3 → 0.1.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install @bolt-liquidity-hq/cosmwasm-client
11
11
  ## Usage
12
12
 
13
13
  ```typescript
14
- import { BoltCosmWasmClient, Environment } from '@bolt-liquidity-hq/cosmwasm-client';
14
+ import { BoltCosmWasmClient } from '@bolt-liquidity-hq/cosmwasm-client';
15
15
 
16
16
  // Initialize client
17
17
  const client = new BoltCosmWasmClient();
@@ -24,7 +24,7 @@ const price = await client.getPrice(
24
24
  console.log(`ARCH/USDC: ${price.price}`);
25
25
 
26
26
  // Execute a swap
27
- const result = await client.swapExactIn(signer, {
27
+ const result = await client.swap(signer, {
28
28
  assetIn: 'aarch',
29
29
  amountIn: '1000000000000000000', // 1 ARCH
30
30
  assetOut: 'ibc/43897B9739BD63E3A08A88191999C632E052724AB96BD4C74AE31375C991F48D', // USDC