-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Web3Utils #29
base: master
Are you sure you want to change the base?
Web3Utils #29
Conversation
Instead of the This makes no difference when used as it currently is (as the // Working as usual, but not tree-shakable:
import { Web3Utils} from '@nimiq/utils';
// Also working, AND is tree-shakable:
import * as Web3Utils from '@nimiq/utils/dist/module/web3-utils/Web3Utils'; Granted, the import path is not great yet. Having to write the whole path to |
8a0390d
to
7295d8d
Compare
87a7d3f
to
4c0a28d
Compare
Provide web3 utilities to work with in-browser web3 providers such as MetaMask and Opera Wallet.
Includes a demo page to test it.