chroid 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/evm.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chroid",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "CLI wallet for multi-chain support. \nBitcoin (Supporting 3 of 3 MultiSig) \nNative coins and USDT/USDC on Ethereum, Solana, Tron, BSC, Arbitrum, Optimism, Avalanche, Polygon and Base",
5
5
  "main": "index.js",
6
6
  "bin": {
package/utils/evm.js CHANGED
@@ -324,7 +324,7 @@ async function transferUSDC({ address, privateKeyHex }, destination, amount, net
324
324
  );
325
325
 
326
326
  // Get USDC decimals
327
- const decimals = await usdtContract.decimals();
327
+ const decimals = await usdcContract.decimals();
328
328
 
329
329
  // Convert amount to USDC units
330
330
  const amountInUnits = ethers.parseUnits(amount, decimals);