To record your revenue, in the SALES RECEIPT, Input Customers name and other details. Under the PRODUCT/SERVICE , input example CRYPTO INCOME then click add as ...
Use JOURNAL ENTRY to derocognize first the outstanding loan, and record gain or loss. Then thru Journal Entry again record the proceeds from loan refinancing