Use Universal Provider with TRON #4434
Unanswered
kandrukKV
asked this question in
Developer Support
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, friends!
I'm trying to use @walletconnect/universal-provider to connect to the network TRON.
I managed to connect via web3Modal and Trust.
`async connect() {
Now I want to get at least some information from
const web3Provider = new ethers.providers.Web3Provider(this.universalProvider)
console.log('web3Provider', await web3Provider.listAccounts())
But I keep seeing a mistake: TypeError: Cannot read properties of undefined (reading 'getDefaultChain')
Please tell me what can be done to make it work?
Beta Was this translation helpful? Give feedback.
All reactions