I'd also recommend browsing the BitcoinJ Project:
https://bitcoinj.github.io/It's Java... but seems to have tips for JavaScript devs as well.
Are you wanting to build a full wallet from scratch for any particular reason? (ie. The challenge, learning something new etc?) or were you just unaware that there are a lot of pre-existing libraries and frameworks that you could leverage to incorporate wallet functionality into your project?
Thank you for kindly sharing.
Im researching atm .
I know only ordinary Bitcoin and Blockchain information .
Me and my friend we can decode transaction data now - step by step we are improving self .
We don't want to use any 3rd party library or coding if possible . We have not any experience about it we have only hopes we can understand all well and we can improve our wallet project .
Thank you again for your sharing.