Skip to content

PortCodex frequently asked questions

What the product does today, what it does not do yet and how it treats each operation. If your question is missing, write to us from support.

What is PortCodex?

An app that brings your crypto wallets together, keeps their books current and works out their tax position in Spain. It reads the history of your public addresses, values every movement in euros and calculates your capital gains and losses with lot-based FIFO. The result is indicative and does not replace a tax advisor.

Do I have to hand over my private keys?

No. We only need public addresses, and access is read-only. We will never ask for private keys or seed phrases, or for you to connect your wallet or sign anything.

Which networks do you read?

History and balances on Bitcoin, Solana, Ethereum, Arbitrum, Base, Polygon and BNB Chain. On HyperEVM we only read ProjectX positions.

Which DeFi positions do you read?

On the EVM networks where they are deployed, Aave v3 loans and Uniswap v3 and PancakeSwap v3 liquidity; ProjectX liquidity on HyperEVM; and on Solana, Kamino, Orca, Meteora and Jupiter Lend positions. We read them straight from the contract or from the protocol’s public API. V3 pool fees, Aave v3 interest and the rewards from Lido (stETH) and native Solana staking are detected on their own; other staking rewards are recorded from Portfolio. Other protocols are not read as positions yet.

What about my exchanges?

We do not read exchanges automatically. You can add their balance by hand, choosing each one when you create the position, with its acquisition date and total cost: it counts for Modelo 721 and the wealth taxes on 31 December of every year you held it (also in a closed tax year, although with a snapshot of that year end from before PortCodex told what is read on-chain apart from what is added by hand it may be left out, and Tax says so. For the wealth taxes, without a snapshot of what is read on-chain at that year end, only if what you added by hand already exceeds the threshold). If you move a balance from the exchange to a wallet you also have here, record the withdrawal on the exchange as “Transfer to a wallet of your own” so it is not counted twice: it is not a sale and the cost is kept. What happened inside the exchange does not show in PortCodex.

Which method do you use to work out gains?

Lot-based FIFO: the units bought first are treated as sold first. All units of the same asset form a single queue per holder, whatever wallet they sit in. It is the method the DGT applies to cryptocurrencies, which it treats as homogeneous (rulings V0999-18 and V1550-25, among others).

Is swapping one crypto for another taxable?

Yes. A crypto-to-crypto swap is a capital gain or loss from a disposal (art. 37.1.h of the Income Tax Act), even if no euros move. PortCodex calculates it on the side you give, consuming its lots with FIFO, and opens a new lot for the token you receive.

How do you treat staking, lending and pool rewards?

As investment income in the savings base, at full euro value on the day received. The fees you collect from a V3 pool, Aave v3 interest and the rewards from Lido (stETH) and native Solana staking are detected on their own; the rest are, for now, recorded from Portfolio. Each reward creates a lot with that cost, so it is not reported twice when you sell it later. Depositing and withdrawing the principal is not taxed.

What about airdrops?

An airdrop is a capital gain not arising from a disposal and goes to the general base, at market value on receipt. PortCodex calculates it that way when you mark the deposit as an airdrop and it has a price. With no price it does not value it at zero: it stays out of the calculation and is flagged.

Do you file my return for me?

No. PortCodex gives you a PDF tax report with the year’s operations, how each is classified and the base it falls in, to carry into your return or hand to your advisor. You can also download a net worth report. You or your advisor file the return.

I am an advisor. Can I manage my clients?

Yes. You create your firm and your clients invite it with your firm's code, or accept the invitation you send them; they choose whether you can manage or only view. You see each client’s portfolio and inbox to review their movements, and the client can withdraw your access whenever they like.

What does PortCodex not cover yet?

It does not read exchanges automatically (their balance is added by hand), does not work out tax for countries other than Spain, and does not file any return or produce the submission file for any tax form: the Modelo 100 comes broken down by box to carry over to your return or take to your advisor, and Modelos 721, 714 and 718 are estimates from the balances in your portfolio on 31 December. Liquidity pool deposits are not computed as swaps, because there is no official ruling; if your advisor applies that view, it must be calculated separately. NFTs, derivatives, salaries or payments received in crypto, card spending and donations are not classified yet. It does not calculate the tax payable.

Does it work if I am not resident in Spain?

Not for tax: as of October 2026, PortCodex only calculates Spanish tax, designed for Spanish tax residents who file personal income tax. If you file in another country you can use the portfolio, but the tax calculation does not follow your rules.

How much does it cost?

Nothing, as of October 2026: PortCodex is in a free private beta. Before any charge starts, the plans and their prices will be published, and nobody will pay anything without expressly agreeing to it. See the pricing page

Can I start now?

Only by invitation: as of October 2026, PortCodex is in private beta. Join the waiting list and we will let you know when a place opens up.

For the cases with more nuance, read the tax guides.

Request beta access

Private beta

Still have a question? Join the beta

PortCodex is in private beta, by invitation. Leave your email and we will write to you when there is room for your portfolio. If your question is not here, you can ask it through support.

One email when there is room. No newsletters. You can ask us to delete it at any time.