package com.bitnix.dirtcryptostore.util;

import com.bitnix.dirtcryptostore.model.PendingInvoice;

public final class QrPlaceholderUtil {

    private QrPlaceholderUtil() {
    }

    public static String buildBitcoinUri(PendingInvoice invoice) {
        return "bitcoin:" + invoice.getWalletAddress() + "?amount=" + TimeUtil.formatBtcRaw(invoice.getAmountSats());
    }
}
