1.4.16 β€’ Published 1 month ago

@loopring-web/web3-provider v1.4.16

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

license

type-badge

πŸš€ Quick Start

// with yarn
yarn install @loopring-web/web3-provider

πŸ›’ Support Provider

  • Metamask
  • WallectConnet
  • Coinbase
  • GameStop Wallet

πŸͺ§Demo

Configuration

env.product

  • React .env.${DOMAIN}
# Get your projectId at https://cloud.walletconnect.com
REACT_APP_WALLET_CONNECT_V2_ID=""
REACT_APP_RPC_URL_1=https://mainnet.eth.loopring.io
REACT_APP_RPC_URL_5=https://goerli.infura.io/v3/b951a403f3d3426fb2008c6923254dbc
#self-rely
#REACT_APP_WALLET_CONNECT_WSS_BRIDGE
#REACT_APP_WALLET_CONNECT_PING
#legacy walletConnect V1
#REACT_APP_WALLET_CONNECT_BRIDGE=https://wcbridge.loopring.io
#REACT_APP_WALLET_CONNECT_PING=https://wcbridge.loopring.io/hello
  • Vue .env.${DOMAIN}
# Get your projectId at https://cloud.walletconnect.com
VUE_APP_WALLET_CONNECT_V2_ID=""
VUE_APP_RPC_URL_1=https://mainnet.eth.loopring.io
VUE_APP_RPC_URL_5=https://goerli.infura.io/v3/b951a403f3d3426fb2008c6923254dbc
#self-rely
#VUE_APP_WALLET_CONNECT_WSS_BRIDGE
#VUE_APP_WALLET_CONNECT_PING
#legacy walletConnect V1
#VUE_APP_WALLET_CONNECT_BRIDGE=https://wcbridge.loopring.io
#VUE_APP_WALLET_CONNECT_PING=https://wcbridge.loopring.io/hello
 /*DEFAULET is "REACT_APP_" */
ConnectProvides.APP_FRAEWORK = "VUE_APP_";
  • Network extension
# ${APP_FRAEWORK}RPC_URL_OTHERS
REACT_APP_RPC_OTHERS=${NETWORK_ID1},${NETWORK_ID2}
REACT_APP_RPC_URL_${NETWORK_ID1}=https://xxxx
REACT_APP_RPC_URL_${NETWORK_ID2}=https://xxxx
REACT_APP_RPC_CHAINNAME_${NETWORK_ID1}=xxxx
REACT_APP_RPC_CHAINNAME_${NETWORK_ID2}=xxxx
REACT_APP_WALLET_CONNECT_WSS_BRIDGE
REACT_APP_WALLET_CONNECT_PING
...

webpack

// babelLoader.include = [
//     babelLoader.include,
//     path.resolve(__dirname, "../../node_modules/@walletconnect"),
//     path.resolve(__dirname, "../../node_modules/@web3modal"),
// ];
config.module.rules = [
  ...
    {
      test: /\.(js|mjs|jsx|ts|tsx)$/,
      include: [
        ...
          // add node_modules/@walletconnect and node_modules/@web3modal to babelLoader rules  
          path.resolve(__dirname, "../../node_modules/@walletconnect"),
        path.resolve(__dirname, "../../node_modules/@web3modal"),
      ],
      ...
    },
  ...
]

πŸ‘‰ What is Loopring?

πŸ«‚ Community

πŸ‘Ί 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

❓Help

πŸ”‘ Security

Release Process

alpha.loopring.io, beta.loopring.io, static.loopring.io, and loopring.io are now auto deployed using Vercel.

Error Code

700002: Global ethereum is not Coinbase, Please disable other Wallet Plugin 700003: Unknown 700004: User not installed GameStop extension 700202: wallet switch Ethereum Chain is not allowed 700201: user manually closed walletConnect modal, Connection request reset. Please try again

1.4.16

1 month ago

1.4.15-sepolia-1

2 months ago

1.4.16-dev-3

2 months ago

1.4.16-dev-2

2 months ago

1.4.16-dev-1

2 months ago

1.4.15

5 months ago

1.4.14

5 months ago

1.4.6

10 months ago

1.4.5

10 months ago

1.4.4

10 months ago

1.4.3

10 months ago

1.4.2

10 months ago

1.4.8-test1

6 months ago

1.4.8-test2

6 months ago

1.4.9

10 months ago

1.4.11

10 months ago

1.4.8

10 months ago

1.4.10

10 months ago

1.4.7

10 months ago

1.4.13

9 months ago

1.4.12

9 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.3.10

12 months ago

1.3.13

11 months ago

1.3.14

11 months ago

1.3.11

11 months ago

1.3.12

11 months ago

1.3.17

11 months ago

1.3.18

11 months ago

1.3.15

11 months ago

1.3.16

11 months ago

1.3.19

11 months ago

1.3.20

11 months ago

1.3.21

11 months ago

1.3.9

12 months ago

1.3.8

12 months ago

1.3.24

11 months ago

1.3.25

11 months ago

1.3.22

11 months ago

1.3.23

11 months ago

1.3.28

11 months ago

1.3.29

11 months ago

1.3.26

11 months ago

1.3.27

11 months ago

1.3.7

12 months ago

1.3.6

12 months ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.31

11 months ago

1.3.30

11 months ago

1.3.33

11 months ago

1.2.0

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.1.7

1 year ago

1.2.5

1 year ago

1.1.6

1 year ago

1.2.4

1 year ago

1.1.5

1 year ago

1.3.2

1 year ago

1.2.3

1 year ago

1.1.4

1 year ago

1.3.1

1 year ago

1.2.2

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.9

1 year ago

1.1.1

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.19

2 years ago

1.1.0

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.11

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago