Good question, I would also like to have something like that. Later today or tomorrow I'll try to play around and see what I can build.
possible approach would be to use 4 required libs (or some of them if there is no need for all providers):
- https://www.npmjs.com/package/@elrondnetwork/erdjs-hw-provider
- https://www.npmjs.com/package/@elrondnetwork/erdjs-web-wallet-provider
- https://www.npmjs.com/package/@elrondnetwork/erdjs-wallet-connect-provider
- https://www.npmjs.com/package/@elrondnetwork/erdjs-extension-provider
sometimes there could be node js dependencies, then you would need to use some tooling to make them work in browsers as standard scripts, modern javascript bundlers like esbuild should handle that, browserify should also do
of course there is also erdjs from which you will probably need some helper tools
Good question, I would also like to have something like that. Later today or tomorrow I'll try to play around and see what I can build. possible approach would be to use 4 required libs (or some of them if there is no need for all providers): - https://www.npmjs.com/package/@elrondnetwork/erdjs-hw-provider - https://www.npmjs.com/package/@elrondnetwork/erdjs-web-wallet-provider - https://www.npmjs.com/package/@elrondnetwork/erdjs-wallet-connect-provider - https://www.npmjs.com/package/@elrondnetwork/erdjs-extension-provider sometimes there could be node js dependencies, then you would need to use some tooling to make them work in browsers as standard scripts, modern javascript bundlers like esbuild should handle that, browserify should also do of course there is also erdjs from which you will probably need some helper tools