Loopring web3-provider
A lite tool to connect web extension & Dapp
Open source and free use


🚀 Quick Start
// with yarn
yarn install @loopring-web/web3-provider
🛒 Support Provider
- Metamask
- WallectConnet
- Coinbase
- GameStop Wallet
🪧Demo
Configuration
env.product
REACT_APP_RPC_URL_1=https://mainnet.eth.loopring.io
REACT_APP_RPC_URL_5=https://goerli.infura.io/v3/b951a403f3d3426fb2008c6923254dbc
REACT_APP_WALLET_CONNECT_BRIDGE=https://wcbridge.loopring.io
REACT_APP_WALLET_CONNECT_PING=https://wcbridge.loopring.io/hello
VUE_APP_RPC_URL_1=https://mainnet.eth.loopring.io
VUE_APP_RPC_URL_5=https://goerli.infura.io/v3/b951a403f3d3426fb2008c6923254dbc
VUE_APP_WALLET_CONNECT_BRIDGE=https://wcbridge.loopring.io
VUE_APP_WALLET_CONNECT_PING=https://wcbridge.loopring.io/hello
ConnectProvides.APP_FRAEWORK = "VUE_APP_";
# ${APP_FRAEWORK}RPC_URL_OTHERS
REACT_APP_RPC_URL_OTHERS=${NETWORK_ID1},${NETWORK_ID2}
REACT_APP_RPC_URL_${NETWORK_ID1}=https://xxxx
REACT_APP_RPC_URL_${NETWORK_ID2}=https://xxxx
...
webpack
config.module.rules = [
...
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
include: [
...
path.resolve(__dirname, "../../node_modules/@walletconnect"),
path.resolve(__dirname, "../../node_modules/@web3modal"),
],
...
},
...
]
👺 For Developer
- We appreciate any improvements or initiatives for Loopring Layer2 website, please view the source code in
./packages/component-lib
.
- The project contains a separate lib "web3-provider", which is a third-party ETH web3 wallet provider service (wallectConnect & metamask),
- You are welcome to reuse it or integrate your provider service with our website.
- Feel free to leave suggestions or ideas.
📒 API & SDK
🙋 Protocol & Architecture
🔑 Security
Release Process
alpha.loopring.io, beta.loopring.io, static.loopring.io, and loopring.io are now auto deployed using Vercel.