Wallets
Torus
Wallet module for connecting Torus wallet to Web3 Onboard
Install
- Yarn
- Npm
Options
See the Torus Docs for the extensive list of options
Usage
Build Environments
For other build env configurations and setups please see the Build Env section here
Webpack 4
Node built-ins are automatically bundled in v4 so that portion is handled automatically.
Torus support will require a Babel to compile from es6 if not already supported. See config for Babel and Webpack4 as follows
npm i --save-dev @babel/cli @babel/core @babel/node @babel/plugin-proposal-nullish-coalescing-operator @babel/plugin-proposal-optional-chaining @babel/plugin-syntax-bigint @babel/register
AND
npm i babel-loader
babel.config.js
webpack.config.js
Build Environments
For build env configurations and setups please see the Build Env section here