Skip to content

How to enable Goerli testnet? #92

Closed Answered by chybisov
b-pmcg asked this question in Q&A
May 24, 2023 · 7 comments · 3 replies
Discussion options

You must be logged in to vote

@b-pmcg Hi 🙂 You need to set the dev environment API URL to see testnets:

const widgetConfig: WidgetConfig = {
  // ...
  sdkConfig: {
    apiUrl: 'https://develop.li.quest/v1',
  },
};

Also, I tested your setup with allow tokens option, and because this property has a bit different use-case (allow certain tokens from our token list, not adding new to it) types are messed up and you will get an error. I'll try to see how to handle your use-case better, and in the meanwhile, please pass more complete information about the tokens to the config e.g.:

const widgetConfig: WidgetConfig = {
  // ...
  tokens: {
    allow: [
      {
        address: '0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844',

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@chybisov
Comment options

@irina1948
Comment options

@Corun0x
Comment options

Answer selected by chybisov
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants