ethers.js

Documentation for ethers.js

Installation

npm install ethers @venly/web3-provider

Initialization

import { ethers } from 'ethers';
import { VenlyProvider } from '@venly/web3-provider';

const Venly = new VenlyProvider();
const options: VenlyProviderOptions = {
  clientId: 'YOUR_CLIENT_ID'
};

const provider = await Venly.createProvider(options);
const ethers = new ethers.providers.Web3Provider(provider);

Last updated