It's been said that pretty much everything you do in game, from cataloging new creatures, piracy, resource mining/trading, etc. will earn you credits.
Now, some may be more time-efficient than others. We don't know how these things are going to be balanced yet. That's the kind of thing nobody's going to know until it's actually out.