docs icon indicating copy to clipboard operation
docs copied to clipboard

How can Dapps get custom endpoint URL from Polkadotjs ?

Open AuroraLantean opened this issue 10 months ago • 4 comments

My Dapp node url is currently localhost:9911 hardcoded. How can my Dapp get that URL from Polkadotjs ?

AuroraLantean avatar Apr 01 '24 14:04 AuroraLantean

there is a custom endpoint under Development

image

shawntabrizi avatar Apr 01 '24 16:04 shawntabrizi

@shawntabrizi Thanks. How can my Dapp get such endpoint from Polkadot.js ?

AuroraLantean avatar Apr 02 '24 07:04 AuroraLantean

I don't understand your question. Can you be more explicit or descriptive?

shawntabrizi avatar Apr 02 '24 15:04 shawntabrizi

@shawntabrizi Our Substrate team is building a new blockchain and a Dapp with a custom endpoint URL. The Dapp does not know that URL, so we need the Dapp to get that URL from PolkadotJS wallet. Thanks

AuroraLantean avatar Apr 02 '24 16:04 AuroraLantean