Manual Setup

Get Started

Developers can resolve web3 domain name or reverse resolve conventional address with Web3 Name SDK with zero configuration.

Install

npm install @web3-name-sdk/core viem@^1.20

If you are using next.js, please add the following configuration in your next.config.js in order to transpile commonjs dependencies:

const nextConfig = {
  transpilePackages: ['@web3-name-sdk/core'],
}

Setup client

import { createWeb3Name } from '@web3-name-sdk/core'

const web3name = createWeb3Name()

Last updated