2.0.0-develop.7 • Published 1 year ago

@davidzwfu/wagmi-connector v2.0.0-develop.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@venly/wagmi-connector

Venly connector for wagmi

Setup (wagmi v2)

Install version 2.x of @venly/wagmi-connector

npm i @venly/wagmi-connector@latest

Configure your desired chains and Venly options

import { createConfig } from 'wagmi'
import { mainnet, sepolia } from 'wagmi/chains'
import { venly } from '@venly/wagmi-connector'

const config = createConfig({
  chains: [mainnet, sepolia],
  connectors: [
    venly({
      clientId: 'YOUR_CLIENT_ID', // https://docs.venly.io/widget/deep-dive/authentication#client-id
      environment: 'sandbox', // optional, defaults to production
    }),
  ],
  // other options...
})

Setup (wagmi v1)

Install version 1.x of @venly/wagmi-connector

npm i @venly/wagmi-connector@1

Configure your desired chains and VenlyConnector options

import { createConfig, configureChains, mainnet } from 'wagmi'
import { publicProvider } from 'wagmi/providers/public'
import { VenlyConnector } from '@venly/wagmi-connector'

const { chains, publicClient } = configureChains(
  [mainnet],
  [publicProvider()],
)

const config = createConfig({
  connectors: [
    new VenlyConnector({
      chains,
      options: {
        clientId: 'YOUR_CLIENT_ID', // https://docs.venly.io/widget/deep-dive/authentication#client-id
        environment: 'sandbox', // optional, defaults to production
      },
    }),
  ],
  publicClient,
  autoConnect: true,
})

Setup (wagmi v0)

Install version 0.x of @venly/wagmi-connector

npm i @venly/wagmi-connector@0.1

Configure your desired chains and VenlyConnector options

import { configureChains, createClient } from 'wagmi'
import { goerli, mainnet } from 'wagmi/chains'
import { publicProvider } from 'wagmi/providers/public'
import { VenlyConnector } from '@venly/wagmi-connector'

const { chains, provider } = configureChains(
  [goerli, mainnet],
  [publicProvider()],
)

export const client = createClient({
  connectors: [
    new VenlyConnector({
      chains,
      options: {
        clientId: 'YOUR_CLIENT_ID', // https://docs.venly.io/widget/deep-dive/authentication#client-id
        environment: 'sandbox', // optional, defaults to production
      },
    }),
  ],
  provider,
  autoConnect: true,
})

What is Venly Wallet

Not sure yet what Venly is all about? Be sure to check out our website: https://www.venly.io/

2.0.0-develop.6

1 year ago

2.0.0-develop.7

1 year ago

2.0.0-develop.4

1 year ago

2.0.0-develop.5

1 year ago

2.0.0-develop.2

1 year ago

2.0.0-develop.3

1 year ago

2.0.0-develop.1

1 year ago

1.2.0

2 years ago

3.0.0-v1.14

2 years ago

3.0.0-v1.15

2 years ago

3.0.0-v1.16

2 years ago

3.0.0-v1.17

2 years ago

3.0.0-v1.0

2 years ago

2.1.4-develop.0

2 years ago

3.0.0-v1.10

2 years ago

3.0.0-v1.3

2 years ago

3.0.0-v1.11

2 years ago

3.0.0-v1.4

2 years ago

3.0.0-v1.12

2 years ago

3.0.0-v1.1

2 years ago

3.0.0-v1.13

2 years ago

3.0.0-v1.2

2 years ago

3.0.0-v1.7

2 years ago

3.0.0-v1.8

2 years ago

3.0.0-v1.5

2 years ago

3.0.0-v1.6

2 years ago

3.0.0-v1.9

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.0-develop.3

2 years ago

1.1.0-develop.2

2 years ago

1.1.19

2 years ago

1.1.0-develop.1

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

2.1.3-develop.0

2 years ago

3.0.0-v1

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.24

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