@web3-onboard/core
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@web3-onboard/core", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "rollup -c", |
@@ -18,3 +18,4 @@ # @web3-onboard/core | ||
- MEW wallet currently fails to install on M1 macs | ||
- All wallet modules (except for `injected-wallets`) require extra dependencies and may require polyfilling the node built in modules for the browser. See the [Build Environments](##build-environments) section for more info | ||
- All wallet modules (except for `injected-wallets`) require extra dependencies and may require polyfilling the node built in modules for the browser. See the [Build Environments](#build-environments) section for more info | ||
- **If using React** you may be interested in checking out the React Hooks package here - https://www.npmjs.com/package/@web3-onboard/react | ||
@@ -111,15 +112,33 @@ ## Initialization | ||
label: 'Ethereum Mainnet', | ||
rpcUrl: ETH_MAINNET_RPC | ||
rpcUrl: `https://mainnet.infura.io/v3/${INFURA_ID}` | ||
}, | ||
{ | ||
id: '0x3', | ||
token: 'tROP', | ||
label: 'Ethereum Ropsten Testnet', | ||
rpcUrl: `https://ropsten.infura.io/v3/${INFURA_ID}` | ||
}, | ||
{ | ||
id: '0x4', | ||
token: 'rETH', | ||
label: 'Ethereum Rinkeby Testnet', | ||
rpcUrl: ETH_RINKEBY_RPC | ||
rpcUrl: `https://rinkeby.infura.io/v3/${INFURA_ID}` | ||
}, | ||
{ | ||
id: '0x38', | ||
token: 'BNB', | ||
label: 'Binance Smart Chain', | ||
rpcUrl: 'https://bsc-dataseed.binance.org/' | ||
}, | ||
{ | ||
id: '0x89', | ||
token: 'MATIC', | ||
label: 'Matic Mainnet', | ||
rpcUrl: MATIC_MAINNET_RPC | ||
rpcUrl: 'https://matic-mainnet.chainstacklabs.com' | ||
}, | ||
{ | ||
id: '0xfa', | ||
token: 'FTM', | ||
label: 'Fantom Mainnet', | ||
rpcUrl: 'https://rpc.ftm.tools/' | ||
} | ||
@@ -130,2 +149,3 @@ ], | ||
icon: myIcon, // svg string icon | ||
logo: myLogo, // svg string logo | ||
description: 'Swap tokens for other tokens', | ||
@@ -132,0 +152,0 @@ recommendedInjectedWallets: [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
212450
5859
565