It sounds like you’re leaning towards the contract role.
The first one seems more stable, and may be a better option if you have some debt to pay off or a mortgage.
However, working full remote has some additional perks that you’d have to factor in.
The important thing is getting some experience.
Is the second one just a 6 month contract, or potentially contract to hire or maybe another contract? If you have to job hunt again in 6 months, you need to factor that in to your decision as well.