redefined : Connect
WebsiteSupport
  • >_ introduction
    • Overview
      • Why redefined?
      • Use Cases
      • FAQ
  • >_ User Starter Guide
    • How does it work ?
      • Interact from any chain
      • Username registration
      • Email registration
      • Manage
      • Send
      • Referral
  • >_ Dev Integration Guide
    • Showcase
    • redefined API
      • Introduction
      • Resolve Usage
      • Reverse Resolve Usage
      • Migration from expiresAt to fetchedAt (optimistic results)
    • redefined SDK
      • Usage
      • Customization
      • Set your own Node URLs
    • redefined Widget
      • Usage
      • Customization
    • Supported networks
    • Supported providers
    • Add your own Custom Resolver
  • >_ Links
    • Website
    • Brand Kit
    • Medium
    • Substack
    • Audit
    • Discord
    • Twitter
    • Telegram
Powered by GitBook
On this page
  • Reference
  • Set your Nodes
  • Init with params
  1. >_ Dev Integration Guide
  2. redefined SDK

Customization

We are committed to continuous improvement

Reference

export type EnsParams = { node: string };
export type UnstoppableParams = { mainnetNode?: string, polygonMainnetNode?: string };
export type RedefinedParams = { node?: string, allowDefaultEvmResolves?: boolean };
export type SidParams = { bscNode: string, arbitrumOneNode: string };
export type BonfidaParams = { cluster: string };
export type LensParams = { apiUrl: string };

export type ResolversParams = {
    redefined?: RedefinedParams,
    unstoppable?: UnstoppableParams,
    ens?: EnsParams,
    sid?: SidParams,
    bonfida?: BonfidaParams,
    lens?: LensParams,
}

Set your Nodes

Init with params

const resolver = new RedefinedResolver({
      resolvers: RedefinedResolver.createDefaultResolvers({
        // specify only params that you want to change
        redefined: {
          node: "https://evm.node.io/123",
          allowDefaultEvmResolves: false
        },
        // uncomment if you want to specify params for ens, otherwise defaults used
        // ens: { node: "https://evm.node.io/123abc" }
      })
});
PreviousUsageNextSet your own Node URLs

Last updated 1 year ago

Documented

here.