Sold jailbroken 3gs, buying iphone4, how can i get my jb'd apps?

I'm sure this has been asked before but I did a search and couldn't find anything.

Aside from the fact that i'll have to wait for a 4.1jb to be available, how can I get the apps that I paid for on to my new phone?
App should be linked to an account, amazon, Facebook and etc. After linking your new phone with the account, just freely download the app again on your the phone.
Now how do I remove that link from cydia right now before I sale my 3gs? I don't want anybody to be able to buy apps using my account.
Pretty sure, you have to enter your account information each time you on new orders and reinstall. Thus, shouldn't be an issue unless they know your account name and password.
Another question, I went to Settings, General, Reset, Reset settings and erase data. It has now been at the apple logo for 45 minutes. How long does this take?
Another question, I went to Settings, General, Reset, Reset settings and erase data. It has now been at the apple logo for 45 minutes. How long does this take?
"Erase all contents..." means it erase everything off the phone, including OS, JB, unlock and so on. At the end, phone going to be stuck in recovery mode. You will need to restore the phone.
AWWWWW piss!
DOH! (Homer voice)

Original thread: https://forums.imore.com/threads/sold-jailbroken-3gs-buying-iphone4-how-can-i-get-my-jbd-apps.197710/