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
  1. >_ Dev Integration Guide
  2. redefined SDK

Set your own Node URLs

We are committed to continuous improvement

We recommend you use your own JSON RPC URLs, especially for production: this will improve the availability of service and will lower the load on our public nodes.

Pass node URLs on init

const options: ResolversParams = {
  redefined: {
      node: "https://evm.node.io/123abc",
  },
  unstoppable: {
      mainnetNode: "https://evm2.node.io/123abc",
      polygonMainnetNode: "https://evm-polygon.node.io/123abc",
  },
  ens: {
    node: "https://evm.node.io/123abc",
  },
  sid: {
    bscNode: "https://bsc.node.io/123abc",
    arbitrumOneNode: "https://arb.node.io/123abc",
  },
  bonfida: {
    cluster: "https://rpc.ankr.com/solana",
  },
  lens: {
    apiUrl: "https://api.lens.dev", // current lens api
  },
}

const resolver = new RedefinedResolver({
      resolvers: RedefinedResolver.createDefaultResolvers(options)
});
PreviousCustomizationNextredefined Widget

Last updated 1 year ago