//
//  WalletUtils.cpp
//  jsi-rn-wallet-core
//
//  Created by Oscar on 24.03.22.
//

#include "WalletUtils.hpp"
#include <regex>

using namespace std;

TWCoinType getTypeForCoinString(string coinName)
{
  // @alex What other types NEED to be supported
  if (coinName == "ethereum")
    return TWCoinTypeEthereum;
  if (coinName == "cosmos")
    return TWCoinTypeCosmos;

  throw invalid_argument("Coin not supported");
}
