A quick question. I used web3js lib to create an app in which a user can create his own account and also a wallet. My question is is that wallet can be used only with the ethereum coin transfer or can I use to store or transfer btc as well?
Asked
Active
Viewed 1,456 times
1 Answers
1
web3.js is strictly Ethereum specific library. It shares some of the cryptographic library dependencies with Bitcoin, but if you plan to create a non-custodial Bitcoin wallet there are better JavaScript libraries as starting points out there.

Mikko Ohtamaa
- 82,057
- 50
- 264
- 435
-
2"better JavaScript libraries" such as? – galki Apr 22 '20 at 10:51
-
Bitcoin has its dedicated StackExchange. Try there of StackOverflow.com if you have a question. – Mikko Ohtamaa Apr 22 '20 at 13:34
-
1@galki for multichain support I think Trust Wallet Core would be good, it has wasm for browser environment https://github.com/trustwallet/wallet-core – Maksim Shamihulau Jul 07 '23 at 09:46