@riftresearch/sdk 0.4.2 → 0.5.0

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
@@ -46,7 +46,6 @@ const { quote, executeSwap } = await sdk.getQuote({
46
46
  to: Currencies.Bitcoin.BTC,
47
47
  amount: '100000000', // 100 USDC (6 decimals)
48
48
  mode: 'exact_input',
49
- destinationAddress: 'bc1q...',
50
49
  })
51
50
 
52
51
  console.log(`Swapping ${quote.from.amount} USDC for ${quote.to.amount} sats`)
@@ -54,6 +53,7 @@ console.log(`Fees: $${quote.fees.totalUsd.toFixed(2)}`)
54
53
 
55
54
  // Execute the swap
56
55
  const swap = await executeSwap({
56
+ destinationAddress: 'bc1q...',
57
57
  publicClient,
58
58
  walletClient,
59
59
  sendBitcoin: async ({ recipient, amountSats }) => {